BackupPC-users

Re: [BackupPC-users] Backup only new file(s)

2009-06-12 00:00:18
Subject: Re: [BackupPC-users] Backup only new file(s)
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 12 Jun 2009 13:56:36 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adam Goryachev wrote:
> Filipe Brandenburger wrote:
>> Hi,
>
>> On Thu, Jun 11, 2009 at 14:13, Les Mikesell<lesmikesell AT gmail DOT com> 
>> wrote:
>>> Mirco Piccin wrote:
>>>> Anyway, each daily file is quite similar to the each other, so rsync
>>>> (or custom script) should be the better way to to the job.
>>> That won't help unless each file is named the same as the previous one.
>> You can try to use the "-y" or "--fuzzy" option to rsync (at least
>> rsync 3) to implement this.
>
>> Quoting from the man page: "-y, --fuzzy: This option tells rsync that
>> it should look for a basis file for any destination file that  is
>> missing. The current algorithm looks in the same directory as the
>> destination file for either a file that has an identical size and
>> modified-time, or a similarly-named file. If found, rsync uses the
>> fuzzy basis file to try to speed up the transfer."
>
> I'm assuming this doesn't help with backuppc because of the whole perl
> module thing ? It would be interesting to see how "fuzzy" the filenames
> can be?

BTW, what is the possibility of having backuppc request the first 100k
or whatever of a file is needed to calculate the pool checksum, then see
if the file exists in the pool, and then we wouldn't need to re-download
(for example) the 30M linux kernel package, or the 300M windows sp3
file, etc... This would also solve the issue of renaming
files/folders... Can the rsync protocol handle sending just the first
portion of a file?

Of course the full file checksum would need to match as well :) probably
if we find a match in the pool. then re-start the transfer with this
target file, so that we will run the checksum over the entire file...

Regards,
Adam

- --
Adam Goryachev
Website Managers
www.websitemanagers.com.au
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkox0fQACgkQGyoxogrTyiX+pgCaAqg6FeQmMsX0MLMY9VaaEvZS
D28AoIae2FASFEFr8UdeCNzZOVDI0cQG
=0cy2
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/