Bachir writes: > My goal is simpel: When restoring a fileset for a specified date > (including "most recent"), BackupPC should give me exactly the files > and directories that existed at the time of the last backup prior to > that date. > > According to my several tests this doesn't works even if the last > backup was a Full backup. Files and directories crated after a backup > (full or incremental) will NOT be deleted during a restoration.
Right. Holger explained this well. First, the tar and smb XferMethods don't support delete. More importantly I don't like the idea of a restore deleting files on the client. Restores are often done at a time of high stress and you don't want irreversible things done (I concede that a restore will overwrite files, but that's kind of the point isn't it?). You can restore to a new directory and rename. > To avoid this problem i tried to add "--delete" to > $Conf{RsyncRestoreArgs} but the restoration failed with the following > error: > > " > Remote[1]: ERROR: buffer overflow in recv_rules [receiver] > Remote[1]: rsync error: error allocating core memory buffers (code 22) > at util.c(121) [receiver=2.6.9] > Read EOF: Connection reset by peer > Tried again: got 0 bytes > Done: 301 files, 6183643 bytes > restore failed: Unable to read 4 bytes > " > > I guess this mean that rsyncp doesn't support the "--delete" option. Right. Craig ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/