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
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
+++ b/
etc/cron.d/mysql-backup
@@ -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