|
This is a very quick outline of my Windows backup technique for the Theory
sector.
Get Windows machine and install cwRsync. This is a neat little
package of all the cygwin stuff that
you need to use rsync and ssh like you would on a Unix box.
Fire up a DOS box and go to C:\Program Files\cwrsync\bin and run
ssh-keygen to generate ssh keys. Save them in some sensible
location.
On Linux backup server, set up user for this Windows box. Set up ssh
authorized_keys access for this user from Windows machine using public key
generated above. Test from Windows box using ssh -i
/cygdrive/c/path/to/mykey user@backupserver.
Set up batch file to do the rsync; something based on:
rsync -aqe "ssh -i /cygdrive/c/path/to/mykey" /cygdrive/c/foobar user@backupserver:/backups/thing/wombat/
with whatever rsync fancy stuff you need to exclude and delete old stuff.
Run from Task Scheduler, configured to run as Administrator.
At the moment two workstations are backed up using this method: verlet
and scorpio. Both are backed up to the pun.ch.cam.ac.uk server.
Several directories are backed up from each: the unison directory and some
user data directories. The backups may be found under the appropriate
machines's /backup directory on the archive server. At the moment
the backups are for disaster recovery only; there are no incrementals.
This will change.
|