I'd like to only allow backups to S3 to conserve server space. I see no way to delete the default directories at admin/content/backup_migrate/destination. If I manually delete the folder it is automatically deleted.

Comments

ronan’s picture

It's very important to me that this module is easy to use the first time you install it. As I add features and complexity I have to strike a balance between flexibility for power users and ease-of-use for new users. That's why I provide the manual and scheduled locations by default and why I don't allow them to be deleted.

I will try and find a way to allow advanced users to disable these without causing confusion or raising the learning curve.

Thanks
Ronan

ronan’s picture

Status: Active » Fixed

Ok, I came up with a solution. I've added a variable called 'backup_migrate_allow_backup_to_file' which, if false, will get rid of the default backup destinations and not allow the creation of new disk destinations. There's no UI, so you'll have to add the following to your settings.php:

$conf = array(
  'backup_migrate_allow_backup_to_file' => FALSE,
);

I've also added one called backup_migrate_allow_backup_to_download. You can imagine what that one does.

Hope this helps you achieve what you're looking for.

Ronan

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.