dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ 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