Permalink
Browse files

updated readme and example config

  • Loading branch information...
1 parent 9110e64 commit 01847c6d50ab1898d22d689e935aef785f38fb2a @eadz committed Feb 16, 2010
Showing with 9 additions and 1 deletion.
  1. +3 −1 README
  2. +6 −0 config/config-example.rb
View
4 README
@@ -25,6 +25,8 @@ Usage: wfbackup.rb [options]
-f, --full Full Run. Same as -d -u -c
-h, --help Show this message
+Example crontab entry
+44 14 * * * cd /wfbackup/install/path && /opt/bin/ruby /wfbackup/install/path/wfbackup.rb -f
-
+to do a full backup and cleanup
View
@@ -2,4 +2,10 @@
AMAZON_SECRET_ACCESS_KEY='AAAAAAA'
BUCKET_NAME = 'backupbucket'
+# directories to archive
+# you can use any method you want to get these directories here rather than hand coding them
@dirs << {:name => 'gitosis', :dir => '/srv/gitosis'}
+
+%w{bob joe dave}.each do |user|
+ @dirs << {:name => "backup-#{user}", :dir => "/home/#{user}"}
+end

0 comments on commit 01847c6

Please sign in to comment.