You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2003 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2004 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Craig B. <cba...@us...> - 2020-06-22 20:24:00
|
BackupPC 4.4.0 <https://github.com/backuppc/backuppc/releases/tag/4.4.0> has been released on Github. 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 <https://github.com/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 <https://github.com/jooola>, with help from @shancock9 <https://github.com/shancock9> and @moisseev <https://github.com/moisseev>) New versions of BackupPC::XS (0.62 <https://github.com/backuppc/backuppc-xs/releases/tag/0.62>) and rsync-bpc ( 3.0.9.15 <https://github.com/backuppc/rsync-bpc/releases/tag/3.0.9.15>, 3.1.2.2 <https://github.com/backuppc/rsync-bpc/releases/tag/3.1.2.2> or 3.1.3beta0 <https://github.com/backuppc/rsync-bpc/releases/tag/3.1.3beta1>) are required. Thanks to Jeff Kosowsky for extensive testing and debugging for this release, particularly around xattrs. Enjoy! Craig Here are the more detailed changes: - Merged pull requests #325 <https://github.com/backuppc/backuppc/pull/325>, #326 <https://github.com/backuppc/backuppc/pull/326>, #329 <https://github.com/backuppc/backuppc/pull/329>, #330 <https://github.com/backuppc/backuppc/pull/330>, #334 <https://github.com/backuppc/backuppc/pull/334>, #336 <https://github.com/backuppc/backuppc/pull/336>, #337 <https://github.com/backuppc/backuppc/pull/337>, #338 <https://github.com/backuppc/backuppc/pull/338>, #342 <https://github.com/backuppc/backuppc/pull/342>, #343 <https://github.com/backuppc/backuppc/pull/343>, #344 <https://github.com/backuppc/backuppc/pull/344>, #345 <https://github.com/backuppc/backuppc/pull/345>, #347 <https://github.com/backuppc/backuppc/pull/347>, #348 <https://github.com/backuppc/backuppc/pull/348>, #349 <https://github.com/backuppc/backuppc/pull/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 <https://github.com/joola> (#344 <https://github.com/backuppc/backuppc/pull/344>, #347 <https://github.com/backuppc/backuppc/pull/347>) - Tar XferMethod now supports xattrs and acls; xattrs should 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 <https://github.com/joola> (#334 <https://github.com/backuppc/backuppc/pull/334>, #337 <https://github.com/backuppc/backuppc/pull/337>, #342 <https://github.com/backuppc/backuppc/pull/342>, #343 <https://github.com/backuppc/backuppc/pull/343>, #345 <https://github.com/backuppc/backuppc/pull/345>). Thanks to @joola <https://github.com/joola> and @shancock9 <https://github.com/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 <https://github.com/moisseev> (#325 <https://github.com/backuppc/backuppc/pull/325>, #326 <https://github.com/backuppc/backuppc/pull/326>, #329 <https://github.com/backuppc/backuppc/pull/329>, #330 <https://github.com/backuppc/backuppc/pull/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 <https://github.com/backuppc/backuppc/issues/324> reported by @thalueng <https://github.com/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 <https://github.com/rhansen> (#348 <https://github.com/backuppc/backuppc/pull/348>) - Fixed command name in error message in BackupPC_archive, by @rhansen <https://github.com/rhansen> (#349 <https://github.com/backuppc/backuppc/pull/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 <https://github.com/moisseev> (#336 <https://github.com/backuppc/backuppc/pull/336>) - Typo fix in config.pl, by @cure <https://github.com/cure> (#338 <https://github.com/backuppc/backuppc/pull/338>) - Minor documentation updates, removing old SourceForge links |
From: Craig B. <cba...@us...> - 2020-02-19 15:03:36
|
BackupPC 4.3.2 <https://github.com/backuppc/backuppc/releases/tag/4.3.2> has been released on Github. This release has a number of bug fixes and a couple of minor feature additions. The changes since 4.3.1 are listed below. I'd like to thank the folks that contributed to this release, and people who helped debug issues. Enjoy! Craig - Merged pull requests #278 <https://github.com/backuppc/backuppc/pull/278>, #281 <https://github.com/backuppc/backuppc/pull/281>, #289 <https://github.com/backuppc/backuppc/pull/289>, #295 <https://github.com/backuppc/backuppc/pull/295>, #297 <https://github.com/backuppc/backuppc/pull/297>, #307 <https://github.com/backuppc/backuppc/pull/307>, #308 <https://github.com/backuppc/backuppc/pull/308>, #311 <https://github.com/backuppc/backuppc/pull/311>, #312 <https://github.com/backuppc/backuppc/pull/312>, #313 <https://github.com/backuppc/backuppc/pull/313>, #314 <https://github.com/backuppc/backuppc/pull/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 <https://github.com/hamster65> (issue #299 <https://github.com/backuppc/backuppc/issues/299>) - Added $Conf{RsyncIncrArgsExtra} (issue #284 <https://github.com/backuppc/backuppc/issues/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 <https://github.com/palmtop> (issue #291 <https://github.com/backuppc/backuppc/issues/291>) - Improved handling of BackupPC_nightly running for more than 24 hours: drop next queued run, and provide better log messages; reported by @guestisp <https://github.com/guestisp> (issue #303 <https://github.com/backuppc/backuppc/issues/303>) - Improved error checking on $Conf{BackupPCNightlyPeriod}, and update $Info->{NightlyPhase} if it's larger than $Conf{BackupPCNightlyPeriod}; reported by @guestisp <https://github.com/guestisp> (issue #304 <https://github.com/backuppc/backuppc/issues/304>) - Fixed warnings in bin/BackupPC, submitted by @moisseev <https://github.com/moisseev> (#278 <https://github.com/backuppc/backuppc/pull/278>) - Avoid rrd updates using the same time stamp, submitted by @moisseev <https://github.com/moisseev> (#311 <https://github.com/backuppc/backuppc/pull/311>, issue #305 <https://github.com/backuppc/backuppc/issues/305>) - Removed unused counting of renamed files, submitted by @moisseev <https://github.com/moisseev> (#281 <https://github.com/backuppc/backuppc/pull/281>) - Make tar xfer output parsing compatible with FreeBSD tar, submitted by @haarp <https://github.com/haarp> (#289 <https://github.com/backuppc/backuppc/pull/289>) - Fix daemon stdin open to read mode, submitted by @moisseev <https://github.com/moisseev> (#308 <https://github.com/backuppc/backuppc/pull/308>) - Hosts config editor table layout CGI fix, submitted by @steven-de-wit <https://github.com/steven-de-wit> (#297 <https://github.com/backuppc/backuppc/pull/297>) - Fixes to French translation, submitted by @pjoubert- <https://github.com/pjoubert-> (#295 <https://github.com/backuppc/backuppc/pull/295>) - Fixes to Italian translation, submitted by @guestisp <https://github.com/guestisp> (#314 <https://github.com/backuppc/backuppc/pull/314>) - Updated comments for Apache 2.4 config in httpd/src/BackupPC.conf, submitted by @NotAProfessionalDeveloper <https://github.com/NotAProfessionalDeveloper> (#307 <https://github.com/backuppc/backuppc/pull/307>) - Documentation update for SCGI prerequisite, submitted by @guestisp <https://github.com/guestisp> (#312 <https://github.com/backuppc/backuppc/pull/312>) - Documentation update for nginx config, submitted by @guestisp <https://github.com/guestisp> (#313 <https://github.com/backuppc/backuppc/pull/313>) |
From: Craig B. <cba...@us...> - 2019-07-15 01:15:48
|
BackupPC 4.3.1 <https://github.com/backuppc/backuppc/releases/tag/4.3.1> has been released on Github. This release has a number of bug fixes. In addition, rsync-bpc 3.0.9.14 <https://github.com/backuppc/rsync-bpc/releases/tag/3.0.9.14> and rsync-bpc 3.1.2.1 <https://github.com/backuppc/rsync-bpc/releases/tag/3.1.2.1> have been released. Upgrading is recommended. The changes since 4.3.0 are listed below. I'd like to thank the folks that contributed to this release, and people who helped debug issues. Enjoy! Craig #------------------------------------------------------------------------ # Version 4.3.1, 14 Jul 2019 #------------------------------------------------------------------------ - Merged pull request #240 <https://github.com/backuppc/backuppc/pull/240>. - Fixed CGI host summary columns for new Comment value; reported by @karlis-irmejs <https://github.com/karlis-irmejs> (#245 <https://github.com/backuppc/backuppc/issues/245>). - Added support to BackupPC_tarCreate for PAX headers to allow large metadata values to be correctly encoded; reported by @seblu <https://github.com/seblu> (#254 <https://github.com/backuppc/backuppc/issues/254>). - Fixed regexp in BackupPC so that versions like rsync-bpc 3.1.2beta0 are matched. PR submitted by Adrien Ferrand (#240 <https://github.com/backuppc/backuppc/pull/240>). - Added more details to error messages when failing to connect to BackupPC server; reported by @dmak <https://github.com/dmak>(#261 <https://github.com/backuppc/backuppc/issues/261>). - bin/BackupPC Main_Initialize() checks if a BackupPC server is running by trying to connect to it, in addition to existing check that PID exists; reported by @toggoboge <https://github.com/toggoboge> (#264 <https://github.com/backuppc/backuppc/issues/264>). - Fixed utf8 encoded share names in deletion of orphan RsyncShareNames, reported by @Yann79 <https://github.com/Yann79>(#266 <https://github.com/backuppc/backuppc/issues/266>). - Fixed %Conf passing to perl code version of $bpc->cmdSystemOrEval; reported by Jeff Kosowsky. - BackupPC_backupDelete removes files with BPC_FTYPE_DELETED from filled merged backup; reported by Jeff Kosowsky. - added Data::Dumper SortKeys(1) to lib/BackupPC/Storage/Text.pm so that config hash writes have repeatable order; suggested by @kr4ut <https://github.com/kr4ut> (#275 <https://github.com/backuppc/backuppc/issues/275>). - bin/BackupPC_archive: use $bpc->openPCLogFile() instead of manual LOG file rotation - lib/BackupPC/CGI/Archive.pm: create client directory if it doesn't exist |
From: Craig B. <cba...@us...> - 2018-11-26 18:45:23
|
BackupPC 4.3.0 <https://github.com/backuppc/backuppc/releases/tag/4.3.0> has been released on Github. This release has a few new features (eg, checking inode usage on the BackupPC filesystem) and some improvements (eg, html table sorting), in addition to a number of bug fixes. In addition, rsync-bpc 3.0.9.13 <https://github.com/backuppc/rsync-bpc/releases/tag/3.0.9.13> and backuppc-xs 0.58 <https://github.com/backuppc/backuppc-xs/releases/tag/0.58> have been released. Those are very minor updates, and upgrading from rsync-bpc 3.0.9.12 or backuppc-xs 0.57 is not necessary to run BackupPC 4.3.0. The changes since 4.2.1 are listed below. I'd like to thank the folks that contributed to this release, and people who helped debug issues. Enjoy! Craig #------------------------------------------------------------------------ # Version 4.3.0, 25 Nov 2018 #------------------------------------------------------------------------ This release includes a couple of new features (eg, checking inode usage on the BackupPC filesystem) and a few improvements (eg, html table sorting), and several bug fixes: - Merged pull requests #200 <https://github.com/backuppc/backuppc/pull/200>, #208 <https://github.com/backuppc/backuppc/pull/208>, #216 <https://github.com/backuppc/backuppc/pull/216>, #217 <https://github.com/backuppc/backuppc/pull/217>, #229 <https://github.com/backuppc/backuppc/pull/229>, #230 <https://github.com/backuppc/backuppc/pull/230>, #231 <https://github.com/backuppc/backuppc/pull/231>, #232 <https://github.com/backuppc/backuppc/pull/232>, #233 <https://github.com/backuppc/backuppc/pull/233>, #235 <https://github.com/backuppc/backuppc/pull/235>. - Added checking of file system inode usage, with new configuration settings $Conf{DfInodeUsageCmd} and $Conf{DfMaxInodeUsagePct}. - bin/BackupPC_tarExtract: fixes to hardlink handling on incrementals, plus cleanup - bin/BackupPC_backupDuplicate: fixed directory creation for copying v3 backups. - bin/BackupPC_backupDelete: couple of inode-related bug fixes; also do fsck if $Conf{RefCntFsck} != 0. - bin/BackupPC: fixed handling of dhcp hosts, reported by Jean-Marc. - bin/BackupPC: improved version check of rsync_bpc to allow period before "beta", reported by @ktenney <https://github.com/ktenney> in issue #214 <https://github.com/backuppc/backuppc/issues/214>. - Added $Conf{EMailAdminSubject} to allow the admin email subject to be set. - Changed default $Conf{CgiDateFormatMMDD} to 2 (YYYY-MM-DD), submitted by @moisseev <https://github.com/moisseev> (#231 <https://github.com/backuppc/backuppc/pull/231>). - Allow multiple groups in $Conf{CgiAdminUserGroup}, submitted by @moisseev <https://github.com/moisseev> (#235 <https://github.com/backuppc/backuppc/pull/235>). - Improvements to html table sorting, and made more tables sortable, submitted by @brenard <https://github.com/brenard> and @moisseev <https://github.com/moisseev> (issue #199 <https://github.com/backuppc/backuppc/issues/199>, PRs #200 <https://github.com/backuppc/backuppc/pull/200>, #229 <https://github.com/backuppc/backuppc/pull/229>, #230 <https://github.com/backuppc/backuppc/pull/230>, #232 <https://github.com/backuppc/backuppc/pull/232>). - Add action type column to queue status page (#208 <https://github.com/backuppc/backuppc/pull/208>), submitted by @brenard <https://github.com/brenard>. - lib/BackupPC/CGI/Summary.pm: host summary only reports age of completed backups (not partial or active), suggested by Michael Selway. - lib/BackupPC/CGI/HostInfo.pm: show active backup as partial if there is no job running (to handle case of abnormal exit of BackupPC), reported by @8666 <https://github.com/8666> in issue #220 <https://github.com/backuppc/backuppc/issues/220>. - systemd/src/backuppc.service: added ExecReload, submitted by @opoplawski <https://github.com/opoplawski> (#233 <https://github.com/backuppc/backuppc/pull/233>). - lib/BackupPC/Xfer/Rsync.pm: empty $Conf{RsyncdPasswd} is no longer fatal; removed remaining mentions of RsyncdAuthRequired from conf/ config.pl and lib/BackupPC/Config/Meta.pm; reported by @jooola <https://github.com/jooola> in issue #224 <https://github.com/backuppc/backuppc/issues/224>. - bin/BackupPC_dump: moved alarm($Conf{ClientTimeout}) to after all the pre-backup code (including expiry, duplication etc of backups, which could be slow) reported by Michael Selway. - bin/BackupPC_refCntUpdate: added a couple of bpc_progress_state prints to improve status reporting during nightly (-m), reported by Michael Selway. - lib/BackupPC/CGI/RSS.pm: added Disabled value to host info (copied from $Conf{BackupsDisable}); suggested by @danielmotaleite <https://github.com/danielmotaleite> (issue #222 <https://github.com/backuppc/backuppc/issues/222>). - lib/BackupPC/Xfer/Rsync.pm: added checks for a couple of common rsync file error and error exit messages that now increment the xferErrs count. - bin/BackupPC_tarExtract: errors related to a particular file are counted as Xfer errors, rather than considered fatal. - bin/BackupPC_dump: added check that $LogFd is defined before using it. - lib/BackupPC/Lib.pm: replaced exit() with POSIX::_exit() so that object destruction is skipped in the child process. This fixes corruption of the compressed XferLOG file if the exec of $Conf{DumpPostUserCmd} fails. - conf/config.pl: updated project home page to https://backuppc.github.io/backuppc in email message footers. |
From: Craig B. <cba...@us...> - 2018-05-12 17:42:25
|
BackupPC 4.2.1 <https://github.com/backuppc/backuppc/releases/tag/4.2.1> has been released on Github. The changes since 4.2.0 <https://github.com/backuppc/backuppc/releases/tag/4.2.0> are listed below. This release allows the new backup delete CGI feature to be disabled for users and/or admins, plus a couple of minor bug fixes. Enjoy! Craig #------------------------------------------------------------------------ # Version 4.2.1, 7 May 2018 #------------------------------------------------------------------------ This release allows the new backup delete CGI feature to be disabled for users and/or admins, plus a couple of minor bug fixes: - Merged pull request #195 <https://github.com/backuppc/backuppc/pull/195>. - Added new config variable $Conf{CgiUserDeleteBackupEnable} that sets whether users and admins can delete backups via the CGI interface. The default value is 0, which means it's disabled for regular users but available for admins. - Fixed delete backup bug in bin/BackupPC_Admin_SCGI reported by Julian Zielke in issue #193 <https://github.com/backuppc/backuppc/issues/193>. - Added check to dirCacheFlush() in bin/BackupPC_tarExtract to skip files that don't have attributes; reported by Tarak Patel. - Removed extraneous duplicate variable assignment in lib/BackupPC/CGI/GeneralInfo.pm, from @moisseev <https://github.com/moisseev> (#195 <https://github.com/backuppc/backuppc/pull/195>). |
From: Craig B. <cba...@us...> - 2018-04-14 23:11:22
|
BackupPC 4.2.0 <https://github.com/backuppc/backuppc/releases/tag/4.2.0> has been released on Github. The changes since 4.1.5 <https://github.com/backuppc/backuppc/releases/tag/4.1.5> are listed below. The biggest change is a new feature in the web interface written by @moisseev that allows prior backups to be deleted. Enjoy! Craig #------------------------------------------------------------------------ # Version 4.2.0, 8 Apr 2018 #------------------------------------------------------------------------ Merged pull requests #160, #190. * Backups can now be deleted via the CGI interface, written by @moisseev (#160). * bin/BackupPC_backupDelete: added -L option that puts output into client LOG file, to support CGI backup deletion. * Added support for a user-editable comment per host, via a new ClientComment config parameter, requested by @andrewmaksymowsky. * bin/BackupPC_tarExtract: Added support for pax headers, which smbclient uses for long file names * bin/BackupPC_backupDelete: make sure directory exists when renaming tree from deleted backup. * lib/BackupPC/Xfer/Smb.pm: ignore empty output lines from smbclient; fixes issue #159. * bin/BackupPC: improved several of the exit error messages. * lib/BackupPC/Xfer/Rsync.pm: added shareName to RsyncArgs* argument substitutions; suggested by Alex Kobel. * conf/BackupPC_stnd.css: removed import url(' https://fonts.googleapis.com/css....' suggested by @MartijnRas in issue #174. |
From: Craig B. <cba...@us...> - 2017-12-13 19:39:53
|
There were a couple of bugs in rsync-bpc-3.0.9.9 that are fixed in a newly released rsync-bpc-3.0.9.11 <https://github.com/backuppc/rsync-bpc/releases/tag/3.0.9.11>. If you have installed rsync-bpc-3.0.9.9 or rsync-bpc-3.0.9.10, please upgrade to rsync-bpc-3.0.9.11. Craig On Sun, Dec 3, 2017 at 8:28 PM, Craig Barratt < cba...@us...> wrote: > BackupPC 4.1.5 <https://github.com/backuppc/backuppc/releases/tag/4.1.5> has > been released on Github. > > New versions of BackupPC-XS 0.57 > <https://github.com/backuppc/backuppc-xs/releases/tag/0.57> and > rsync-bpc 3.0.9.9 > <https://github.com/backuppc/rsync-bpc/releases/tag/3.0.9.9> have also > been released. BackupPC 4.1.5 requires BackupPC-XS 0.57. > > The cumulative changes including 4.1.4 > <https://github.com/backuppc/backuppc/releases/tag/4.1.4> (released last > week but not announced) are listed below. Upgrading is strongly > recommended. > > Thanks to the multiple contributions and debugging help. > > Enjoy! > > Craig > > #------------------------------------------------------------------------ > # Version 4.1.5, 3 Dec 2017 > #------------------------------------------------------------------------ > > * Changed required BackupPC::XS version from 0.56 to 0.57. > > * bin/BackupPC_dump now updates inodeLast for share being backed up. > > * bin/BackupPC_refCountUpdate: inodeLast is checked and updated during > fsck; > needs BackupPC::XS 0.57. > > #------------------------------------------------------------------------ > # Version 4.1.4, 25 Nov 2017 > #------------------------------------------------------------------------ > > Merged pull requests #99, #121, #125, #131, #133, #134, #137, #148, #149, > #150 > #151, #152, #153, #155, #157, #167 > > * lib/BackupPC/Xfer/Smb.pm: made pipeSMB non-blocking to avoid a > reported deadlock when BackupPC's select() returns ok for reading, > but there are no bytes to read from the client tar's log/stdout > output. Parallel change to lib/BackupPC/Xfer/Tar.pm in 4.1.3. > > * bin/BackupPC_tarCreate and bin/BackupPC_zipCreate: untaint the host name > so they work with setuid under CGI; fixes empty tar or zip files > downloaded via CGI interface (fixes issue #156) > > * bin/BackupPC: fixed BackupPC::XS min version checking and error message, > from @moisseev (#152) > > * bin/BackupPC: added more detailed startup information (perl and BackupPC > version) to log, from @moisseev (#157) > > * bin/BackupPC_rrdUpdate: fixed empty pools hiding from @moisseev (#167) > > * lib/BackupPC/Xfer/Smb.pm: now ignores additional debug messages from > smbclient, and flags lines in the XferLOG it doesn't recognize. > > * lib/BackupPC/CGI/Browse.pm: default display now has the last, rather > than first, share opened. > > * Replaced submit with button so that Enter doesn't activate the Delete > button. Fixes issue #161, reported by Philippe-M. > > * removed commented-out settings for some ftp args (eg, port#) in > lib/BackupPC/Xfer/Ftp.pm; reported by Adam W. > > * bin/BackupPC_backupDelete: only print delta counts if LogLevel is >= 5 > > * bin/BackupPC_tarExtract: fix existing file size count and size > > * lib/BackupPC/CGI/EditConfig.pm: fixed masking of subheadings in > config editor. > > * config/config.pl: added -mSMB3 to $Conf{SmbClientIncrCmd} and > $Conf{SmbClientRestoreCmd}, from @SvenBunge (#99) > > * lib/BackupPC/Xfer/Rsync.pm: improved cleanup of orphan rsyncTmp files > > * In bin/BackupPC_dump, added "share" to __bpc_progress_state__ message so > it is 'backup share "$shareName"'. Patch #150 by @guestisp (issue #143) > > * added share name to log message in lib/BackupPC/CGI/Restore.pm for tar > and zip restore. > > * makeDist: fixed exit code from @moisseev (#153) > > * Added Travis CI configuration from @moisseev (#155) and enabled travis > > * Replaced "Homepage" with "Github" in config.pl and configure.pl from > @moisseev (#121) > > * Spelling fixes, mainly in comments from @ka7 (#125). > > * Fixed comment in config.pl (zh_CH -> zh_CN) from @patch (#131) > > * Fixed German translations from @mainboarder (#133, #134) > > * Fixed minor comment typo in config.pl from @pbe-axelor (#137) > > * Fixed comments in systemd/README from @schuetzm (#138) > > * Fixed Italian translations from @guestisp (#148, #149; issue #142) > > * Fixed incorrect hash key in German translations from @moisseev (#151) > > |
From: Craig B. <cba...@us...> - 2017-12-04 04:29:28
|
BackupPC 4.1.5 <https://github.com/backuppc/backuppc/releases/tag/4.1.5> has been released on Github. New versions of BackupPC-XS 0.57 <https://github.com/backuppc/backuppc-xs/releases/tag/0.57> and rsync-bpc 3.0.9.9 <https://github.com/backuppc/rsync-bpc/releases/tag/3.0.9.9> have also been released. BackupPC 4.1.5 requires BackupPC-XS 0.57. The cumulative changes including 4.1.4 <https://github.com/backuppc/backuppc/releases/tag/4.1.4> (released last week but not announced) are listed below. Upgrading is strongly recommended. Thanks to the multiple contributions and debugging help. Enjoy! Craig #------------------------------------------------------------------------ # Version 4.1.5, 3 Dec 2017 #------------------------------------------------------------------------ * Changed required BackupPC::XS version from 0.56 to 0.57. * bin/BackupPC_dump now updates inodeLast for share being backed up. * bin/BackupPC_refCountUpdate: inodeLast is checked and updated during fsck; needs BackupPC::XS 0.57. #------------------------------------------------------------------------ # Version 4.1.4, 25 Nov 2017 #------------------------------------------------------------------------ Merged pull requests #99, #121, #125, #131, #133, #134, #137, #148, #149, #150 #151, #152, #153, #155, #157, #167 * lib/BackupPC/Xfer/Smb.pm: made pipeSMB non-blocking to avoid a reported deadlock when BackupPC's select() returns ok for reading, but there are no bytes to read from the client tar's log/stdout output. Parallel change to lib/BackupPC/Xfer/Tar.pm in 4.1.3. * bin/BackupPC_tarCreate and bin/BackupPC_zipCreate: untaint the host name so they work with setuid under CGI; fixes empty tar or zip files downloaded via CGI interface (fixes issue #156) * bin/BackupPC: fixed BackupPC::XS min version checking and error message, from @moisseev (#152) * bin/BackupPC: added more detailed startup information (perl and BackupPC version) to log, from @moisseev (#157) * bin/BackupPC_rrdUpdate: fixed empty pools hiding from @moisseev (#167) * lib/BackupPC/Xfer/Smb.pm: now ignores additional debug messages from smbclient, and flags lines in the XferLOG it doesn't recognize. * lib/BackupPC/CGI/Browse.pm: default display now has the last, rather than first, share opened. * Replaced submit with button so that Enter doesn't activate the Delete button. Fixes issue #161, reported by Philippe-M. * removed commented-out settings for some ftp args (eg, port#) in lib/BackupPC/Xfer/Ftp.pm; reported by Adam W. * bin/BackupPC_backupDelete: only print delta counts if LogLevel is >= 5 * bin/BackupPC_tarExtract: fix existing file size count and size * lib/BackupPC/CGI/EditConfig.pm: fixed masking of subheadings in config editor. * config/config.pl: added -mSMB3 to $Conf{SmbClientIncrCmd} and $Conf{SmbClientRestoreCmd}, from @SvenBunge (#99) * lib/BackupPC/Xfer/Rsync.pm: improved cleanup of orphan rsyncTmp files * In bin/BackupPC_dump, added "share" to __bpc_progress_state__ message so it is 'backup share "$shareName"'. Patch #150 by @guestisp (issue #143) * added share name to log message in lib/BackupPC/CGI/Restore.pm for tar and zip restore. * makeDist: fixed exit code from @moisseev (#153) * Added Travis CI configuration from @moisseev (#155) and enabled travis * Replaced "Homepage" with "Github" in config.pl and configure.pl from @moisseev (#121) * Spelling fixes, mainly in comments from @ka7 (#125). * Fixed comment in config.pl (zh_CH -> zh_CN) from @patch (#131) * Fixed German translations from @mainboarder (#133, #134) * Fixed minor comment typo in config.pl from @pbe-axelor (#137) * Fixed comments in systemd/README from @schuetzm (#138) * Fixed Italian translations from @guestisp (#148, #149; issue #142) * Fixed incorrect hash key in German translations from @moisseev (#151) |
From: Craig B. <cba...@us...> - 2017-06-05 00:44:38
|
BackupPC 4.1.3 <https://github.com/backuppc/backuppc/releases/tag/4.1.3> has been released on Github. New versions of BackupPC-XS 0.55 <https://github.com/backuppc/backuppc-xs/releases/tag/0.55>, rsync-bpc 3.0.9.7 <https://github.com/backuppc/rsync-bpc/releases/tag/3.0.9.7> and cygwin-rsyncd 3.1.2.1 <https://github.com/backuppc/cygwin-rsyncd/releases/tag/3.1.2.1> have also been released. There are several bug fixes; see below. Upgrading is strongly recommended. Thanks to Matt Bedynek, Cody Jackson, Lano and Dieter Fauth helping track down some bugs. Enjoy! Craig * Merged pull requests: #109, #114 * Fixed editing of compound menu variables (eg: BackupFilesOnly). * Made tarPipe in lib/BackupPC/Xfer/Tar.pm non-blocking to avoid a reported deadlock when BackupPC's select() returns ok for reading, but there are no bytes to read from the client tar's log/stdout output. Thanks to Matt Bedynek for running various tests and providing debugging insights to track this down. * Better error checking when using $f->read() on pool files. Thanks to Cody Jackson for tracking down this issue, related to reading corrupted compressed pool files. There's also an additional fix in backuppc-xs (version 0.54). * Cleans up any orphan temporary pool writing files. * Fixed utf-8 output in SCGI. * Fixed a reference counting bug in BackupPC_tarExtract. * Fixed rsync restore transfer byte total, reported by Alexander Moisseev * Replaced logo href with https://backuppc.github.io/backuppc. * On a v3->v4 upgrade, remove the new --one-file-system flag from the new RsyncArgs if it wasn't there before. * Added /usr/local/bin to search path in configure.pl from Alexander Moisseev (#109). * Avoid missing or extra quotes when replacing misused undef or empty string values in configure.pl from Alexander Moisseev (#114). * Chasing down a still unsolved bug with help from Lano and Dieter Fauth where newly added pool files in uncompressed backups get removed by BackupPC_refCountUpdate during a long-running backup, or if BackupPC_migrateV3toV4 is running. Two workarounds added in this release: BackupPC_migrateV3toV4 will now exit if BackupPC is running, and BackupPC_refCountUpdate only removes pool files that are more than a week old. |
From: Craig B. <cba...@us...> - 2017-05-03 01:15:07
|
BackupPC 4.1.2 <https://github.com/backuppc/backuppc/releases/tag/4.1.2> has been released on Github. BackupPC 4.1.2 is a bug fix release, with a few minor new features. The changes are listed below. Thanks to everyone who helped track down bugs and/or provided pull requests. Craig - Merged pull requests: #93, #94, #97, #102 - Fixed NetBios lookup of hosts, reported by Doug Lytle. - Fixed bin/BackupPC_tarExtract and lib/BackupPC/Xfer/Ftp.pm in case where a directory tree is no longer present in a new backup. Reported by Jens Potthast and Matt Bedynek. - Fixed SCGI when BackupPC is run in non-daemon mode (which is the systemd default starting in 4.1.1). - $Conf{ClientNameAlias} can now be an array of hostnames; the first one that succeeds ping is used for the backup or restore. From martintamare (#94). - Fixed status link in SCGI server, improved the navigation tab (now it doesn't scroll) and some css/html cleanup; from Nicholas Hall (#97). - Fixed logic in bin/BackupPC_dump for $Conf{FixedIPNetBiosNameCheck} to prevent netbios name check; from Nicholas Hall (#102). - Fixed config editor bug in sub-entries of hash config variables, related to SCGI. - Fixed rsync restore of a top-level directory when the share is "/", reported by Ray Frush. - Increased $Conf{FullKeepCnt}[0] by 1 in expiry calculations, so the most recent filled backup effectively isn't counted for expiry. This improves the behavior, particularly when $Conf{FullKeepCnt} = 1. - Rsync transfers now use --timeout=$Conf{ClientTimeout} instead of using an alarm based on rsync log output, suggested by ACR. - added --delete-excluded and --one-file-system to $Conf{RsyncArgs}. - Removed extra quotes from $Conf{CgiURL} in configure.pl from Alexander Moisseev (#93). Also added $DestDir to some print messages in configure.pl. - BackupPC_dump and BackupPC_restore now support the -p option to turn off progress reports. The old -p (inplace) option to BackupPC_tarExtract is now -P. - Backup directory mtime is now set to the backup endTime. - Updated FSF address in cgi-bin/BackupPC_Admin, reported by TomCat42 (#91). |
From: Craig B. <cba...@us...> - 2017-03-30 16:22:22
|
BackupPC 4.1.1 <https://github.com/backuppc/backuppc/releases/tag/4.1.1> has been released on Github. BackupPC 4.1.1 is a bug fix release. There are several minor bug fixes listed below. Craig * Merged pull requests: #77, #78, #79, #82 * Added missing BackupPC_migrateV3toV4 to makeDist (issue #75) reported by spikebike. * Fixed divide-by-zero in progress % report in BackupPC_migrateV3toV4 (issue #75) reported by spikebike. * In lib/BackupPC/Lib.pm, if Socket::getaddrinfo() doesn't exist (ie, an old version of Socket.pm), then default to ipv4 ping. * Updates to configure.pl to make config-path default be based on config-dir (#79), prepended config-path with dest-dir, fixing a config.pl merge bug affecting $Conf{PingPath} reported by Richard Shaw, and a few other fixes. * Updated required version of BackupPC::XS to 0.53 and rsync_bpc to 3.0.9.6. * Minor changes to systemd/src/init.d/gentoo-backuppc from sigmoidal (#82). * Added RuntimeDirectory to systemd/src/backuppc.service. * Use the scalar form of getpwnam() in lib/BackupPC/CGI/Lib.pm and lib/BackupPC/Lib.pm |
From: Craig B. <cba...@us...> - 2017-03-25 01:10:17
|
BackupPC community, I'm happy to announce that BackupPC 4.1.0 has been released on Github <https://github.com/backuppc/backuppc/releases>. There are also new versions of BackupPC::XS <https://github.com/backuppc/backuppc-xs/releases> (0.53) and rsync-bpc <https://github.com/backuppc/rsync-bpc/releases> (3.0.9.6). on Github. There are a few new features and important bug fixes, including: - BackupPC_migrateV3toV4 optionally allows old 3.x backups to be migrated to 4.x format, eliminating the hardlinks used by 3.x. (BackupPC 4.x can view/browse/restore 3.x backups, so it's not necessary to run BackupPC_migrateV3toV4) - modern CSS (from Ernesto Carrea) - fixes to rsync restore (from Stephen Joyce) - fixes to exponential backup expiry (from Alexander Moisseev) - added template systemd files - configure.pl adds a --config-only option for package builders (from Alexander Moisseev) If you are using 4.0.0, upgrading is strongly recommended. After installing those two packages, BackupPC 4.1.0 can be installed from the tar ball with: tar zxf BackupPC-4.1.0.tar.gz cd BackupPC-4.1.0 perl configure.pl See the README.md, ChangeLog and doc/BackupPC.html <http://backuppc.sourceforge.net/BackupPC-4.0.0.html> files for more information. An overview of the changes is below. Thanks for to everyone who provided fixes and reported issues. Enjoy! Craig * Merged pull requests: #17, #44, #59, #60, #61, #62,#68, #69, #73, #74 * Fixed certain rsync restores, based on patch from Stephen Joyce. * Improvements to Gentoo init.d script (#69) from sigmoidal. * Fixed exponential backup expiry algorithm, submitted by Alexander Moisseev (#17). * Added --config-only option to configure.pl, from Alexander Moisseev (#62). * Ensure $? is 0 in bin/BackupPC_dump UserCommandRun() if no command is run, reported and proposed fix by stirab (issue #67). * configure.pl replaces SourceForge links in $Conf{CgiNavBarLinks} with new Github links. * Added BackupPC_migrateV3toV4 that migrates old V3 backup storage to V4, eliminating hardlinks. The forward merging of V3 incrementals is not changed; just the backup tree is updated to use V4 attrib files, and the linked V3 files are removed. Thanks to Michael Huntley for testing. * Renamed init.d to systemd, added systemd/src/backuppc.service template * Replaced CSS file with new BackupPC_stnd.css from Ernesto Carrea (#59,#73). Renamed old ones to conf/BackupPC_retro_v2.css and conf/BackupPC_retro_v3.css. * Updated lib/BackupPC/DirOps.pm with more robust checking that IO::Dirent works. Matches similar changes to 3.x that didn't make it into 4.x. Fixes issue #56. * BackupPC_refCountUpdate handles case of empty backups better. It creates a noPoolCntOk file if there are legitimately no poolCnt files after running. Reported by Alexander Kobel. * Fixed umask() in child processes (issue #58) reported by Alexander Moisseev. |
From: Craig B. <cba...@us...> - 2017-03-04 19:13:03
|
BackupPC community, I'm happy to announce that BackupPC 4.0.0 has been released on Github <https://github.com/backuppc/backuppc/releases> and SourceForge <https://sourceforge.net/projects/backuppc/files/backuppc/4.0.0/>. BackupPC 4.0.0 is a significant improvement over 3.x in terms of performance and storage efficiency. It is backward compatible with 3.x storage, so it can be used to upgrade an existing V3 installation as well as for brand new installs. BackupPC 4.0.0 requires the perl module BackupPC::XS <https://github.com/backuppc/backuppc-xs/releases> (>= 0.50) and rsync-bpc <https://github.com/backuppc/rsync-bpc/releases> (>= 3.0.9.5). After installing those two packages, BackupPC 4.0.0 can be installed from the tar ball with: tar zxf BackupPC-4.0.0.tar.gz cd BackupPC-4.0.0 perl configure.pl See the README.md, ChangeLog and doc/BackupPC.html <http://backuppc.sourceforge.net/BackupPC-4.0.0.html> files for more information. An overview of the major changes is below. Thanks for to everyone who provided fixes and reported issues with the alpha and github versions. Enjoy!! Craig Here's a summary of the most significant changes in V4: - No use of hardlinks (except temporarily to do atomic renames). Reference counting is handled at the application level in a batch manner (hardlinks will still remain for any legacy V3 backups). - Backups are stored as "reverse deltas" - the most recent backup is always filled and older backups are reconstituted by merging all the deltas starting with the nearest 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-level incremental backup, or the last full in the case of rsync). - Since the most recent backup is filled, viewing/restoring that backup (which is the most common backup used) doesn't require merging any deltas from other backups. - The concepts of incr/full backups and unfilled/filled storage are decoupled. The most recent backup is always filled. By default, for the remaining backups, full backups are filled and incremental backups are unfilled, but that is configurable. - Uses full-file MD5 digests, which are stored in the directory attrib files. Each backup directory only contains an empty attrib file whose name includes its own MD5 digest, which is used to look up the attrib file's contents in the pool. In turn, that file contains the metadata for every file in that directory, including each files's MD5 digest. - The Pool layout still supports chains to handle md5 collisions. While collisions can 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 is not filled). - The reverse deltas allow "infinite incrementals" - no need for a full backup if you are willing to trade speed for the risk that a file change will not be detected if the metadata (eg, mtime or size) doesn'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 to check 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 more conservative approach, you can change it back to --ignore-times, which requires the server to send block checksums to the client. - The use of rsync --checksum allows BackupPC to guess a potential match anywhere in the pool, even on a first-time backup. In that case, the usual rsync block checksums are still exchanged to make sure the complete file is identical. - Uses a modified rsync called rsync_bpc (currently based on rsync-3.0.9) on the server side (in place of File::RsyncP), with a C code interface to the BackupPC storage. So the whole data path for rsync is now in compiled C code, which is much faster than perl. - Due to the use of rsync-3.X, acls and xattrs are supported, and many other useful options (but not all) are supported. Rsync protocol 30 supports the efficient incremental file list, which significantly improves memory usage and startup time. It also supports MD5 full-file checksums, which match BackupPC's new digest. That allows a full-file digest to be checked as easily as an mtime on the server side. - Significant portions of the BackupPC code are now compiled C code in a new module called BackupPC::XS that is dynamically linked to perl. - V3 migration: nothing specific is needed. V4 can browse/view/restore V3 backups. When you install V4, no changes are made to any V3 backups. If you are upgrading from V3, be sure to set $Conf{PoolV3Enabled} to 1 so the old V3 pool is searched for matching files. - When you install V4, it will notice that the V3 pool exists. Running configure.pl should set $Conf{PoolV3Enabled} to 1 in that case, but you should be sure to check that. - When a V4 backup is first done, BackupPC_backupDuplicate is run to duplicate the most recent V3 backup to create a new V4 backup. A "filled" view of the most recent V3 backup is used to create a "filled" V4 backup tree. - This step could be time consuming, since every file needs to be read (as a V3 file) and written as a V4 file. However, the V4 pooling code knows about the V3 pool, so it will move the V3 pool file into the V4 pool. So this duplication process doesn't burn a lot of pool storage space, but every file still needs to be read (to compute the MD5 digest) and "written" (really just matching/linking). - Expiry: all the V3 + V4 backups are considered on a combined basis for expiry checking. - On a clean new V4 install, the steps of computing and checking V3 digests is eliminated. |
From: Craig B. <cba...@us...> - 2017-02-03 02:54:04
|
I'm pleased to announce that BackupPC 3.3.2 was released a few days ago on Github <https://github.com/backuppc/backuppc/releases> and SF.net <http://backuppc.sourceforge.net/>. It's a minor release with a couple of small changes. The ChangeLog is below. Craig #------------------------------------------------------------------------ # Version 3.3.2, 25 Jan 2017 #------------------------------------------------------------------------ * Updates to bin/BackupPC_dump and lib/BackupPC/Xfer/Smb.pm from maksyms to fix incompatabilities with Samba 4.3 (#22) * Sort hash of config editor tabs in lib/BackupPC/CGI/EditConfig.pm from polo (#23) * Fixes to bin/BackupPC_sendEmail to avoid per-host overwrite of EMailAdminUserName from derrickdominic (#30) * Fixed minor typos in several language files; from Alexander Moisseev * Updated deprecated syntax (defined(@array) and "{" in regexps) from Alexander Moisseev. * Documentation updates from Alexander Moisseev. |
From: Craig B. <cba...@us...> - 2015-01-18 18:25:08
|
I'm pleased to announce that BackupPC 3.3.1 was released a few days ago on SF.net. It's a minor release with a couple of small changes. The ChangeLog is below. Craig #------------------------------------------------------------------------ # Version 3.3.1, 11 Jan 2015 #------------------------------------------------------------------------ * Added more helpful text (instead of "New Key") for BackupFilesOnly and BackupFilesExclude in the CGI editor. * Removed deprecated defined(@Backups) from lib/BackupPC/CGI/Browse.pm; patch from Alexander Moisseev. * Updated Spanish language file lib/BackupPC/Lang/es.pm from Luis Bustamante. * Updated init.d/debian-backuppc from Eduardo Díaz Rodríguez. |
From: Craig B. <cba...@us...> - 2013-07-14 22:03:29
|
Thanks to Ray Frush, I have released a new version of cygwin-rsyncd, the cygwin-based rsync for WinXX-based client machines. As users have noted, the prior version is many years old. The released files can be found on SF.net at: https://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0/ Download and run cygwin-rsyncd-3.0.9.0_installer.exe to install rsyncd on your WinXX client for doing BackupPC backups. The NSIS installer (see nsis.sourceforge.net) is used to wrap everything into a single .exe. This is based on the cwRsync installer, adapted by Ray. Download cygwin-rsyncd-3.0.9.0_source.zip if you want to customize and build your own cygwin-rsyncd installer executable (eg: presetting some configuration parameters specific to your site). You will need to download and run NSIS to build the installer executable. This distribution includes rsync 3.0.9, a handful of cygwin 1.7.13 libraries and blat (a utility for sending a notification email upon install, using a batch script notify.bat, which is commented out by default). It was built using NSIS 3.0a0. cygwin-rsyncd-3.0.9.0 will work with both BackupPC 3.x and 4.x. For the new BackupPC 4.x, rsync 3.0.x is strongly recommended on the client side (versus rsync 2.x), since some optimizations like matching full-file md5 digests only work with rsync 3.0.x. Also, rsync 3.0.x (and BackupPC4 rsync_bpc on the server side) both support rsync's incremental file list, which avoids the need to store the entire file list in memory (which was a drawback of rsync 2.x for big transfers). Craig |
From: Craig B. <cba...@us...> - 2013-06-24 01:11:05
|
BackupPC community, I'm pleased to announce that BackupPC 4.0.0alpha0 has been released on SourceForge at: https://sourceforge.net/projects/backuppc/files/backuppc-beta/4.0.0alpha0/ 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-3.0.9.0.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 counting is handled at the application level. - Backups are stored as "reverse deltas" - the most recent backup is always filled and older backups are reconstitued by merging all the deltas starting with the nearest 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-level incremental backup, or the last full in the case of rsync). - Since the most recent backup is filled, viewing/restoring that backup (which is the 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 collisions can 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 is not filled). - The reverse deltas allow "infinte incrementals" - no need for a full backup if you are willing to trade speed for the risk that a file change will not 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 to check 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 more conservative approach, you can change it back to --ignore-times, which requires the server to send block checksums to the client. - The use of rsync --checksum allows BackupPC to guess a potential match anywhere in the pool, even on a first-time backup. In that case, the usual rsync block checksums are still exchanged to make sure the complete file is identical. - Uses rsync-3.0.9 on the server side (in place of File::RsyncP), with a C code layer to interface to the BackupPC storage. So the whole data path 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 other useful options (but not all) are supported. Rsync protocol 30 supports the efficient incremental file list, which significantly improves memory usage and startup time. It also supports MD5 full-file checksums, which match BackupPC's new digest. That allows a full-file digest to be checked as easily as an mtime on the server side. - Significant portions of the BackupPC code are now compiled C code in a new module called BackupPC::XS that is dynamically linked to perl. - FTP Xfer method isn't supported yet. |
From: Craig B. <cba...@us...> - 2013-04-15 01:05:42
|
I just released BackupPC 3.3.0 on SF.net. It is mostly minor bug fixes, with three additional languages and a couple of small features. Sorry about the long delay, but I've been pretty busy the last few years... Thanks to everyone who submitted patches or improvements, and also for the on-going excellent support on the email lists. I'm attaching the ChangeLog. Craig #------------------------------------------------------------------------ # Version 3.3.0, 14 Apr 2013 #------------------------------------------------------------------------ * Changed restore file name from restore.{zip|tar} to restore_$host_YYYY-MM-DD.{zip|tar}, where the date is the start date of the backup. Originally suggested by Brad Alexander, with a healthy debate among Les, Holger, Jeffrey, Adam, Carl and others. * Changed the timeStamp2 function in lib/BackupPC/CGI/Lib.pm so that times more than 330 days ago also include the year. More recent times continue to use just the day of month and month. * Made the directory path display (when browsing backups or history) a sequence of links, allowing any parent directory to be quickly selected. * Added Japanese language file lib/BackupPC/Lang/ja.pm submitted by Rikiya Yamamoto. * Added Ukrainian language file lib/BackupPC/Lang/uk.pm submitted by Serhiy Yakimchuck. * Added Russian language file lib/BackupPC/Lang/ru.pm submitted by Sergei Butakov. * Patch from Alexander Moisseev that fixed file name encodings in zip files. The default charset is now utf8. Added a menu option to override the codepage. * Removed -N option from smbclient command in conf/config.pl to remain compatible with more recent versions (3.2.3 and later) of smbclient. Reported and discussed by various people on the mail list, most recently by Jeff Boyce, Les Mikesell and Holger Parplies. Alexander Moisseev also submitted a patch. Using smbclient >= 3.2.3 with the -N option will give a "tree connect failed: NT_STATUS_ACCESS_DENIED" error. * Reapplied a patch from Tyler Wagner for lib/BackupPC/CGI/HostInfo.pl so that empty email status info doesn't appear. Somehow this missed 3.2.1. * Fixed check on $parfile in bin/BackupPC_archiveHost since it is numeric. Fix submitted by Tim Massey. * Ensure $num is numeric in lib/BackupPC/CGI/View.pm error message to avoid XSS attack. Report and patch by Jamie Strandboge. * Ensure $num and $share in lib/BackupPC/CGI/RestoreFile.pm error messages are escaped, to avoid XSS vulnerability. Report and patch by Jamie Strandboge. Also added some additional error checking and tweaked the handling of the invalid number error message. * Fixed qw(...) deprecated syntax warnings in lib/BackupPC/Storage/Text.pm and lib/BackupPC/Lib.pm. Patch supplied by Juergen Harms. Also got a patch from Alexander Moisseev and report from Richard Shaw. * Fixed error in bin/BackupPC_sendEmail that caused accumulation of per-host errors in the admin email to be skipped if a host's user is not defined. Reported by Marco Dalla Via. * Fixed lib/BackupPC/CGI/RSS.pm so that the base_url is correct for https. Report and fix by Samuel Monsarrat. * Added more careful checking that IO::Dirent returns valid inodes and file types. Suggested by Daniel Harvey. * Removed redundant setting of $Lang{CfgEdit_Title_Other} from all the Lang files. * Applied couple of fixes to Lib.pm suggested by Jeffrey Kosowsky for special case of where configuration commands are fragments of perl code. |
From: Craig B. <cba...@us...> - 2011-05-29 23:41:55
|
Over the last year there has been some interesting work in discovering softlink vulnerabilities that affect tar and rsync. The implication for BackupPC is significant - these vulnerabilities are exposed in the typical manner that BackupPC uses tar and rsync - in particular, due to the elevated privileges used to run tar and rsync on the client. This email summarizes the issue and what steps can be taken to minimize the exposure. The issue is actually quite a fundamental one that results from how many utilities traverse a file system. Typically each directory is opened and read, and then for each entry in that directory the file is processed or sub-directories are recursed. If a softlink is encountered, the link contents is read by tar and rsync, but by default not followed. However, there is a race condition between the reading of the directory and subsequent processing of the files in that directory. The reason is that each file is referred to by name, typically by concatenating the directory path with the file. However, if a higher level directory is replaced by a symbolic link after the directory read, but before each directory entry is read, files elsewhere across the file system will be read instead. If tar or rsync are running as root, then important system files can be incorrectly read and backed up by tar or rsync. Since BackupPC doesn't enforce client user permissions when browsing a backup, any authorized user can read any of the backup files, including ones that should only be visible with elevated privileges. There are similar issues on the write (ie: restore) side of things. If a directory is replaced by a symbolic link as tar or rsync write to files below that directory, then arbitrary files elsewhere in the file system can be overwritten during restore. An overview of the issue and examples of exploiting these vulnerabilities are here: http://www.halfdog.net/Security/2010/FilesystemRecursionAndSymlinks If you look at recent tar documentation in section 10 you will see a discussion of these kinds of issues: http://www.gnu.org/software/tar/manual/html_node/Reliability-and-security.html#SEC168 In general there are various vulnerabilities that can occur when a live file system is being read or written by utilities like tar and rsync, especially when they are running as root. This issue certainly affects BackupPC, since most commonly tar and rsync are run as root on the client. I do not know if these issues also occur on WinXX using rsync/cygwin, but it is likely they do. What steps should you take to minimize the impact of this issue? First, tar has been fixed as of 1.24 to avoid several of the race conditions on read. The fixes involved using alternate OS calls for reading/writing directories or files that unambiguously refer to the directory in which they reside (rather than referring to them traditionally via paths). It's not clear whether rsync will adopt this same fix. However, on write (restore), you cannot avoid the basic issue of the underlying filesystem changing in a devious manner. Here are some suggested remedies. For backups, you need to be aware that the read vulnerability can be used to allow protected files to be included in a backup in parts of the tree that would typically not include those files. You can avoid this read vulnerability by: - If you can backup from a snapshot then there are no read race conditions since the snapshot is frozen. - If you are using the tar xfer method, upgrade to tar 1.24+ on your linux/unix clients. - Don't run tar or rsync as root when you are backing up any directories that untrusted users can write to. An untrusted user could use the read vulnerability to backup and then view privileged files (ie: files that can only be read by root). If you can't do any of those: - If it's not possible or convenient to run tar or rsync as a regular user, then make sure any untrusted users cannot view or restore the backups. - If an untrusted user asks you to restore a backup, you *should* run the restore as root, so that any illegitimate files will be restored with their correct permissions, and therefore not be available to the untrusted user to read after restore. But you must restore to a new, protected, location and then rename the top-level directory to its correct location. For restores: - Disable direct restore by untrusted users on your linux/unix clients, unless you configure it to run as a regular user. This removes the ability for them to exploit the write vulnerability during restore. - When you restore, always restore to a new, protected directory, and after the restore is done, move/rename the directory to the restore location. Otherwise, an untrusted user can ask you to start a restore and if it is done in place then they can exploit the write vulnerability. If you manually run a command like cp -a restoreDir/* origDir as root, this will also expose you to some of the write vulnerabilities. Craig |
From: Craig B. <cba...@us...> - 2011-05-09 01:16:26
|
BackupPC 3.2.1 has been released on SF.net. It is a bug fix release for 3.2.0. The ChangeLog is appended. Craig #------------------------------------------------------------------------ # Version 3.2.1, 24 Apr 2011 #------------------------------------------------------------------------ * Ensure $num is numeric in lib/BackupPC/CGI/Browse.pm to avoid XSS attack. Report and patch by Adam E. * Fixed application of "*" in $Conf{BackupFilesOnly} and $Conf{BackupFilesExclud} for 2nd and later shares. Reported by Alessandro and Alexander Maringer. * Fixed email status check in lib/BackupPC/CGI/HostInfo.pl so that empty email info doesn't appear; reported by Wayne Trevena, and based on patch from Tyler Wagner. * Several fixes to FTP xfer mode related to file excludes, from Dave Pearce. * Wrapped eval() around unpack() in lib/BackupPC/Attrib.pm to avoid failures on corrupted attrib files; patch from Tim Connors. * Applied documention patch from Alexander Moisseev. |
From: Craig B. <cba...@us...> - 2010-08-02 16:51:25
|
BackupPC 3.2.0 has been released on SF.net. This release contains a few new features and significant number of bug fixes. Some of the new features are: * Added FTP xfer method, implemented by Paul Mantz. * Moved setting of $bpc->{PoolDir} and $bpc->{CPoolDir} after the config file is read in BackupPC::Lib, which fixes a long standing problem. Fix proposed by Tim Taylor and Joe Krahn, and rediscovered by several others including Holger Parplies. * Added more options to server backup command: rather than just forcing an incremental or full backup, a regular (auto) backup can be queued (ie: do nothing/incr/full based on schedule), as well as doing just an incremental or full or nothing based on the client schedule. Based on patches submitted by Joe Digilio. * Added $Conf{CmdQueueNice} to specify nice level for command queue commands (eg: BackupPC_link and BackupPC_nightly). Suggested by Carl Soderstrom. * Changed bin/BackupPC_dump to not ping or lookup the host if $Conf{BackupsDisable} is set. Requested by John Rouillard. * Added variable substitution for host, confDir, client in RsyncArgs, and also added option RsyncArgsExtra to allow more easy customization of RsyncArgs on a per-client basis. Proposed (with patch) by Raman Gupta. * Added Xfer error column to the host summary table in the CGI interface. Based on patch submitted by Jan Kratochvil. There is also a new version 0.70 of File::RsyncP that fixes an issue on ARM targets. See the attached ChangeLog showing the cumulative changes since 3.1.0. Enjoy! Craig #------------------------------------------------------------------------ # Version 3.2.0, 31 Jul 2010 #------------------------------------------------------------------------ * Fixed code that detects duplicate shares in bin/BackupPC_dump * Added fix to lib/BackupPC/Zip/FileMember.pm to avoid bug in Archive::Zip 1.30 when creating compressed archives. * Added Czech translation from Petr Pokorny. #------------------------------------------------------------------------ # Version 3.2.0beta1, 24 Jan 2010 #------------------------------------------------------------------------ * Fixed FTP xfer method, with help from Holger Parplies and Mirco Piccin. FTP restores are still not supported. * Fixed bug in BackupPC_sendEmail where a user only receives email about one host. * Fixed bug where top-level attrib file was linked into the pool with the wrong digest, caused by it being updated multiple times with multiple shares. Reported by Jeff Kosowsky who also supplied a patch. * Fixed bug in blackout calculation when multiple periods span midnight. Report and patch from Joachim Falk. * Wrapped eval {} around attribute unpacking to make it more robust to data corruption. Path submitted by Tim Connors. * Ignore fileType 8 and 9 in BackupPC_tarCreate rather than consider then errors. These are sockets and unknown (eg: solaris door) files that are created dynamicaly by applications - there is no meaningful restore for these file types. * Changed lib/BackupPC/Lib.pm and lib/BackupPC/Storage/Text.pm based on patches from Davide Brini and Holger Parplies so that main config %Conf values are available in the host config file, allowing more flexibility in perl expressions in the config files. Users beware, since the CGI editor won't work correctly if the config file have perl expressions. * Obscure password values in LOG file when CGI editor is used to change values. Proposed by Steve Ling. * Added favicon.ico from Axel Beckert. Thanks to Tyler Wagner for submitting another version and reminding me about the first. * Replace "sort(HostSortCompare keys(%$Hosts))" with "sort HostSortCompare keys(%$Hosts)" in bin/BackupPC to avoid an error with certain versions of perl. * Fixed $Conf{XX} links in the BackupPC.html and the CGI editor so they correctly reference the definition. * Support ${VAR} style variable substitution in commands, in addition to existing $VAR style. Suggested by Jeffrey Kosowsky. * Clarified usage of -b and -w options to BackupPC_tarCreate. Submitted by Michael Selway. * Repaired Unable_to_connect_to_BackupPC_server Lang string and added new string Unable_to_connect_to_BackupPC_server_error_message. Proposed and explained by Holger Parplies. * Added 'use utf8' to lib/BackupPC/Lang/pl.pm. Reported by Michal Sawicz. * Minor updates to lib/BackupPC/Lang/fr.pm from Hubert Tournier. * Minor update to lib/BackupPC/Lang/en.pm from David Relson. #------------------------------------------------------------------------ # Version 3.2.0beta0, 5 April 2009 #------------------------------------------------------------------------ * Added BackupPC::Xfer::Protocol as a common class for each Xfer method. This simplifies some of the xfer specific code. Implemented by Paul Mantz. * Added FTP xfer method, implemented by Paul Mantz. * Added BackupPC::Xfer module to provide a common interface to the different xfer methods. Implemented by Paul Mantz. * Moved setting of $bpc->{PoolDir} and $bpc->{CPoolDir} after the config file is read in BackupPC::Lib. Fix proposed by Tim Taylor and Joe Krahn, and rediscovered by several others including Holger Parplies. * Create $TopDir and related data directories in BackupPC_dump prior to hardlink test. Requested by Les Stott. * Fixed encoding of email subject header in bin/BackupPC_sendEmail as suggested by Jean-Claude Repetto. Also changed $Conf{EMailHeaders} charset to utf-8. Also changed bin/BackupPC_sendEmail to not send any per-client email if $Conf{BackupsDisable} is set. * Modified bin/BackupPC_dump to fix the case of a single partial backup followed by a successful incremental resulting in a full backup of level 1, rather than level 0. Reported by Jeff Kosowsky. * Fixed BackupPC::PoolWrite to always create the parent directory. This fixed a case with rsync/rsyncd where a file like "-i" in the top-level directory sorts before ".", which meant the directory creation is after the file creation. Also PoolWrite errors now increment xferError count. Reported by Jeff Kosowsky. * BackupPC now gives a more useful error message if BackupPC_nightly takes more than 24 hours (ie: when the next one is meant to start). Reported by Tony Schreiner. * Fixed IO::Dirent run-time check. Reported by Bernhard Ott and Tino Schwarze debugged it. * Added more options to server backup command: rather than just forcing an incremental or full backup, a regular (auto) backup can be queued (ie: do nothing/incr/full based on schedule), as well as doing just an incremental or full or nothing based on the client schedule. Based on patches submitted by Joe Digilio. * Modified lib/BackupPC/CGI/RSS.pm to replace \n with \r\n in the RSS http response headers. Patch submitted by Thomas Eckhardt. * Modified bin/BackupPC_archive to allow the archive request file name to contain spaces and dashes, requested by Tim Massey. * Fix to configure.pl for --no-fhs case to initialize ConfigDir from Dan Pritts. Also changed perl path to #!/usr/bin/env perl. * Modified bin/BackupPC_archiveHost to shell escape the output file name. That allows it to contain spaces and other special characters. Requested by Toni Van Remortel. Also updated bin/BackupPC_archiveHost to shell escape and check other arguments. * Added $Conf{CmdQueueNice} to specify nice level for command queue commands (eg: BackupPC_link and BackupPC_nightly). Suggested by Carl Soderstrom. * Added --config-override to configure.pl, allow config settings to be set on the command line. Proposed by Les Stott and Holger Parplies. * Moved call to NmbLookupFindHostCmd in BackupPC_dump to after the check of whether a backup needs to be done. This makes wakeonlan work correctly, rather than waking up the client every WakeupSchedule. Reported by David Lasker. * Improved settings for compression and compext in BackupPC_archiveStart based on compression type, as proposed by Paul Dugas. compext is now empty, .gz or .bz2 based on ArchiveComp. * Changed bin/BackupPC_dump to not ping or lookup the host if $Conf{BackupsDisable} is set. Requested by John Rouillard. * Changed BackupPC_tarCreate to disable output of final nulls in tar archive when -l or -L option is used. Reported by John Rouillard. * Added error check in BackupPC::Xfer::RsyncFileIO after call to BackupPC::Xfer::RsyncDigest->digestStart(), reported by Jeff Kosowsky. * Added variable substitution for host, confDir, client in RsyncArgs, and also added option RsyncArgsExtra to allow more easy customization of RsyncArgs on a per-client basis. Proposed (with patch) by Raman Gupta. * Added Xfer error column to the host summary table in the CGI interface. Based on patch submitted by Jan Kratochvil. * Minor fix to sprintf arguments in BackupPC::Attrib, reported by Jonathan Kamens. * Fixed sort compareLOGName syntax in bin/BackupPC for perl 5.10.x, reported by Jeff Kosowsky and Holger Parplies. * Fixed bin/BackupPC_archiveStart to set compression correctly, and also set the file extension to .gz when compression is on. Reported by Stephen Vaughan. * Fixed netbios name comparison in bin/BackupPC_dump and bin/BackupPC_restore to just use the first 15 characters of the host name. Patch from Dan MacNeil. * Fixed nmblookup parsing in BackupPC::Lib::NetBiosInfoGet to ignore entries with the <GROUP> tag. Based on patch from Dan MacNeil. * Fixed BackupPC_dump so that the XferLOG file is saved when DumpPreUserCmd fails. Reported by John Rouillard. * Updated BackupPC.pod for $Conf{BackupsDisable}, reported by Nils Breunese. * Added alternate freebsd-backuppc2 init.d script that is more compact. Submitted by Dan Niles. * Minor updates to lib/BackupPC/Lang/fr.pm from Nicolas STRANSKY applied by GFK, and also from Vincent Fleuranceau. * Minor updates to lib/BackupPC/Lang/de.pm from Klaus Weidenbach. * Updates to makeDist for command-line setting of version and release date from Paul Mantz. * Add output from Pre/Post commands to per-client LOG file, in addition to existing output in the XferLOG file. Patch from Stuart Teasdale. * lib/BackupPC/Xfer/Smb.pm now increments xferErrCnt on NT_STATUS_ACCESS_DENIED and ERRnoaccess errors from smbclient. Reported by Jesus Martel. * Removed BackupPC_compressPool and BackupPC::Xfer::BackupPCd. |
From: Craig B. <cba...@us...> - 2009-04-09 21:14:31
|
BackupPC 3.2.0beta0 has been released on SF.net. 3.2.0beta0 is the first beta release of 3.2.0. 3.2.0beta0 has several new features and quite a few bug fixes since 3.1.0. New features include: * Added FTP xfer method, implemented by Paul Mantz. * Added more options to server backup command: rather than just forcing an incremental or full backup, a regular (auto) backup can be queued (ie: do nothing/incr/full based on schedule), as well as doing just an incremental or full or nothing based on the client schedule. Based on patches submitted by Joe Digilio. * Added $Conf{CmdQueueNice} to specify nice level for command queue commands (eg: BackupPC_link and BackupPC_nightly). Suggested by Carl Soderstrom. * Changed bin/BackupPC_dump to not ping or lookup the host if $Conf{BackupsDisable} is set. Requested by John Rouillard. * Added variable substitution for host, confDir, client in RsyncArgs, and also added option RsyncArgsExtra to allow more easy customization of RsyncArgs on a per-client basis. Proposed (with patch) by Raman Gupta. * Added Xfer error column to the host summary table in the CGI interface. Based on patch submitted by Jan Kratochvíl. See the ChangeLog below for full details. Craig #------------------------------------------------------------------------ # Version 3.2.0beta0, 5 April 2009 #------------------------------------------------------------------------ * Added BackupPC::Xfer::Protocol as a common class for each Xfer method. This simplifies some of the xfer specific code. Implemented by Paul Mantz. * Added FTP xfer method, implemented by Paul Mantz. * Added BackupPC::Xfer module to provide a common interface to the different xfer methods. Implemented by Paul Mantz. * Moved setting of $bpc->{PoolDir} and $bpc->{CPoolDir} after the config file is read in BackupPC::Lib. Fix proposed by Tim Taylor and Joe Krahn, and rediscovered by several others including Holger Parplies. * Create $TopDir and related data directories in BackupPC_dump prior to hardlink test. Requested by Les Stott. * Fixed encoding of email subject header in bin/BackupPC_sendEmail as suggested by Jean-Claude Repetto. Also changed $Conf{EMailHeaders} charset to utf-8. Also changed bin/BackupPC_sendEmail to not send any per-client email if $Conf{BackupsDisable} is set. * Modified bin/BackupPC_dump to fix the case of a single partial backup followed by a successful incremental resulting in a full backup of level 1, rather than level 0. Reported by Jeff Kosowsky. * Fixed BackupPC::PoolWrite to always create the parent directory. This fixed a case with rsync/rsyncd where a file like "-i" in the top-level directory sorts before ".", which meant the directory creation is after the file creation. Also PoolWrite errors now increment xferError count. Reported by Jeff Kosowsky. * BackupPC now gives a more useful error message if BackupPC_nightly takes more than 24 hours (ie: when the next one is meant to start). Reported by Tony Schreiner. * Added more options to server backup command: rather than just forcing an incremental or full backup, a regular (auto) backup can be queued (ie: do nothing/incr/full based on schedule), as well as doing just an incremental or full or nothing based on the client schedule. Based on patches submitted by Joe Digilio. * Modified lib/BackupPC/CGI/RSS.pm to replace \n with \r\n in the RSS http response headers. Patch submitted by Thomas Eckhardt. * Modified bin/BackupPC_archive to allow the archive request file name to contain spaces and dashes, requested by Tim Massey. * Fix to configure.pl for --no-fhs case to initialize ConfigDir from Dan Pritts. Also changed perl path to #!/usr/bin/env perl. * Modified bin/BackupPC_archiveHost to shell escape the output file name. That allows it to contain spaces and other special characters. Requested by Toni Van Remortel. Also updated bin/BackupPC_archiveHost to shell escape and check other arguments. * Added $Conf{CmdQueueNice} to specify nice level for command queue commands (eg: BackupPC_link and BackupPC_nightly). Suggested by Carl Soderstrom. * Added --config-override to configure.pl, allow config settings to be set on the command line. Proposed by Les Stott and Holger Parplies. * Moved call to NmbLookupFindHostCmd in BackupPC_dump to after the check of whether a backup needs to be done. This makes wakeonlan work correctly, rather than waking up the client every WakeupSchedule. Reported by David Lasker. * Improved settings for compression and compext in BackupPC_archiveStart based on compression type, as proposed by Paul Dugas. compext is now empty, .gz or .bz2 based on ArchiveComp. * Changed bin/BackupPC_dump to not ping or lookup the host if $Conf{BackupsDisable} is set. Requested by John Rouillard. * Changed BackupPC_tarCreate to disable output of final nulls in tar archive when -l or -L option is used. Reported by John Rouillard. * Added error check in BackupPC::Xfer::RsyncFileIO after call to BackupPC::Xfer::RsyncDigest->digestStart(), reported by Jeff Kosowsky. * Added variable substitution for host, confDir, client in RsyncArgs, and also added option RsyncArgsExtra to allow more easy customization of RsyncArgs on a per-client basis. Proposed (with patch) by Raman Gupta. * Added Xfer error column to the host summary table in the CGI interface. Based on patch submitted by Jan Kratochvíl. * Minor fix to sprintf arguments in BackupPC::Attrib, reported by Jonathan Kamens. * Fixed sort compareLOGName syntax in bin/BackupPC for perl 5.10.x, reported by Jeff Kosowsky and Holger Parplies. * Fixed bin/BackupPC_archiveStart to set compression correctly, and also set the file extension to .gz when compression is on. Reported by Stephen Vaughan. * Fixed netbios name comparison in bin/BackupPC_dump and bin/BackupPC_restore to just use the first 15 characters of the host name. Patch from Dan MacNeil. * Fixed nmblookup parsing in BackupPC::Lib::NetBiosInfoGet to ignore entries with the <GROUP> tag. Based on patch from Dan MacNeil. * Fixed BackupPC_dump so that the XferLOG file is saved when DumpPreUserCmd fails. Reported by John Rouillard. * Updated BackupPC.pod for $Conf{BackupsDisable}, reported by Nils Breunese. * Added alternate freebsd-backuppc2 init.d script that is more compact. Submitted by Dan Niles. * Minor updates to lib/BackupPC/Lang/fr.pm from Nicolas STRANSKY applied by GFK, and also from Vincent Fleuranceau. * Minor updates to lib/BackupPC/Lang/de.pm from Klaus Weidenbach. * Updates to makeDist for command-line setting of version and release date from Paul Mantz. * Add output from Pre/Post commands to per-client LOG file, in addition to existing output in the XferLOG file. Patch from Stuart Teasdale. * lib/BackupPC/Xfer/Smb.pm now increments xferErrCnt on NT_STATUS_ACCESS_DENIED and ERRnoaccess errors from smbclient. Reported by Jesús Martel. * Removed BackupPC_compressPool and BackupPC::Xfer::BackupPCd. |
From: Craig B. <cba...@us...> - 2007-11-28 06:23:31
|
BackupPC 3.1.0 has been released on SF.net. This release contains a few new features and bug fixes. Some of the new features are: * Added new script BackupPC_archiveStart that allows command-line starting of archives. * Added sorting by column feature to host summary table in CGI interface. * Added some performance improvements, including optional support for IO::Dirent. * Added Simplified Chinese and Polish CGI translations. * Added check to BackupPC at startup that $TopDir can support hardlinks. * When there is an existing partial, a new partials is only saved if it has more files than the existing partial. * Replaced the FAQ link with Wiki in the navigation bar and added mention of the Wiki to the documentation. See the attached ChangeLog showing the cumulative changes since 3.0.0. Enjoy! Craig #------------------------------------------------------------------------ # Version 3.1.0, 25 Nov 2007 #------------------------------------------------------------------------ * Fixed config editor bug for case where override is unchecked on an array where the current array is shorter than the main config's array. * Fixed missing close quote in BackupPC_archiveHost reported by Franky Van Liedekerke. * Replaced "$BinDir/.." with $bpc->InstallDir() for path to BackupPC docs, mentioned by Kenneth Porter. * Moved default of $Conf{IncrLevels} from lib/BackupPC/Storage/Text.pm to lib/BackupPC/Lib.pm (after the merge of the config files). This fixes a bug that caused $Conf{IncrLevels} to get over-ridden if it was only defined in the main config file. Reported by John Rouillard. * Fixed the completion status message in BackupPC_dump so that missing error counts appear as 0, rather than empty. Reported by Bill. * Changed lib/BackupPC/Xfer/RsyncFileIO.pm to only increment the error count when the md4 checksum fails on the second phase, not the first. Reported by Adrian Bridgett. * Updated a comment in config.pl about BackupPC_nightly, reported by Dan Pritts. * Modified lib/BackupPC/CGI/Restore.pm to ensure that the list of hosts presented for direct restore do have direct restore enabled. Reported by Stephen Joyce. * Modified lib/BackupPC/CGI/RestoreFile.pm to replace \n with \r\n in the restore http response headers. Patch submitted by Thomas Eckhardt. #------------------------------------------------------------------------ # Version 3.1.0beta1, 21 Oct 2007 #------------------------------------------------------------------------ * When there is an existing partial, a new partials is only saved if it has more files than the existing partial. Requested by Carl Soderstrom. * Fixed handling of $Conf{BackupFilesExclude} for tar XferMethod. Patch supplied by Frans Pop. * Fixed numeric column sorting in host summary table, reported by Michael Pellegrino. * Fixed host CGI editor so it creates the new host's config.pl file using the lower-case host name, since host names are mapped to lower case when they are read from the hosts file. Reported by Alexander Onic. * Applied documentation patches from Frans Pop. Also updated Pod::Html to improve documentation formatting. * Added Polish translation from Semper. * Fixed BackupPC_nightly reporting of repeated pool file hashes. * Add run-time check that IO::Dirent is functioning correctly, reported by Doug Lytle. * Added comment to Cmd settings in conf/config.pl that they are not executed by a shell, as suggested by Erik van Linstee. * Added undefIfEmpty => 1 to lib/BackupPC/Config/Meta.pm for RsyncRestoreArgs, TarClientRestoreCmd and SmbClientRestoreCmd so that restores can be disabled by clear these fields in the CGI editor. Patch supplied by Stephen Joyce * Replaced the FAQ link with Wiki in the navigation bar and added mention of the Wiki to the documentation. Since these navigation bar links are specified in the config file, upgrades will keep the old FAQ link. The FAQ opening page will have a prominent link to the Wiki. #------------------------------------------------------------------------ # Version 3.1.0beta0, 3 Sep 2007 #------------------------------------------------------------------------ * Added new script BackupPC_archiveStart that allows command-line starting of archives. Based on script written by Sergey Kovzik, which in turn was based on an earlier version by Holger Parplies. * Added Simplified Chinese CGI translation from Youlin Feng, plus fixed a couple of cases where utf8 share names were not displayed correctly. * Added sorting by column feature to host summary table in CGI interface. Implemented by Jeremy Tietsort. * Added optional support for IO::Dirent which allows inode information to be extracted from the dirent directory structure. This allows BackupPC to order some directory operations by inode, which on some file systems (eg: ext3) can results in a 20-30% performance gain. On other file systems there is no real improvement. This optimization is turned on automatically if IO::Dirent is installed. * Added some performance improvements to BackupPC::Xfer::RsyncFileIO for the case of small files with cached checksums. * Added check to BackupPC at startup that $TopDir can support hardlinks. Also added check to BackupPC_dump that a hardlink below $TopDir/pc/HOST can be made to below $TopDir/cpool. Also added the need for a hard-link capable file system to the documentation. Suggested by Nils Breunese. * Added FreeBSD init.d file provided by Gabriel Rossetti. * Added -l and -L options to BackupPC_tarCreate so that provide a file list (without creating the archive). Requested by Dirk. * Made the default charset for BackupPC_zipCreate cp1252, which appears to work correctly with WinZip. Unfortunately there is no clear standard for charset encoding in zip files. * Added support so that pre-3.0 backups with non-utf8 charsets can be viewed and restored correctly. A new config variable $Conf{ClientCharsetLegacy} specifies the charset used to encode file names in legacy backups. This is only relevant if you are trying to view or restore a backup made with BackupPC 2.x and some of the file names have non-ascii characters. * Added setting of the environment variable BPC_REQUSER to the requesting user name in BackupPC prior to fork(), so each child process inherits the value. Submitted by Holger Parplies. * Fixed bug in rsync incrementals that happens on particular file names when a file being backed up fails in both rsync phases. Reported by Dan Smisko. * Fixed single-restore file name charsets for IE, reported by Francis Lessard. * Fixed makeDist so that the --config-dir option to configure.pl works correctly. Reported by Randy Barlow, Tony Shadwick and others. * Removed ConfDir from config editor (since it is hardcoded in lib/BackupPC/Lib.pm). Also made TopDir and LogDir only visible if useFHS (for non-FHS they are hardcoded in lib/BackupPC/Lib.pm). * Applied patch from Holger Parplies that fixes cleanup of early abort in BackupPC_dump. * Applied small patch from Sergey to lib/BackupPC/Xfer/Tar.pm that makes it ignore "socket ignored" error on incrementals. * Applied small patch from Sergey to bin/BackupPC_archiveHost. * Changed BackupPC_sendEmail so that summary admin email doesn't include errors from hosts that have $Conf{BackupsDisable} set. Reported by James Kyle. Also, per-user email is now disabled when $Conf{BackupsDisable} is set. * Added RsyncdUserName to the config editor. Reported by Vicent Roca Daniel. * $Conf{IncrLevels} is now defaulted if it is not defined. * configure.pl clears $Conf{ParPath} if it doesn't point to a valid executable. * Added documentation for BackupPC_tarPCCopy, including use of -P option to tar suggested by Daniel Berteaud. * Config editor now removes white space at start of exec path. Reported by Christoph Iwasjuta. * CgiDateFormatMMDD == 2 gives a YYYY-MM-DD format for CGI dates, suggested by Imre. |
From: Craig B. <cba...@us...> - 2007-10-23 07:17:52
|
BackupPC 3.1.0beta1 has been released on SF.net. 3.1.0beta1 is the second beta release of 3.1.0. 3.1.0beta1 has several bug fixes since 3.1.0beta0. See the ChangeLog below for full details. Craig #------------------------------------------------------------------------ # Version 3.1.0beta1, 21 Oct 2007 #------------------------------------------------------------------------ * When there is an existing partial, a new partials is only saved if it has more files than the existing partial. Requested by Carl Soderstrom. * Fixed handling of $Conf{BackupFilesExclude} for tar XferMethod. Patch supplied by Frans Pop. * Fixed numeric column sorting in host summary table, reported by Michael Pellegrino. * Fixed host CGI editor so it creates the new host's config.pl file using the lower-case host name, since host names are mapped to lower case when they are read from the hosts file. Reported by Alexander Onic. * Applied documentation patches from Frans Pop. Also updated Pod::Html to improve documentation formatting. * Added Polish translation from Semper. * Fixed BackupPC_nightly reporting of repeated pool file hashes. * Add run-time check that IO::Dirent is functioning correctly, reported by Doug Lytle. * Added comment to Cmd settings in conf/config.pl that they are not executed by a shell, as suggested by Erik van Linstee. * Added undefIfEmpty => 1 to lib/BackupPC/Config/Meta.pm for RsyncRestoreArgs, TarClientRestoreCmd and SmbClientRestoreCmd so that restores can be disabled by clear these fields in the CGI editor. Patch supplied by Stephen Joyce * Replaced the FAQ link with Wiki in the navigation bar and added mention of the Wiki to the documentation. Since these navigation bar links are specified in the config file, upgrades will keep the old FAQ link. The FAQ opening page will have a prominent link to the Wiki. |
From: Craig B. <cba...@us...> - 2007-09-03 22:12:17
|
BackupPC 3.1.0beta0 has been released on SF.net. 3.1.0beta0 is the first beta release of 3.1.0. 3.1.0beta0 has several new features and bug fixes since 3.0.0. New features include: * Added new script BackupPC_archiveStart that allows command-line starting of archives. * Added Simplified Chinese CGI translation from Youlin Feng. * Added sorting by column feature to host summary table in CGI interface. * Added optional support for IO::Dirent which allows inode information to be extracted from the dirent directory structure. * Added check to BackupPC at startup that $TopDir can support hardlinks. * Added FreeBSD init.d file provided by Gabriel Rossetti. * Added -l and -L options to BackupPC_tarCreate so that provide a file list (without creating the archive). * Added support so that pre-3.0 backups with non-utf8 charsets can be viewed and restored correctly. * Added setting of the environment variable BPC_REQUSER to the requesting user name in BackupPC prior to fork(), so each child process inherits the value. * Fixed bug in rsync incrementals that happens on particular file names when a file being backed up fails in both rsync phases. * Fixed single-restore file name charsets for IE. See the ChangeLog below for full details. Craig #------------------------------------------------------------------------ # Version 3.1.0beta0, 3 Sep 2007 #------------------------------------------------------------------------ * Added new script BackupPC_archiveStart that allows command-line starting of archives. Based on script written by Sergey Kovzik, which in turn was based on an earlier version by Holger Parplies. * Added Simplified Chinese CGI translation from Youlin Feng, plus fixed a couple of cases where utf8 share names were not displayed correctly. * Added sorting by column feature to host summary table in CGI interface. Implemented by Jeremy Tietsort. * Added optional support for IO::Dirent which allows inode information to be extracted from the dirent directory structure. This allows BackupPC to order some directory operations by inode, which on some file systems (eg: ext3) can results in a 20-30% performance gain. On other file systems there is no real improvement. This optimization is turned on automatically if IO::Dirent is installed. * Added some performance improvements to BackupPC::Xfer::RsyncFileIO for the case of small files with cached checksums. * Added check to BackupPC at startup that $TopDir can support hardlinks. Also added check to BackupPC_dump that a hardlink below $TopDir/pc/HOST can be made to below $TopDir/cpool. Also added the need for a hard-link capable file system to the documentation. Suggested by Nils Breunese. * Added FreeBSD init.d file provided by Gabriel Rossetti. * Added -l and -L options to BackupPC_tarCreate so that provide a file list (without creating the archive). Requested by Dirk. * Made the default charset for BackupPC_zipCreate cp1252, which appears to work correctly with WinZip. Unfortunately there is no clear standard for charset encoding in zip files. * Added support so that pre-3.0 backups with non-utf8 charsets can be viewed and restored correctly. A new config variable $Conf{ClientCharsetLegacy} specifies the charset used to encode file names in legacy backups. This is only relevant if you are trying to view or restore a backup made with BackupPC 2.x and some of the file names have non-ascii characters. * Added setting of the environment variable BPC_REQUSER to the requesting user name in BackupPC prior to fork(), so each child process inherits the value. Submitted by Holger Parplies. * Fixed bug in rsync incrementals that happens on particular file names when a file being backed up fails in both rsync phases. Reported by Dan Smisko. * Fixed single-restore file name charsets for IE, reported by Francis Lessard. * Fixed makeDist so that the --config-dir option to configure.pl works correctly. Reported by Randy Barlow, Tony Shadwick and others. * Removed ConfDir from config editor (since it is hardcoded in lib/BackupPC/Lib.pm). Also made TopDir and LogDir only visible if useFHS (for non-FHS they are hardcoded in lib/BackupPC/Lib.pm). * Applied patch from Holger Parplies that fixes cleanup of early abort in BackupPC_dump. * Applied small patch from Sergey to lib/BackupPC/Xfer/Tar.pm that makes it ignore "socket ignored" error on incrementals. * Applied small patch from Sergey to bin/BackupPC_archiveHost. * Changed BackupPC_sendEmail so that summary admin email doesn't include errors from hosts that have $Conf{BackupsDisable} set. Reported by James Kyle. Also, per-user email is now disabled when $Conf{BackupsDisable} is set. * Added RsyncdUserName to the config editor. Reported by Vicent Roca Daniel. * $Conf{IncrLevels} is now defaulted if it is not defined. * configure.pl clears $Conf{ParPath} if it doesn't point to a valid executable. * Added documentation for BackupPC_tarPCCopy, including use of -P option to tar suggested by Daniel Berteaud. * Config editor now removes white space at start of exec path. Reported by Christoph Iwasjuta. * CgiDateFormatMMDD == 2 gives a YYYY-MM-DD format for CGI dates, suggested by Imre. |