new script that backs up all the mysql databases. pretty general except password...
authorChris Koeritz <fred@gruntose.com>
Mon, 16 Apr 2012 19:34:50 +0000 (15:34 -0400)
committerChris Koeritz <fred@gruntose.com>
Mon, 16 Apr 2012 19:34:50 +0000 (15:34 -0400)
to be filled in.

database/configuration/cron/backup_all_mysql_databases.crontab [new file with mode: 0644]

diff --git a/database/configuration/cron/backup_all_mysql_databases.crontab b/database/configuration/cron/backup_all_mysql_databases.crontab
new file mode 100644 (file)
index 0000000..3c465d4
--- /dev/null
@@ -0,0 +1,12 @@
+
+
+SHELL=/bin/bash
+
+# m h dom mon dow command
+
+USER=fred
+
+# backs up our databases on a weekly basis.
+28 4 * * 2 (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; mysqldump -u root '-pPASSWORD' --all-databases | gzip > /z/stuffing/archives/database_backup_$(hostname)_$(date_stringer).sql.gz) &>/tmp/database_backup_${USER}.log
+
+