Hi,

Rahul Amaram wrote on 2016-12-14 20:23:27 +0530 [[BackupPC-users] Using 
--checksum instead of --ignore-times for full backup in BackupPC 3.3.1]:
> I am running backuppc in Debian. I am currently using backuppc 3.3.1, 
> rsync 3.1.2 and libfile-rsync-perl 0.74.
> 
> I have changed the option --ignore-times to --checksum in Xfer/Rsync.pm 
> for full backup. The idea is that for full-backups, I prefer for files 
> to compared using --checksum rather than --ignore-times.

what exactly are you trying to do? Spend time on modifying a known working
system in order to slow it down and make it possibly less accurate?

> Now, when I run full backup, I get the following error:
> 
> [...]
> 
> The full backup works if I use --ignore-times options.

Yes, it works as designed, and it stops working if you change something
without understanding what you are doing (hint: if you did, you wouldn't have
expected that to work).

> Could someone guide me on how I can debug this?

I'm sure someone could, but, honestly, it would be a waste of time.

> I can recompile rsync if necessary (in backuppc server

It's not really about re*compiling*, it's about changing the code
(File::RsyncP - you *have* understood that the BackupPC server doesn't use
native rsync, right?) - implementing the --checksum option, basically.

Before you go to the trouble, you should understand what you are trying to do.
You've understood how the rsync protocol works? How BackupPC communicates with
the remote native rsync instance? How BackupPC accesses the pool and stores
files in it (in detail; during an rsync type transfer)? How BackupPC uses
checksum caching (if you've enabled it)?

Ok, I don't know your setup or requirements (hint: why don't I?), so saving a
few bytes (literally) per file might be worth millions of dollars, but if that
were the case, you probably wouldn't be using BackupPC but rather your own
code, highly optimized to your use case. A few suggestions:

* Turn on checksum caching to decrease the disk load of your BackupPC server
  on full backups.
* Use a different backup system that does what you "prefer" rather than
  forking one that doesn't.
* Tell us what problem you are having rather than how you are trying to solve
  it.

Hope that helps.

Regards,
Holger

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to