Re: rsync problem

2011-03-22 Thread Amos Shapira
available from package "rdiff-backup" on ubuntu and the upstream web site is http://rdiff-backup.nongnu.org/ Cheers, --Amos On 22 March 2011 22:38, Nadav Har'El wrote: > On Mon, Mar 21, 2011, Shlomo Solomon wrote about "Re: rsync problem": > > OK - that makes sense -

Re: rsync problem

2011-03-22 Thread Nadav Har'El
On Mon, Mar 21, 2011, Shlomo Solomon wrote about "Re: rsync problem": > OK - that makes sense - I'll try adding --ignore-errors. I'm not worried > about > risking a massive deletion since my script checks for an "unusual" change in > the size of my b

Re: Backup script (was Re: rsync problem)

2011-03-21 Thread Mike Miller
On Tue, Mar 22, 2011 at 06:23, Omer Zak wrote: > What I would like to have is a Time Machine (TM?) like scheme in which a > backup disk will enable me to see a snapshot of my computer's disk from > a certain date.  It can be implemented by making hard links. > > Did anyone develop such a backup sc

Re: Backup script (was Re: rsync problem)

2011-03-21 Thread sammy ominsky
Actually, with the possibility of nfs, my data could be anywhere and just mounted at /nas/web-backup :) Also, the --link-dest= flag I use is the hard link snapshots you're asking about. It creates a new generation of links each day, and keeps a rotating week of them. It's not N backups, it's

Re: Backup script (was Re: rsync problem)

2011-03-21 Thread Omer Zak
I see I follow a different backup policy from Sambo. Sambo keeps the last N backups in the same physical hard disk (or maybe RAID array). I keep a backup in a removable device. My policy is to never trust a single interconnected system with my data (so that I'll not suffer massive data loss if m

Backup script (was Re: rsync problem)

2011-03-21 Thread sammy ominsky
On 21/03/2011, at 15:57, Omer Zak wrote: > By the way, my own backup script uses the following rsync flags: > rsync -avH --progress --max-delete=20 --delete --delete-excluded > --exclude-from=$EXCLUSIONS_FILE $FROM $TO This looks like a fun game! I'll show you mine if you'll show me yours.

Re: rsync problem

2011-03-21 Thread Shlomo Solomon
OK - that makes sense - I'll try adding --ignore-errors. I'm not worried about risking a massive deletion since my script checks for an "unusual" change in the size of my backed up directories, so I guess I'd catch that. I'm not sure I understand what the --backup option does or why it would so

Re: rsync problem

2011-03-21 Thread Shlomo Solomon
On Monday, March 21, 2011, Omer Zak wrote: > I notice the anomaly both /home and /public get rsync'ed into > $MOUNT/home-public. > Could it be that /public has files with the same name as deleted files > in /home? > (Not to mention the more serious problem that $MOUNT/home-public would > contain on

Re: rsync problem

2011-03-21 Thread Omer Zak
I notice the anomaly both /home and /public get rsync'ed into $MOUNT/home-public. Could it be that /public has files with the same name as deleted files in /home? (Not to mention the more serious problem that $MOUNT/home-public would contain only files from /public, no files from /home.) By the wa

Re: rsync problem

2011-03-21 Thread Nadav Har'El
On Mon, Mar 21, 2011, Shlomo Solomon wrote about "rsync problem": > I have a backup script using rsync. I've included part of it below. For some > reason, everything seems to work OK except that files don't get deleted from > the backup copy of /home (I've

rsync problem

2011-03-21 Thread Shlomo Solomon
I have a backup script using rsync. I've included part of it below. For some reason, everything seems to work OK except that files don't get deleted from the backup copy of /home (I've marked the problem with a comment). Since the params I specify on all lines of the script are the same, I can't