BackupPC community,I'm pleased to announce that BackupPC 4.0.0alpha0 has been released on SourceForge at:4.0.0 is a significant upgrade and rewrite. It should be backward compatible with existing installations.The release comprises three packages:- BackupPC-4.0.0alpha0.tar.gz: the usual BackupPC release tar ball.- BackupPC-XS-0.01.tar.gz: a perl XS module with C code that replaces several BackupPC perl libraries for improved performance.- rsync-bpc-188.8.131.52.tar.gz: a modified rsync that runs on the server that has a shim layer that interfaces directly to the BackupPC file system.I'll also push BackupPC-XS-0.01.tar.gz to CPAN, and at some point I'll push the source to GitHub (maybe next weekend; I'm starting a new job tomorrow). Of course, the tar balls above contain all the source too.As you can guess from the release name, I do not recommend using this release in any production environment. Having some people try it out in a sandbox in their environment would be very helpful. One important area to test is upgrading an existing V3 installation, so it would be great to test not just a virgin V4 installation, but also to also first install V3, do some backups, then upgrade to V4.The documentation is only partially updated. I'm happy to answer questions - for example, there are some importact changes to the configuration settings. If you reply to this thread please only copy the backuppc-devel list.I've pasted a short summary of features and changes. More is in the documentation.Craig- No use of hardlinks (except temporarily to do atomic renames). Reference countingis handled at the application level.- Backups are stored as "reverse deltas" - the most recent backup is always filledand older backups are reconstitued by merging all the deltas starting with thenearest future filled backup and working backwards.This is the opposite of V3 where incrementals are stored as "forward deltas"to a prior backup (typically the last full backup or prior lower-levelincremental backup, or the last full in the case of rsync).- Since the most recent backup is filled, viewing/restoring that backup (which isthe most common backup used) doesn't require mergning any deltas from other backups.
- The concepts of incr/full backups and unfilled/filled storage are decoupled.- Uses full-file MD5 digests, which are stored in the directory attrib files.Each backup directory only contains an attrib file.- The Pool layout still support chains to handle md5 collisions. While collisionscan be constructed and are now well-known, they are highly unlikely in the wild.Pool files are never renamed or moved, unlike V3.- Any backup can be deleted (deltas are merged into next older backup if it isnot filled).- The reverse deltas allow "infinte incrementals" - no need for a full backupif you are willing to trade speed for the risk that a file change willnot be detected if the mtime or size don't change.- An rsync "full" backup now uses --checksum (instead of --ignore-times),which is much more efficient on the server side - the server just needs tocheck the full-file checksum computed by the client, together with the mtime,nlinks, size attributes, to see if the file has changed. If you want a moreconservative approach, you can change it back to --ignore-times, whichrequires the server to send block checksums to the client.- The use of rsync --checksum allows BackupPC to guess a potential matchanywhere in the pool, even on a first-time backup. In that case, the usualrsync block checksums are still exchanged to make sure the complete fileis identical.- Uses rsync-3.0.9 on the server side (in place of File::RsyncP), witha C code layer to interface to the BackupPC storage. So the whole datapath for rsync is now in compiled C code, which is generally faster than perl(other than compression, which is the same code in either case, and I/O).- Due to the use of rsync-3.X, acls and xattrs are supported, and otheruseful options (but not all) are supported. Rsync protocol 30 supportsthe efficient incremental file list, which significantly improves memoryusage and startup time. It also supports MD5 full-file checksums, whichmatch BackupPC's new digest. That allows a full-file digest to be checkedas easily as an mtime on the server side.- Significant portions of the BackupPC code are now compiled C code in anew module called BackupPC::XS that is dynamically linked to perl.- FTP Xfer method isn't supported yet.