Stylesheet style.css not found, please contact the developer of "arctic" template.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
personal:portfolio:rsync-python-script [2014/07/26 18:20] – created antonellopersonal:portfolio:rsync-python-script [2014/07/26 18:23] antonello
Line 1: Line 1:
 ====== Rsync Python script ====== ====== Rsync Python script ======
  
-A Python script to wrap rsync to have rolling backups for the latest n days, deleting the old ones. Nice because in this approach rsync uses hard links to build incremental backups that appear as full backups.+A Python script that wrap rsync to have rolling backups for the latest n days, deleting the old ones. Nice because in this approach rsync uses hard links to build incremental backups that appear as full backups. 
 + 
 +Of course it needs to be run under cron. 
 Fur the actual rsync call that is used in this script see [[http://www.sanitarium.net/golug/rsync_backups_2010.html]] Fur the actual rsync call that is used in this script see [[http://www.sanitarium.net/golug/rsync_backups_2010.html]]
  
Line 88: Line 91:
   print "** INFO: rsync backup completed - "+str(now.year)+"."+str(now.month)+"."+str(now.day)+" "+str(now.hour)+":"+str(now.minute)   print "** INFO: rsync backup completed - "+str(now.year)+"."+str(now.month)+"."+str(now.day)+" "+str(now.hour)+":"+str(now.minute)
  
 +
 +~~DISCUSSION~~
  
personal/portfolio/rsync-python-script.txt · Last modified: by 127.0.0.1
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0