Permalink
Browse files

adds "csBackupPlugin"

  • Loading branch information...
1 parent e010a5b commit 4683aaec18f28d8b62073b81d345a35c3573fcce @bshaffer committed May 29, 2010
@@ -17,7 +17,8 @@ public function setup()
'sfGoogleAnalyticsPlugin',
'sfLucenePlugin',
'sfTaskExtraPlugin',
- 'sfPhpExcelPlugin'
+ 'sfPhpExcelPlugin',
+ 'csBackupPlugin'
));
}
View
@@ -1,2 +1,6 @@
#defaults
-# all:
+all:
+ csBackup:
+ mysql:
+ email: bshaffer@centresource.com
+ backup_dir: /var/www/donatenashville.org/backup/mysql
@@ -0,0 +1,36 @@
+all:
+ csBackup:
+ rsync:
+ options:
+ verbose: true
+ progress: true
+ stats: true
+ compress: true
+ rsh: ssh
+ recursive: true
+ times: true
+ perms: true
+ links: true
+ delete: true
+ exclude: ['*.svn', '*.git']
+
+ source: [web/uploads]
+
+ target: false
+
+ mysql:
+ email: your@email.com
+
+ # Can be array of DB names
+ dbname: [db1, db2]
+
+ backup_dir: data/sql/backup
+
+ command: mysqldump
+
+ scp:
+ target: false
+
+ target_dir: ~/
+
+ source: [web/uploads]
Oops, something went wrong.

0 comments on commit 4683aae

Please sign in to comment.