image link to hive image link to ko-fi

Drupal notes: backup process with drush

posted on: Thursday, 27 September 2012 @ 11:11pm in

There’s probably a script for this. Or maybe drush is the script. Is all good, some things are done much faster with commandline :)

drush vset maintenance_mode 1 
drush cc all 
drush arb default --destination=../[site]-[date].tar

And if there’s updates to be done:

drush up -y

At the end:

drush vset maintenance_mode 0