Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git] / etc / cron.d / mysql-backup
diff --git a/etc/cron.d/mysql-backup b/etc/cron.d/mysql-backup
new file mode 100644 (file)
index 0000000..4822c59
--- /dev/null
@@ -0,0 +1,3 @@
+MAILTO=backup
+# m h dom mon dow user command
+0 3 * * * backup bin/mysql-backup '\%' -- --full-if-older-than 90D && bin/duplicity-remove mysql -maxdepth 1 -- remove-all-but-n-full 1 --force