Backuppc v4.4.0 Release Notes

Release Date: 2020-06-20 // about 4 years ago
  • ๐Ÿš€ This release contains several new features and some bug fixes. New features include:

    • any full/filled backup can be marked for keeping, which prevents any expiry or deletion
    • โฌ†๏ธ any backup can be annotated with a comment (eg, "prior to upgrade of xyz")
    • โž• added metrics CGI (thanks to @jooola) that replaces RSS and adds Prometheus support
    • ๐Ÿ‘ tar XferMethod now supports xattrs and acls
    • ๐Ÿ‘ rsync XferMethod now correctly supports xattrs on directories and symlinks
    • ๐Ÿ”ง nightly pool scanning now verifies the md5 digests of a configurable fraction of pool files
    • ๐Ÿ‘€ code runs through perltidy so format is now uniform (thanks to @jooola, with help from @shancock9 and @moisseev)

    ๐Ÿ†• New versions of BackupPC::XS (0.62) and rsync-bpc (3.0.9.15, 3.1.2.2 or 3.1.3beta0) are required.

    ๐Ÿš€ Thanks to Jeff Kosowsky for extensive testing and debugging for this release, particularly around xattrs.

    Here are the more detailed changes:

    • ๐Ÿ”€ Merged pull requests #325, #326, #329, #330, #334, #336, #337, #338, #342, #343, #344, #345, #347, #348, #349
    • โฌ†๏ธ Filled/Full backups can now be marked as "keep", which excludes them from any expiry/deletion. Also, a backup-specific comment can be added to any backup to capture any important information about that backup (eg, "pre-upgrade of xyz").
    • โž• Added metrics CGI, which adds Prometheus support and replaces RSS, by @joola (#344, #347)
    • ๐Ÿ‘ Tar XferMethod now supports xattrs and acls; xattrs sbould be compatible with rsync XferMethod, but acls are not
    • Sort open directories to top when browsing backup tree
    • ๐Ÿ‘ Format code using perltidy, and included in pre-commit flow, by @joola (#334, #337, #342, #343, #345). Thanks to @joola and @shancock9 (perltidy author) for significant effort and support, plus improvements in perltidy, to make this happen.
    • โž• Added $Conf{PoolNightlyDigestCheckPercent}, which checks the md5 digest of this fraction of the pool files each night.
    • $Conf{ClientShareName2Path} is saved in backups file and the share to client path mapping is now displayed when you browse a backup so you know the actual client backup path for each share, if different from the share name
    • โšก๏ธ configure.pl now checks the per-host config.pl in a V3 upgrade to warn the user if $Conf{RsyncClientCmd} or $Conf{RsyncClientRestoreCmd} are used for that host, so that the new settings $Conf{RsyncSshArgs} and $Conf{RsyncClientPath} can be manually updated.
    • ๐Ÿ›  Fixed host mutex handling for dhcp hosts; shifted initial mutex requests to client programs
    • โšก๏ธ Updated webui icon, logo and favicon, by @moisseev (#325, #326, #329, #330)
    • โž• Added $Conf{RsyncRestoreArgsExtra} for host-specific restore settings
    • Language files are now all use utf8 charsets
    • โฌ†๏ธ Bumped required version of BackupPC::XS to 0.62 and rsync-bpc to 3.0.9.15.
    • Ping failure message only written to stdout only if verbose
    • ๐Ÿšš BackupPC_backupDelete removes partial v3 backup in HOST/new; fixes #324 reported by @thalueng
    • BackupPC_backupDelete adds -f option to over keep, if set
    • BackupPC_nightly: change -f to -F when running BackupPC_refCountUpdate during fsck
    • ๐Ÿ‘ Better formatting of eval cmd result in cmdSystemOrEvalLong()
    • โœ‚ Remove zero count entries in per-backup and per-host poolCnt files
    • โž• Add a fake version parameter to the CSS URL to overcome caching
    • ๐Ÿ›  Fixed ALRM typo in BackupPC_dump, by @rhansen (#348)
    • ๐Ÿ›  Fixed command name in error message in BackupPC_archive, by @rhansen (#349)
    • lib/BackupPC/Xfer/Rsync.pm skips adding --iconv option when $conf->{ClientCharset} is utf8 or empty, to avoid a long-standing rsync bug
    • โš  lib/BackupPC/Xfer/Rsync.pm provides a more informative warning when the client rsync exits with an IO error, and also includes the IO error in the xferErr count
    • lib/BackupPC/Xfer/Smb.pm recognizes NT_STATUS_LOGON_FAILURE error
    • ๐Ÿ‘€ Increase text length in config editor fields, by @moisseev (#336)
    • Typo fix in config.pl, by @cure (#338)
    • ๐Ÿ“š Minor documentation updates, removing old SourceForge links

Previous changes from v4.3.2

  • ๐Ÿš€ This release contains several bug fixes and a few minor features:

    • ๐Ÿ”€ Merged pull requests #278, #281, #289, #295, #297, #307, #308, #311, #312, #313, #314.
    • โž• Added per-host read/write exclusivity to worker programs, so command-line programs don't collide with backups or other operations; reported by @hamster65 (issue #299)
    • โž• Added $Conf{RsyncIncrArgsExtra} (issue #284)
    • โž• Added $Conf{ClientShareName2Path}, which allows mapping of share names/path to real paths on the client (eg, to backup a snapshot that's in a different directory to the share name path)
    • Fixed v3 digest calculation in bin/BackupPC_backupDuplicate and bin/BackupPC_migrateV3toV4; reported by @palmtop (issue #291)
    • ๐Ÿ‘Œ Improved handling of BackupPC_nightly running for more than 24 hours: drop next queued run, and provide better log messages; reported by @guestisp (issue #303)
    • ๐Ÿ‘Œ Improved error checking on $Conf{BackupPCNightlyPeriod}, and update $Info->{NightlyPhase} if it's larger than $Conf{BackupPCNightlyPeriod}; reported by @guestisp (issue #304)
    • ๐Ÿ›  Fixed warnings in bin/BackupPC, submitted by @moisseev (#278)
    • โšก๏ธ Avoid rrd updates using the same time stamp, submitted by @moisseev (#311, issue #305)
    • โœ‚ Removed unused counting of renamed files, submitted by @moisseev (#281)
    • ๐Ÿ“œ Make tar xfer output parsing compatible with FreeBSD tar, submitted by @haarp (#289)
    • ๐Ÿ›  Fix daemon stdin open to read mode, submitted by @moisseev (#308)
    • Hosts config editor table layout CGI fix, submitted by @steven-de-wit (#297)
    • ๐Ÿ›  Fixes to French translation, submitted by @pjoubert- (#295)
    • ๐Ÿ›  Fixes to Italian translation, submitted by @guestisp (#314)
    • โšก๏ธ Updated comments for Apache 2.4 config in httpd/src/BackupPC.conf, submitted by @NotAProfessionalDeveloper (#307)
    • ๐Ÿ“š Documentation update for SCGI prerequisite, submitted by @guestisp (#312)
    • ๐Ÿ“š Documentation update for nginx config, submitted by @guestisp (#313)