New in v1.1.8 (2007/01/29) -------------------------- Cygwin generates EACCESS on fsync -- so accept it rather than dieing. (Marc Dyksterhouse). Add "FilenameMapping.set_init_quote_vals" security exception. (Marc Dyksterhouse) Escape DOS device filenames when necessary. Adjust DOS filename quoting to work properly with cygwin. (Marc Dyksterhouse) Allow for preservation of FinderInfo for folders and fix typo in Time.py. (Patch from Andrew Ferguson.) Test for symlink permissions support to avoid unncessary syscalls on platforms that don't support them. (Patch from Andrew Ferguson.) RPM specfile update from Gordon Rowell. New in v1.1.7 (2006/11/12) -------------------------- Fix showstopper problem on OSX handling pre-1.1.6 rdiff-backup metadata. (Patch from Andrew Ferguson.) New in v1.1.6 (2006/11/11) -------------------------- Man page update from roland . --min-file-size/--max-file-size support. (Patch from Wout Mertens.) Mac OS X Extended Attributes support. (Patch from Andrew Ferguson.) Preserve Mac OS X 'Creation Date' field across backups. (Patch from Andrew Ferguson.) Set symlink permissions properly. (Patch from Andrew Ferguson.) Selection fix: empty directories could sometimes be improperly excluded if certain include expressions involving a non-trailing '**' were used. Bug reported by Toni Price. A few minor changes to help rdiff-backup back up to an SMB/CIFS share. Thanks to Cengiz Gunay for testing. Fix a traceback due to an off-by-1 error in "--remove-older-than nB". Fix a security violation when restoring from a remote repository. (Patch from Charles Duffy.) Added times like "Mon Jun 5 11:00:23 1997" to the recognized time strings. (Suggested by Wolfgang Dautermann.) New in v1.1.5 (2006/01/01) -------------------------- rdiff-backup will now exit by default if it thinks another rdiff-backup process is currently working on the same repository. Empty error_log, mirror_metadata, extended_attribute, and access_control_lists files will no longer be gzipped (suggestion by Hans F. Nordhaug). Fix for restoring files in directories with really long names. Added supplementary rdiff-backup-statistics utility for parsing rdiff-backup's statistics files (originally based off perl script by Dean Gaudet). rdiff-backup should now use much less memory than v1.1.1-1.1.4 if you have lots of hard links. New in v1.1.4 (2005/12/13) -------------------------- Quoting should be enabled only as needed between case-sensitive and non-case-sensitive systems (thanks for Andrew Ferguson for report). Files with ACLs will not be unnecessarily marked as changed (bug report by Carsten Lorenz). Fix for common KeyError bug introduced in v1.1.3. New in v1.1.3 (2005/11/25) -------------------------- Regression metadata bug introduced with 1.1.1/1.1.2 fixed. rdiff-backup should now give a clean error message (no stack traces!) when aborted with control-C, killed with a signal, or when the connection is lost. When removing older than, delete empty increments directories Long filename bug finally fixed (phew). rdiff-backup should now correctly mirror any file that it can read. Due to very detailed error report from Yoav, fixed a "Directory not empty" error that can arise on emulated filesystems like NFS and EncFS. Cleaned up remove older than report, and also stopped it from deleting current data files if you specify a time later than the current mirror. New in v1.1.2 (2005/11/06) -------------------------- This version corrects a packaging error in v1.1.1, which was totally broken. New in v1.1.1 (2005/11/05) -------------------------- rdiff-backup now writes SHA1 sums into its mirror_metadata file for all regular files, and checks them when restoring. The above greatly increases the size of the mirror_metadata files, so diff them for space efficiency, as suggested by Dean Gaudet. Added two new comparison modes: full file (using the --compare-full or --compare-full-at-time) or by hash (--compare-hash and --compare-hash-at-time). Applied Alec Berryman's patch to update the no-compression regexp. Alec Berryman's fs_abilities patch is supposed to help with AFS. Fixed filename-too-long crash when quoting. Patched carbonfile support, re-enabled it by default. New in v1.1.0 (2005/10/24) -------------------------- Refactored fs_abilities for more flexibility. In particular, avoid quoting if both source and destination file systems are case-insensitive. Increased buffer sizes by factor of 4, because everyone probably has 4 times as much RAM now as when I originally picked those values. When possible, fsync using a writable file descriptor. This may help with cygwin. (Requested/tested by Dave Kempe.) Support req 104755: Added --preserve-numerical-ids option, which makes rdiff-backup preserve uids/gids instead of unames/gnames. (Suggested by Wiebe Cazemier) Fix for bug #14799 reported by Bob McKay: Crash when backing up files with high permissions (like suid) to some FAT systems. New in v1.0.2 (2005/10/24) -------------------------- Fix for spurious security violation from --create-full-path (reported by Mike Bydalek). Fix for bug 14545 which was introduced in version 1.0.1: Quoting caused a spurious security violation. (Important for Mac OS X) An error reading carbonfile data on Mac OS X should no longer cause a crash. (Thanks to Kevin Horton for testing.) Carbonfile support now defaults to off, even if the system appears to support it. It can be manually enabled with the --carbonfile switch. If you know something about Mac OS X and want to look at the carbonfile code so it can be re-enabled by default, please do so :) (help available from list) New in v1.0.1 (2005/09/10) -------------------------- Fix for "'filetype' of type exceptions.KeyError" error when restoring. Test case provided by Davy Durham. (The problem was the mirror_metadata file could become un-synced when a file is deleted when rdiff-backup is running and later the directory that file is in gets deleted.) Librsync signature blocksize now based on square root of file length. rdiff-backup now writes its PID to current_mirror marker (suggested by Kevin Spicer). fsync_directories defaults to None, to avoid errors in testing (suggestion by Charles Duffy). bug#14209: Security bug with --restrict-read-only and --restrict-update-only allowed file statting and directory listing outside path. Bug with --restrict option allowed writes outside path. (Reported by Charles Duffy.) bug #14304: Python 2.2 compatibility spoiled by device files. lchown no longer required, which is good news for Mac OS X 10.3. New in v1.0.0 (2005/08/14) -------------------------- Handle cases of junk uid/gids better on 64bit systems. (Bug report by Nick Bailey) Filenames in the file_statistics*gz files are now quoted the same way as filenames in the metadata file (LF => \n and \ => \\). Fix from Paul P Komkoff Jr for uid typo in text_to_entrytuple. bug#12726: fix regressing of devices while running as non-root -- zero length files are created as placeholders. bug#13476: must always compare device numbers when we compare inode numbers -- fix a non-fatal problem with hardlinks when a filesystem is moved to another device (and the inodes don't change). bug#13475: correct an UpdateError when backing up hardlinks with EAs and/or ACLs. debian bug#306798: SELinux security attributes can not be removed and rdiff-backup should not fail when it fails to remove them from temp files. fix from Konrad Podloucky. bug#12949: eliminate an exception during fs abilities testing on OS X 10.4. fix from Daniel Westermann-Clark. patch#4136: OSX filename/rsrc has been deprecated for some time, and as of OSX 10.4 it causes log spam. the new proper use is filename/..namedfork/rsrc. fix from Daniel Westermann-Clark. Log EACCES from listxattr rather than raising an exception -- this can happen when the repository has permission problems. Added Keith Edmunds patch adding the --create-full-path option. Fixed selection bug reported by Daniel Richard G. bug#13576: You can now back ACLs to a computer that doesn't have the posix1e module. bug#13613: Fix for overflow error that could happen when backing up files with dates far in the future on a 64bit machine to a 32 bit one. Symlink ownership should be preserved now. Reported by Naoki Takebayashi and others. New in v0.13.6 (2005/04/07) --------------------------- Fixed timezone bug. Hopefully this is the last one. (Thanks to Randall Nortman for bug report.) Added fix for listing/restoring certain bad archives made when there was a timezone bug. (Thanks to Stephen Isard) ************** Serious bug fix ****************** If a directory in the source directory was replaced by certain symlinks, then if later backups failed they could cause files in the directory that the symlink pointed to to be deleted! Much thanks to Alistair Popple for pointing this bug out and providing a test case. New in v0.13.5 (2005/03/28) --------------------------- Added error-correcting fsync suggestion by Antoine Perdaens. rdiff-backup may work better with NFS now. Fix by Dean Gaudet for --calculate-average mode (it broke somewhere in 0.13.x). Fix for regress warning code: rdiff-backup should warn you if you are trying to back up a directory into itself. Fix for restoring certain directories when not run as root. Now when determining group permissions check supplementary groups as well as main group. (Bug report by Ryan Castle.) Fixed bug which could cause crash when backing up 3 or more hard linked files and the first gets deleted during processing. (Thanks to Dean Gaudet for bug report.) Fixed user/group restoring error noticed by Fran Firman. Checked in Robert Shaw's --chars-to-quote patch Treated hard link permission problem on Mac OS X by applying suggestion by David Vasilevsky Dean Gaudet's patch fixes "--restrict /" option. Added Robert Shaw's --exclude-fifo, --include-symbolic-links, etc. options. Added Maximilian Mehnert's fix for too many open files bug. New in v0.13.4 (2004/01/31) --------------------------- Checked in patch by John Goerzen to support Mac OS X Finder information. As John says: > Specifically, it adds storage of: > > * 4-byte creator > * 4-byte type > * integer flags > * dual integer location Much thanks to John for adding this useful feature all by himself! Added --compare and --compare-at-time switches for comparing a directory with the backup information saved about it. Thanks to Erik Forsberg, who noticed that this feature was missing. Regressing and restoring should now take less memory when processing large directories (noticed by Luke Mewburn and others). When regressing, remove mirror_metadata and similar increments first. This will hopefully help regressing a backup that failed because disk was full (reported by Erik Forsberg). Fixed remote quoting errors found by Daniel Drucker. Fixed handling of (lack of) daylight savings time. Earlier bug would cause some files to be marked an hour later. Thanks to Troels Arvin and Farkas Levente for bug report. Altered file selection when restoring so excluded files will not be deleted from the target dir. The old behavior was technically intended and documented but not very convenient. Thanks to Oliver Kaltenecker for bug report. Fixed error when --restrict path given with trailing backslash. Bug report by Åke Brännström. Fixed many functions like --list-increments, --remove-older-than, etc. which previously didn't work with filename quoting. Thanks to Vinod Kurup for detailed bug report. New in v0.13.3 (2003/10/14) --------------------------- Fixed some of the --restrict options which would cause spurious violation errors. --list-changed-since and --list-at-time now work remotely. Thanks to Morten Werner Olsen for bug report. Fixed logic bug that could make restoring extremely slow and waste memory. Thanks for Jacques Botha for report. Fixed bug restoring some directories when mirror_metadata file was missing (as when made by 0.10.x version). Regressing and restoring as non-root user now works on directories that contain unreadable files and directories as long as they are owned by that user. Bug report by Arkadiusz Miskiewicz. Hopefully this is the last of the unreadable file bugs... Rewrote hard link tracking system. New way should use less memory. Fixed bug causing rdiff-backup to crash when backing up from system supporting EAs/ACLs to one that didn't. New in v0.13.2 (2003/09/16) --------------------------- Change ownership policy and added --user-mapping-file and --group-mapping-file switches. See man page for more information. Added option --never-drop-acls to cause fatal error instead of dropping any acls or acl entries. Thanks to Greg Freemyer for suggestion. Specified socket type as SOCK_STREAM. (Error reported by Erik Forsberg.) Fixed bug backing up unreadable regular files and directories when rdiff-backup is run by root on the source site and non-root on the destination side. (Reported by Troels Arvin and Arkadiusz Miskiewicz.) If there is data missing from the destination dir (for instance if a user mistakenly deletes it), only warn when restoring, instead of exiting with error. Fixed bug in EA/ACL restoring, noticed by Greg Freemyer. Updated quoting of filenames and extended attributes names to match forthcoming attr/facl utilities. Strange characters should now be properly escaped. Fixed problems with --restrict options that would cause proper sessions to fail. Thanks to Randall Nortman for error report. Added new time specification by backup number. So now you can '--remove-older-than 2B' or '--list-at-time 0B'. Original suggestion by Alan Bailward. File examples.html added to distribution; examples section removed from man page. Removed option --no-change-dir-inc-perms. Instead when copying permissions to directory increments, mask with 0777. New in v0.13.1 (2003/08/08) --------------------------- Restore of archives made by 0.10.x and earlier fixed, although hard link information is not restored unless it is current in the mirror. (Bug reported by Jeff Lessem.) Fixed problem with door files locally when repository is remote. (Reported by Robert Weber.) Patch by Jeffrey Marshall fixes socket/fifo recognition on Mac OS X (which apparently has buggy macros). Patch by Jeffrey Marshall fixes --calculate-average mode, which seems to have broken recently. rdiff-backup should now work and build with python 2.3. Thanks to Arkadiusz Miskiewicz and Arkadiusz Patyk for bug reports and a patch. rdiff-backup now builds and requires librsync 0.9.6. This version should be much better than the old one and everyone should probably upgrade. Much thanks to Donovan Baarda for all the work that went into this release. New in v0.13.0 (2003/07/22) --------------------------- To prevent the buildup of confusing and error-prone options, the capabilities of the source and destination file systems are now autodetected. Detected features include allowed characters, extended attributes, access control lists, hard links, ownership, and directory fsyncing. Options such as --windows-mode, --chars-to-quote, --quoting-char, and --windows-restore-mode have been removed. Now rdiff-backup supports user extended attributes (EAs). To take advantage of this you will need the python module pyxattr and a file system that supports EAs. Thanks to Greg Freemyer for valuable discussion. Support for access control lists (ACLs) was also added. An ACL capable file system and the python package pylibacl (which exports the posix1e module) are required. Thanks to Greg Freemyer for valuable discussion. Thanks to patches by Daniel Hazelbaker, rdiff-backup now reads and writes Mac OS X style resource forks! ****** Warning ****** The above features are new to this development release, and it is difficult to test all the possibly combinations of source and destination file systems. They should not be considered stable. However, help would be appreciated testing these new features. ****** Warning #2 ****** rdiff-backup records ACL and EA information in files designed to be compatible with the utilities "getfacl" and "getfattr". However, there is a possible security hole in both these formats (see http://acl.bestbits.at/pipermail/acl-devel/2003-June/001498.html). rdiff-backup's format will be fixed when getf{attr|acl}'s is. Added --list-increment-sizes switch, which tells you how much space the various backup files take up. (Suggested by Andrew Bressen) Although it should be detected automatically, can avoid copying permissions to directory increments with --no-change-dir-inc-perms. (Problem on FreeBSD when backing up sticky directories reported by Troels Arvin.) Fixed bug with --check-destination and --windows-mode reported by Tucker Sylvestro. The librsync blocksize is now chosen based on filesize. This should make operations on large files faster (in some cases, orders of magnitude faster). Thanks to Ty! Boyack for bringing this issue to my attention. New in v0.12.0 (2003/06/26) --------------------------- Fixed (?) bug that caused crash when file changes type from regular file in middle of download (reported by Ty! Boyack). Failure to construct regular file in regression/restoration only causes warning, not fatal error. Removed --exclude-mirror option. (Probably no one uses this, and it adds clutter.) --include and --exclude options should work now with restores, with some speed penalty. New in v0.11.5 (2003/06/20) --------------------------- Added EDEADLOCK to the list of skippable errors. (Thanks to Dave Kempe for report.) Added --list-at-time option at request of Farkas Levente. Various fixes for backing up onto windows directories. Thanks to Keith Edmunds for bug reports and testing. Fixed possible crash when a file would be deleted while being processed (reported by Robert Weber). Handle better cases when there are two files with the same name in the same directory. Added --windows-restore switch, for use when when restoring from a windows-style file system to a normal one. Use --windows-mode when backing up. Scott Bender's patch fixes backing up hard links when first linked file is quoted. New in v0.11.4 (2003/03/15) --------------------------- Fixed bug incrementing sockets whose filenames were pretty long, but not super long. Reported by Olivier Mueller. Added Albert Chin-A-Young's patch to add a few options to the setup.py install script. Apparently fixed rare utime type bug. Thanks to Christian Skarby for report and testing. Added detailed file_statistics (in addition to session_statistics) as requested by Dean Gaudet. Disable with --no-file-statistics option. Minor speed enhancements. New in v0.11.3 (2003/03/04) --------------------------- Fixed a number of bugs reported by Olivier Mueller: Brought some old parts of the man page up-to-date. Fixed bug if unrecoverable error on second backup to a directory. Fixed spurious error message that could appear after a successful backup. --print-statistics option works again (before it would silently ignored). Fixed cache pipeline overflow bug. This error could appear on large remote backups when many files have not changed. New in v0.11.2 (2003/03/01) --------------------------- Fixed seg fault bug reported by a couple sparc/openbsd users. Thanks to Dave Steinberg for giving me an account on his system for testing. Re-enabled --windows-mode and filename quoting. Fixed selection bug: In 0.11.1, files which were included in one backup would be automatically included in the next. Now you can include/exclude files session-by-session. Fixed ownership compare bug: In 0.11.1, backups where the destination side was not root would preserve ownership information by recording it in the metadata file. However, mere ownership changes would not trigger creation of new increments. This has been fixed. Added the --no-inode-compare switch. You probably don't need to use it though. If a special file cannot be created on the destination side, a 0 length regular file will be written instead as a placeholder. (Restores should work fine because of the metadata file.) Yet another error handling strategy (hopefully this is the last one for a while, because this stuff isn't very exciting, and takes a long time to write): All recoverable errors are classified into one of three groups: ListErrors, UpdateErrors, and SpecialFileErrors. rdiff-backup's reaction to each error is more formally defined (see the error policy page, currently at http://rdiff-backup.stanford.edu/error_policy.html). rdiff-backup makes no attempt to recover or clean up after unrecoverable errors. However, it now uses fsync() to increment the destination directory in a reversable way. If there is an error, the next backup will regress the destination directory into its state before the aborted backup. The above process can be done without a backup with the --check-destination-dir option. Improved error logging. Instead of the old haphazard reporting method, which sometimes didn't indicate the file an error occurred on, now all recoverable errors are reported in a standard format and also written to the error_log.