Skip to content

Instantly share code, notes, and snippets.

@macagua
Created March 2, 2013 19:10
Show Gist options
  • Save macagua/5072640 to your computer and use it in GitHub Desktop.
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 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