Les Mikesell wrote: > Matthias Meyer wrote: >> Matthias Meyer wrote: >> >>> Hi, >>> >>> I use BackupPC 3.1 and rsyncd. >>> If an incr Backup aborts, e.g. because of lost network connections, all >>> of the data, which was copied into the /new directory, will be deleted. >>> The next time an incr backup runs, all the work (compare and transfer) >>> must be done again. >>> >>> What is the reason for this behavior? >>> Is there a posibility to save the already saved data and reuse it for >>> the next backup in a similiar way as in interupted full backups? >>> >>> Thanks in advance >>> Matthias >> >> I tried to move the data (/new, /NewFileList, /XferLOG.z) to another >> place by the DumpPostUserCmd if $type == incr and $xferOK == 0. >> This part works fine. >> In the DumpPpreUserCmd I move the data back to its original place if >> $type == incr and saved data exists. >> This part works fine too. >> But the following rsync process transfers the already transfered files >> again. >> It seems that rsync, at least within an incremental mode, did not compare >> the files against the /new directory. >> >> In the next step I will try to move the /new directory to a /<number> >> directory, update the /backups file and run BackupPC_link during the >> DumpPostUserCmd. >> >> Is there any reason to not do that? > > Rsync incrementals are based on the previous full unless you are using > incremental levels, so even if the backup had completed it wouldn't be > used for > comparison in the next run. If this is a frequent problem for you, > perhaps you > should make all of the backups fulls. This will take longer because of > the > checksum comparisons but not much more bandwidth. Then partial backups > would be reused and you would not transfer multiple copies of files for > each incremental. > Yes I know. I use incremental levels (because I do not understand any advantage of not using it ;-)
br Matthias -- Don't Panic ------------------------------------------------------------------------------ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
