Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : rsync


thetechnobear
02-07-2008, 06:03 PM
ive noticed a few people wanted this, so compiled it


this is version 3.0, pre8 so very new :)

i use it as a daemon on iLiad
create an empty rsyncd.conf in /etc
cp rsync to /usr/bin

run with rsync --daemon

if you want to use it as a client you will need to have either ssh or rsh on iliad
(oh, i think as a daemon its probably going to need dropbear sshd installed and running?!)


enjoy

daudi
03-05-2008, 12:57 PM
Background: I recently lost some scribbles (ipdf failed on me). Fortunately I had most of it backed-up, but not all. It occurred to me that it is not easy to backup content on the iliad if you are away from your PC for a long time, so it is possible to write a load of scribbles during a day and then lose them before you can back up (I guess that's one advantage of the image-based notes---they create merged images on-the-fly).

The attached is a script (and manifest file) that uses thetechnobear's rsync to backup the contents of /mnt/free to a usb key. Simply changing /mnt/usb/backup to /mnt/cf/backup would use the compact flash. I have decided to make it do incremental backups, giving each most recent previous backup a suffix of the date and time of the current backup. The first time you run it you have enough time to make coffee because it backs everything up, but after that it seems to be fairly quick. The contentlister entry is updated with the last date and time the backup is run.

Note that this attachment is just the script. You'll have to copy rsync to /usr/bin as instructed by thetechnobear and possibly make it executable with chmod +x /usr/bin/rsync for this to work.