Please see rsbackup in git for detailed change history.
/var/lib/rsbackup/snapshots. Fixes issue #28. If you use snapshots you must adjust your configuration.
host-checkdirective controlling how to test whether hosts are up or down. Fixes issue #26.
always-updirective is now deprecated and will produce a warning. In some future version it will be removed.
rsync, and are not supported by the version installed under macOS; also this feature can also cause some trouble with Windows filesystems. Set the
rsync-extra-optionsas discussed in rsbackup(5) to work around this. Fixes issue #37 and issue #41.
--retireoption now always requests confirmation from the user. Fixes issue #38.
--forget-onlyoption used with
--retireto drop database records for backups without deleting the backups themselves. Fixes issue #41.
pre-backup-hookscripts may now exit with a distinct exit status to indicate a transient failure, equivalent to a
check-mountedtest failing. Addresses issue #43.
rsbackup-graph, has been introduced. This generates a graphical representation of available backups.
colorsdirective is now split into
colors-badwhich can take either RGB or HSV parameters.
colorsdirective is now deprecated and will produce a warning. In some future version it will be removed.
report-prune-logsdirective is now deprecated and will produce a warning. In some future version it will be removed.
.debbuild. Fixes Debian bug #793716.
.debis removed. Fixes Debian bug #810335.
PRUNINGsection of the man page for further information. The default behavior matches previous versions. Fixes issue #7.
prune-agedirectives are now deprecated in their current form and will produce a warning. In some future version they will be removed. Instead, use
traversedirectives now take an explicit boolean argument. Using them without an argument is now deprecated (but has not changed in meaning). In some future version the argument will become mandatory.
hook-timeoutdirectives are now inherited, as documented.
ssh-timeoutbecomes inherited too. The
sendmaildirective is now documented.
--dump-config --verbosenow annotates its output. Some options missed by
--dump-configare now output.
rsbackup.cronwill always run the prune and report steps, even if the earlier steps fail.
rsbackup-snapshot-hookcopes better with aliases for logical volumes. Fixes issue #23.
--dry-runmode. The environment variables
RSBACKUP_ACTcan be used by the script to distinguish the two situations.
rsbackup-snapshot-hookhas been modified accordingly. Fixes issue #9.
check-mountedoption verifies that a volume is mounted before backing it up. Fixes issue #13.
store-patternoption allows stores to be specified by a glob pattern instead of individually. Fixes issue #5.
colorsoptions allow operator control of the stylesheet and coloration in the HTML version of the report. Fixes issue #6.
lockare now documented. Fixes issue #20.
rsbackupno longer depend on Bash.
priorityoption. Fixes issue #19.
always-upoption is slightly modified: backups of always-up hosts are attempted, resulting in error logs, even if they do not seem to be available. Fixes issue #22.
--databaseoption allows the path to the database to be overridden.
rsbackup.cronwhen it has been removed. Fixes Debian bug #766455.
--storeare now more accurate. Fixes issue #10.
includecommand now skips filenames that start with
#. Fixes issue #12.
rsbackup-snapshot-hookno longer fails if
fsckfinds and fixes errors. It is also now tested. Fixes issue #15.
--dump-configoption to verify configuration file parse.
--forceoption no longer implies the
--verboseoption. (This was a bug.)
RSBACKUP_STATUSvalue passed to post-backup hook. (Bug spotted by Jacob Nevins.)
--retireno longer fails if a host directory has already been removed.
rsbackupas some other operation.
--htmloption (Jon Amery).
--prune-incompleteoption, which wouldn't work in the absence of some other option (Jacob Nevins).
post-access-hookoptions support running “hook” scripts before and after any access to backup storage devices.
post-backup-hookoptions support running “hook” scripts before and after a backup. Although these can be used for any purpose, the motivation is to enable the creation of LVM snapshots of the subject filesystems (and their destruction afterwards), resulting in more consistent backups. The supplied hook script only knows about the Linux logical volume system.
devicesoption allows a host or volume to be restricted to a subset of devices, identified by a filename glob pattern.
rsync-timeoutoption allows a time limit to be imposed on a backup.
check-fileoption allows backups of a volume to be suppressed when it is not available (for instance, because it is only sometimes mounted).
--dry-run) is now more verbose.
-to write to standard output.
rsbackup-mountnow supports unencrypted devices and separate key material files (contributed by Matthew Vernon).
--prunehonours command-line selections again.
--logsoption controls which logfiles are included in the HTML report. The default is to only include the logfile of the most recent backup if it failed. Also, if the most recent attempt to backup a volume to a given device failed, its heading is highlighted (in red).
--versionoptions. Single-letter command line options are now supported (in fact they existed in many cases already but weren’t documented).
.incompletefiles used by the Perl script to indicate partial backups are now created by the C++ version too. They are created both before starting a backup and before pruning it. rsbackup itself does not rely on them itself but they are an important hint to the operator when doing bulk restores.
--warn-storeis given, but if no configured store is present then the problems found with all configured stores are listed. The documentation on how to set up stores has also been clarified.
rsbackup has been rewritten in C++. The behaviour
is largely same except as follows:
--textoption generates a plaintext version of the report. In addition the email report includes both the text and HTML versions.
--prune-unknownis removed. It is replaced by
--retire, which is used to remove backups of volumes (and hosts) that are no longer in use and
--retire-devicewhich is used to remove logs for devices that are no longer in use.
rsynccommand now includes the
--deleteoption, meaning that interrupted backups no longer include stray files from the first attempt.
.incompletefiles are no longer created. Instead the logs are used to distinguish complete from incomplete backups.
--warn-options to control what is warned about.
always-upoption to indicate that a host is expected to always be available to back up.