Created
July 16, 2011 12:31
-
-
Save mbailey/1086308 to your computer and use it in GitHub Desktop.
cap deprec:db:backup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mbailey@island gs (master)]$ cap deprec:db:backup | |
triggering load callbacks | |
* executing `deprec:connect_canonical_tasks' | |
triggering start callbacks for `deprec:mysql:backup' | |
* executing `multistage:ensure' | |
*** Defaulting to `uat' | |
* executing `uat' | |
* executing `deprec:mysql:backup' | |
* executing "cd /srv/gemstalker/current && RAILS_ENV=production bundle exec rake deprec:db:backup" | |
servers: ["uat.int.failmode.com"] | |
[uat.int.failmode.com] executing command | |
** [out :: uat.int.failmode.com] mysqldump -u root gemstalker_production -Q --add-drop-table -O add-locks=FALSE -O lock-tables=FALSE | gzip -c > db/backups/production-20110716-223011.sql.gz | |
** [out :: uat.int.failmode.com] Created backup: db/backups/production-20110716-223011.sql.gz | |
** [out :: uat.int.failmode.com] Deleted 0 backups, 3 backups available | |
command finished in 9040ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment