Ajout : sauvegardes automatiques des bases postgresql.
[lhc/ateliers.git] / etc / cron.d / postgresql-backup
diff --git a/etc/cron.d/postgresql-backup b/etc/cron.d/postgresql-backup
new file mode 100644 (file)
index 0000000..a921fb8
--- /dev/null
@@ -0,0 +1,3 @@
+MAILTO=backup
+# m h dom mon dow user command
+15 3 * * * backup bin/postgresql-backup '\%' -- --full-if-older-than 90D && bin/duplicity-remove postgresql -maxdepth 1 -- remove-all-but-n-full 1 --force