Permalink
Browse files

Update rsnapshot config to back up blog.

  • Loading branch information...
theory committed Apr 10, 2012
1 parent 1113bb5 commit c249ac34affeb683b2e9964d37516787b3969811
Showing with 6 additions and 6 deletions.
  1. +2 −2 capfile
  2. +4 −4 config/rsnapshot/rsnapshot.conf
View
@@ -810,12 +810,12 @@ namespace :blog do
namespace :build do
namespace :rsnapshot do
- task :default, :roles => :blog do
+ task :default, :roles => :backup do
sudo 'env DEBIAN_FRONTEND=noninteractive apt-get -y install rsnapshot'
config
end
- task :config, :roles => :blog do
+ task :config, :roles => :backup do
supload 'config/rsnapshot/rsnapshot.conf', '/etc/rsnapshot.conf', :mode => 0644
supload 'config/cron.d/rsnapshot', '/etc/cron.d/rsnapshot', :mode => 0644
supload 'config/rsnapshot/ssh_config', '/root/.ssh/config', :mode => 0600
@@ -226,10 +226,10 @@ backup /var/ localhost/
# Directories _MUST_ have a trailing slash.
-# crocker.kineticode.com
-# backup rsync@crocker:/home/ crocker/
-# backup rsync@crocker:/var/ crocker/
-# backup rsync@crocker:/etc/ crocker/
+# justatheory.com
+backup rsync@justatheory.com:/home/ justatheory.com/
+backup rsync@justatheory.com:/var/ justatheory.com/
+backup rsync@justatheory.com:/etc/ justatheory.com/
# CVS.SOURCEFORGE.NET
#backup_script /usr/local/bin/backup_rsnapshot_cvsroot.sh rsnapshot.cvs.sourceforge.net/

0 comments on commit c249ac3

Please sign in to comment.