RE: Incremental backups and batch mode.

2002-03-30 Thread Diego Liziero
>You're using the wrong tool -- you want a binary diff program instead. >Run that on your files, then rsync/tar/cp/whatever the diffs. Not exactly, I need the rsync algorithm to check the new version of the file against the checksums of that file calculated when the previous backup was made, and

RE: Incremental backups and batch mode.

2002-03-30 Thread Diego Liziero
>Ah... now I see. Unfortunately, this one's over my head. Can anyone else >help here? Can rsync deal explicitly with parts of files? The rsync program can deal with delta files, but just in the batch mode, unfortunately it is not exactly what I need. The rsync algorithm instead is exaclty wha

Re: Incremental backups and batch mode.

2002-03-30 Thread Adrian Ho
On Thu, Mar 28, 2002 at 09:06:59PM +, Diego Liziero wrote: > So at every backup the whole 2Gbyte file is saved. That's exactly what rsync's supposed to do, AIUI. I would be /very/ upset if it didn't make perfect copies. 8-) > So I would like to use the rsync algorithm to calculate the diff

RE: Incremental backups and batch mode.

2002-03-28 Thread Mike Rubel
Diego wrote: > Right, wonderful, but let's consider a big database file, let's say > a 2Gbyte file, that is slightly changed every day of about a 10% ... > So at every backup the whole 2Gbyte file is saved. ... > So I would like to use the rsync algorithm to calculate the differences > (delta fi

RE: Incremental backups and batch mode.

2002-03-28 Thread Diego Liziero
Thanks, now I know how rsync backup option works. But I haven't been so clear about what I would like to do. >> I would like to have a first snapshot (level 0) that is a complete copy, >> and then other incremental backups that are just delta files >> (just the differences from the level 0 snaps

RE: Incremental backups and batch mode.

2002-03-28 Thread Mike Rubel
> Something similar: > I would like to have a first snapshot (level 0) that is a complete copy, > and then other incremental backups that are just delta files > (just the differences from the level 0 snapshot). The "normal" utilities for this job would be dump and tar, especially if you're dumpi

Incremental backups and batch mode.

2002-03-28 Thread Diego Liziero
I'm trying to use the rsync algorithm for incremental backups. After a quick look at rsync I saw the batch mode operations, and I thought that maybe I can modify them for incremental backups. What is needed is to add an option to save the checksums of all the files of the level 0 backup and a se