X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fcron.d%2Fpostgresql-backup;fp=etc%2Fcron.d%2Fpostgresql-backup;h=a921fb8ff83279124f3c5b16d30bbd594e2b16e2;hb=f5e12fec2c7ef8d743e2d3e32c3bbe37b40c7a73;hp=0000000000000000000000000000000000000000;hpb=6647e7fb851e2dbe5a5c7ec60358f7371bf17183;p=lhc%2Fateliers.git diff --git a/etc/cron.d/postgresql-backup b/etc/cron.d/postgresql-backup new file mode 100644 index 0000000..a921fb8 --- /dev/null +++ b/etc/cron.d/postgresql-backup @@ -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