Backups

Desktop Linux PC's are NOT BACKED-UP !!!!!!!!!!!!!!!!!!!!!!

The only computer files which are backed up automatically are on your user account on pyserver.

MAKE SURE THAT ANY IMPORTANT FILES ARE COPIED TO YOUR pyserver USER ACCOUNT.

You can easily copy your files from your workstation to pyserver using a command analogous to this (while logged onto your workstation):

rsync -avtz -e ssh TestDir pyuser@pyserver:

This copies across the entire directory TestDir (including all its subdirectories) to the home area of the pyuser account on pyserver. Note that it's important not to put a trailing backslash on TestDir, i.e. do not use TestDir/

You can trivially generalise this to copy across more than one directory:

rsync -avtz -e ssh TestDir AnotherDir pyuser@pyserver:

If you want to copy across the directory TestDir to a subdirectory on pyserver, you can use the following:

rsync -avtz -e ssh TestDir pyuser@pyserver:MyBackupDir

This will put the directory TestDir and all its contents onto the directory MyBackupDir on pyserver.

Note, if you don't want to copy across, say, postscript files, then you can use the -exclude option as follows:

rsync -avtz -e ssh -exclude '*.ps' TestDir pyuser@pyserver:

Chris Allton 2011-04-03