User Tools

Site Tools


efficient_backups_with_rsnapshot

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:
#!/bin/sh

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki