Created
March 2, 2013 19:10
-
-
Save macagua/5072640 to your computer and use it in GitHub Desktop.
This recipe helps to copy backup Plone data from one place to another via rsync with a crontab job. For options see http://pypi.python.org/pypi/z3c.recipe.usercrontab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This recipe helps to copy backup data from one place to another via rsync with a crontab job. | |
# For options see http://pypi.python.org/pypi/z3c.recipe.usercrontab | |
[move-zodb-back] | |
recipe = z3c.recipe.usercrontab | |
times = 0 3 * * 7 | |
keep = 0 | |
gzip = true | |
command = rsync -av ${buildout:directory}/var/backups/filestorage/Data.fs* user@DNS_SERVER:/path/to/backups/directory/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment