Skip to content

Instantly share code, notes, and snippets.

@millisami
Created October 13, 2012 10:44
Show Gist options
  • Save millisami/3884127 to your computer and use it in GitHub Desktop.
Save millisami/3884127 to your computer and use it in GitHub Desktop.
ubuntu@domU-12-31-38-07-20-3A:~$ sudo backup perform --trigger wordpress_product --config_file /Blog/backup.rb --data-path /tmp --log-path /tmp --tmp-path /tmp
[2012/10/13 10:17:07][warning] ConfigurationError: [DEPRECATION WARNING]
[2012/10/13 10:17:07][warning] Backup::Configuration::Storage::S3.defaults is being deprecated.
[2012/10/13 10:17:07][warning] To set pre-configured defaults for Backup::Storage::S3, use:
[2012/10/13 10:17:07][warning] Backup::Storage::S3.defaults
[2012/10/13 10:17:07][warning] ConfigurationError: [DEPRECATION WARNING]
[2012/10/13 10:17:07][warning] Backup::Compressor::Gzip.best has been deprecated as of backup v.3.0.24
[2012/10/13 10:17:07][warning] This setting has been replaced with:
[2012/10/13 10:17:07][warning] Backup::Compressor::Gzip.level
[2012/10/13 10:17:07][warning] Backup::Compressor::Gzip.level is being set to '9'
[2012/10/13 10:17:08][message] Performing Backup for 'wordpress app (wordpress_product)'!
[2012/10/13 10:17:08][message] [ backup 3.0.25 : ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux] ]
[2012/10/13 10:17:08][message] Database::MySQL started dumping and archiving 'wordpress_product_prod'.
[2012/10/13 10:17:08][message] Using Compressor::Gzip for compression.
[2012/10/13 10:17:08][message] Command: '/bin/gzip -9'
[2012/10/13 10:17:08][message] Ext: '.gz'
[2012/10/13 10:17:08][message] Database::MySQL Complete!
[2012/10/13 10:17:08][message] Backup::Archive has started archiving:
[2012/10/13 10:17:08][message] /Shared/Product/Blog
[2012/10/13 10:17:08][message] Using Compressor::Gzip for compression.
[2012/10/13 10:17:08][message] Command: '/bin/gzip -9'
[2012/10/13 10:17:08][message] Ext: '.gz'
[2012/10/13 10:17:20][message] Backup::Archive Complete!
[2012/10/13 10:17:20][message] Packaging the backup files...
[2012/10/13 10:17:20][message] Splitter configured with a chunk size of 250MB.
[2012/10/13 10:17:20][message] Packaging Complete!
[2012/10/13 10:17:20][message] Cleaning up the temporary files...
[2012/10/13 10:17:20][message] Storage::S3 started transferring '2012.10.13.10.17.08.wordpress_product.tar' to bucket 'product-backups'.
[2012/10/13 10:17:26][message] Storage::S3: Cycling Started...
[2012/10/13 10:17:26][error] ModelError: Backup for wordpress app (wordpress_product) Failed!
[2012/10/13 10:17:26][error] An Error occured which has caused this Backup to abort before completion.
[2012/10/13 10:17:26][error] Reason: Errno::ENOENT
[2012/10/13 10:17:26][error] No such file or directory - /tmp/wordpress_product/S3.yml
[2012/10/13 10:17:26][error]
[2012/10/13 10:17:26][error] Backtrace:
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/storage/cycler.rb:80:in `initialize'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/storage/cycler.rb:80:in `open'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/storage/cycler.rb:80:in `yaml_save'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/storage/cycler.rb:30:in `update_storage_file!'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/storage/cycler.rb:17:in `cycle!'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/storage/base.rb:93:in `cycle!'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/storage/base.rb:34:in `perform!'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/model.rb:254:in `each'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/model.rb:254:in `block in perform!'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/model.rb:252:in `each'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/model.rb:252:in `perform!'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/cli/utility.rb:74:in `block in perform'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/cli/utility.rb:65:in `each'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/lib/backup/cli/utility.rb:65:in `perform'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/thor-0.15.4/lib/thor/task.rb:27:in `run'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:120:in `invoke_task'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/thor-0.15.4/lib/thor.rb:275:in `dispatch'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/thor-0.15.4/lib/thor/base.rb:425:in `start'
[2012/10/13 10:17:26][error] /var/lib/gems/1.9.1/gems/backup-3.0.25/bin/backup:11:in `<top (required)>'
[2012/10/13 10:17:26][error] /usr/local/bin/backup:23:in `load'
[2012/10/13 10:17:26][error] /usr/local/bin/backup:23:in `<main>'
[2012/10/13 10:17:26][warning] CleanerError: Cleanup Warning
[2012/10/13 10:17:26][warning] The temporary backup folder '/tmp'
[2012/10/13 10:17:26][warning] appears to contain the backup files which were to be stored:
[2012/10/13 10:17:26][warning] /tmp/2012.10.13.10.17.08.wordpress_product.tar
[2012/10/13 10:17:26][warning]
[2012/10/13 10:17:26][warning] Make sure you check these files before the next scheduled backup for
[2012/10/13 10:17:26][warning] 'wordpress app (wordpress_product)'
[2012/10/13 10:17:26][warning] These files will be removed at that time!
[2012/10/13 10:17:26][message] ModelError: If you have other Backup jobs (triggers) configured to run,
[2012/10/13 10:17:26][message] Backup will now attempt to continue...
[2012/10/13 10:17:26][message] Notifier::Mail started notifying about the process.
ubuntu@domU-12-31-38-07-20-3A:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment