User Tools

Site Tools


This is an old revision of the document!

Quick backup from Windows with cygwin/rsync to Linux

  • Install cygwin with rsync and ssh
  • Set up SSH keys
  • Associate .sh files with cygwin/bin/bash in Windows
  • Make a script like this:

date +"=== %Y-%m-%d %H:%M:%S Start ===" >> /g/Programs/log.txt
rsync -auzv --delete /c/Documents doc:private/ 2>&1 >> /g/Programs/log.txt
date +"=== %Y-%m-%d %H:%M:%S Done  ===" >> /g/Programs/log.txt
  • Set up a "Scheduled task" in the Control Panel to run the thing daily or whatever.
efficient_backups_with_rsnapshot.1259766497.txt.gz · Last modified: 2009/12/02 07:08 by tkbletsc