Question

I use the command drush up for sites I store on a shared server & locally.

Within some months my Inode volume vent from about 25% 96% (96% is insane for most people using a shared server on whatever platform) and given the fact I already have 30 days backwards backup service, I don't really need this specific backup creation.

How can you disable the automatic backups created by drush each time drush update is ran?

Was it helpful?

Solution

Yes, use the --no-backup option with your command.

drush --no-backup up myproject

If you're you're looking to make this a default option, you can do something like Bash aliasing and just run that alias instead:

alias drush-no-bup='drush --no-backup'

Then run:

drush-no-bup up myproject
Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top