drush bam-backupfor drush 7x
Backup the site's database with Backup and Migrate.
bam-backup is a Drush command from the backup_migrate project.backup_migrate
bam-backup has 1 alias/es:
bam-backup accepts 3 argument/s:
source : Optional. The id of the source (usually a database) to backup. Use 'drush bam-sources' to get a list of sources. Defaults to 'db'
destination : Optional. The id of destination to send the backup file to. Use 'drush bam-destinations' to get a list of destinations. Defaults to 'manual'
profile : Optional. The id of a settings profile to use. Use 'drush bam-profiles' to get a list of available profiles. Defaults to 'default'
Backup the default database to the manual backup directory using the default settings.
Backup the database to the scheduled directory using a settings profile called "mysettings"
drush bam-backup db scheduled mysettings
Backup the files directory to the manual directory using the default settings.
drush bam-backup files
comments powered by Disqus