User Tools

Site Tools


efficient_backups_with_rsnapshot

Differences

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

Link to this comparison view

Next revision
Previous revision
efficient_backups_with_rsnapshot [2009/12/02 07:08] – Page name changed from quick_backup_from_windows_with_cygwin_rsync_to_linux to efficient_backups_with_rsnapshot tkbletscefficient_backups_with_rsnapshot [2026/02/21 08:58] (current) tkbletsc
Line 1: Line 1:
-====== Quick backup from Windows with cygwin/rsync to Linux ======+====== Efficient backups with rsnapshot ======
  
-  * Install cygwin with rsync and ssh +Basically, do this: [[https://documentation.ubuntu.com/server/how-to/backups/install-rsnapshot/|https://documentation.ubuntu.com/server/how-to/backups/install-rsnapshot/]]
-  * Set up SSH keys +
-  * Associate .sh files with cygwin/bin/bash in Windows +
-  * Make a script like this:+
  
-<code> +Reminder: on debian/ubuntu, you may need to "sudo apt-get install liblchown-perl" so rsnapshot can set symlink ownership. 
-#!/bin/sh+ 
 +To restrict the ability of the client to access or even change files on the server being backed up, use [[https://github.com/tkbletsc/rrsync|my rrsync.py]], or perhaps the one from the rsync project.
  
-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 
-</code> 
  
-  * 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: by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki