Explorar el Código

Merge pull request #17 from henrikhodne/patch-1

tarsnap: Only run cron job once per day.
Alex Payne hace 11 años
padre
commit
7055d6cb36
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      roles/common/tasks/tarsnap.yml

+ 1
- 1
roles/common/tasks/tarsnap.yml Ver fichero

@@ -25,4 +25,4 @@
25 25
   file: state=directory path=/usr/tarsnap-cache
26 26
 
27 27
 - name: Install nightly Tarsnap cronjob
28
-  cron: name="Tarsnap backup" hour="3" job="tarsnap --cachedir /usr/tarsnap-cache --keyfile /root/tarsnap.key -c -f backup-`date +\%Y\%m\%d` /home /root /decrypted-mail /var/www /var/log /var/lib/mysql > /dev/null"
28
+  cron: name="Tarsnap backup" hour="3" minute="0" job="tarsnap --cachedir /usr/tarsnap-cache --keyfile /root/tarsnap.key -c -f backup-`date +\%Y\%m\%d` /home /root /decrypted-mail /var/www /var/log /var/lib/mysql > /dev/null"

Loading…
Cancelar
Guardar