API support for specifying the backup type

This will permit users to do database-only backups, etc.