All Versions
53
Latest Version
Avg Release Cycle
201 days
Latest Release
1454 days ago

Changelog History
Page 5

  • v2.0.1 Changes

    October 05, 2003

    ------------------------------------------------------------------------

    • ๐Ÿ›  Fixed handling of >= 8GB files in BackupPC_tarExtract and >= 4GB files in BackupPC_tarCreate.

    • โœ‚ Removed smbclient size repair in BackupPC_tarExtract for files between 2GB and 4GB. This means that BackupPC_tarExtract 2.0.1 doesn't behave the same as 2.0.0 for file sizes between 2GB and 4GB extacted using smbclient 2.2.x. If you have problems backing up files whose size is between 2GB and 4GB using smbclient 2.2.x you should upgrade smbclient to 3.0, since it now generates correct file sizes.

    • ๐Ÿ”ง Replace PingClientPath with PingPath in configure.pl.

    • โœ‚ Removed -T (taint mode) on binaries installed in configure.pl.

    • โž• Added support for smbclient from samba version 3.0.0.

    • ๐Ÿ›  Fixed $Conf{HardLinkMax} limit check in BackupPC::Lib; reported by Ross Skaliotis.

    • 0๏ธโƒฃ In BackupPC_Admin, default REMOTE_USER to $Conf{BackupPCUser} if it is not defined. This allows the CGI interface to work when AdminUsers = '*'. Reported by Quentin Arce.

    • For SMB, code that detected files with a read-locked region (eg: outlook .pst files), removed them and then tried to link with an earlier version was broken. This code missed a step of mangling the file names. This is now fixed. Reported by Pierre Bourgin.

    • A backup of a share that has zero files is now considered fatal. This is used to catch miscellaneous Xfer errors that result in no files being backed up. A new config parameter $Conf{BackupZeroFilesIsFatal} (defaults to 1) and can be set to zero to turn off this check. Suggested by Guillaume Filion. Additional change: this check only applies to a full dump.

    • SMB: now detect NT_STATUS_ACCESS_DENIED on entire share or BackupFilesOnly (also ERRDOS - ERRnoaccess (Access denied.) for older versions of smbclient.) Suggested by Guillaume Filion.

    • SMB: now detects "tree connect failed: NT_STATUS_BAD_NETWORK_NAME" and the dump is considered failed.

    • Rsync: Previously BackupFilesOnly = '/' did --include '/' --exclude '/*', which just included the '/' directory and nothing below. Now it does just --include '/', which should include everything. Reported by denon.

    • โž• Add hostError to DumpPostUserCmd variable substitutions for both dump and restore.

    • Verbose output in Lib.pm goes to STDERR, not STDOUT. This now makes BackupPC_dump -v work better.

    • Don't allow browsing with ".." in directory in case a user tries to trick BackupPC_Admin into displaying directories outside where they are allowed.

    • Required File::RsyncP version is now 0.44, since File::RsyncP 0.44 fixes large file (>2GB) bugs. Large file bugs reported by Steve Waltner.

    ------------------------------------------------------------------------

  • v2.0.0 Changes

    June 14, 2003

    ------------------------------------------------------------------------

    • Minor tweaks to disable utf8 on utf8-capable machines (eg: RH8+). Added "no utf8" to all programs, and added binmode() to relevant file handles.

    ------------------------------------------------------------------------

  • v2.0.0.beta3 Changes

    June 01, 2003

    ------------------------------------------------------------------------

    • โช Several improvements to restore: cancel now reports the correct message and cleans up correctly.

    • ๐Ÿ›  Rsync with whitespace and wildcard excludes fixed by replacing argList with argList+ in config.pl plus a fix to Lib.pm for shell escaping array arguments.

    • ๐Ÿ›  Fixed rsync restore for character and block special devices (major and minor device numbers weren't correctly restored).

    • ๐Ÿ›  Fixed typo in bin/BackupPC_restore (XferLOG -> RestoreLOG).

    • โช (Re)-fixed "Bad command" in log file when restore via tar or zip file download is done.

    • โž• Added untaint to exec in Lib.pm to avoid tainted errors.

    • Applied additional tweak to highlight patch from Tim Demarest.

    • $Conf{CgiAdminUsers} = '*' now allows privileged even with REMOTE_USER not set.

    • Don't display RsyncdPasswd when displaying config.pl files.

    • Replace pipe with socketpair in bin/BackupPC_dump and bin/BackupPC_restore, which increases typical buffering from 4K to 16K-64K. This improves the performance.

    • โž• Add check on $ENV{LANG} setting do configure.pl: if LANG includes utf then a warning is printed.

    ------------------------------------------------------------------------

  • v2.0.0.beta2 Changes

    May 11, 2003

    ------------------------------------------------------------------------

    • โž• Added German translation, provided by Manfred Herrmann.

    • ๐Ÿ›  Fixed large-file problem with rsync, reported by Manfred Herrmann.

    • ๐Ÿ›  Fixed zip and tar file download from CGI under mod_perl. Reported by Pierre Bourgin and Paul Lukins.

    • ๐Ÿ›  Fixed directory browsing and top-level directory browsing in 2.0.0beta0. Reported by several users.

    • โž• Added -v option to BackupPC_dump for verbose output (useful when you run the command manually). Added messages for all exits.

    • If nmblookup returns multiple IP addresses, NetBiosHostIPFind() now returns the first IP address that matches the subnet mask. Suggested by Tim Demarest.

    • ๐Ÿ›  Fixed BackupPC::View so the top-level directory is handled correctly. This allows the top-level share/directory to be restored via the CGI interface. Reported by several users.

    • ๐Ÿ›  Fixed RsyncFileIO failures on certain large files by replacing seek() with sysseek(). Reported by Manfred Herrmann.

    • โž• Added configurable highlighting of PC status in the CGI summary screen; submitted by Tim Demarest.

    • ๐Ÿ›  Fixed command queue CGI display; submitted by Tim Demarest.

    • ๐Ÿšš BackupPC_trashClean now logs an error if it can't remove all the trash and then goes back to sleep, rather than continually trying.

    • ๐Ÿšš Moved correct user (uid) check into BackupPC::Lib so that all applications do a user check if $Cong{BackupPCUserVerify} is set. The avoids the risk of manually running BackupPC_dump as the wrong user.

    • Loss of blackout now applies to "host not found" as well as no ping. Reported by Dale Renton.

    • "Host not found" is now treated in a similar manner to "no ping".

    • โž• Added suse-linux init.d script from Leon Letto.

    • โž• Added Gentoo linux init.d script from Tim Demarest.

    • ๐ŸŒ Applied additional i18n strings from GFK and the translation team.

    • ๐Ÿ›  Fixed option parsing so that getopts errors are reported and we exit.

    • ๐Ÿ”„ Changed reporting of Xfer PIDs so that rsync cancel works correctly.

    ------------------------------------------------------------------------

  • v2.0.0.beta1 Changes

    March 30, 2003

    ------------------------------------------------------------------------

    • โž• Added Spanish translation es.pm from Javier Gonzalez.

    • ๐Ÿ›  Fixed CGI browse navigation bug that causes BackupPC_Admin to wedge when directories were selected in a certain order.

    • ๐Ÿ›  Fixed BackupPC::PoolWrite so that it can recover when the initial file size is wrong. This is needed since rsync could write a file whose size is different from the initial size returned in the file list when that file is updated while rsync is running.

    • โž• Added binmode(STDIN) to BackupPC_tarExtract, suggested by Pat LoPresti to fix a problem a RedHat8 with perl 5.8.0. It's unclear why this helps, but it should be benign. See: http://sourceforge.net/mailarchive/forum.php?thread_id=1853018&forum_id=503

    ------------------------------------------------------------------------

  • v2.0.0.beta0 Changes

    February 23, 2003

    ------------------------------------------------------------------------

    • ๐Ÿ‘Œ Support for rsync and rsyncd backup and restore. Changes to BackupPC_dump, BackupPC_restore, and new modules BackupPC::Xfer::Rsync and BackupPC::Xfer::RsyncFileIO.

    • โž• Added internationalization (i18n) code from Xavier Nicollet, with additions from Guillaume Filion. Voila! BackupPC_Admin now supports English and French, and adding more languages is now easy. New config paramater $Conf{Language} sets the language.

    • โž• Added optional user-defined pre/post dump/restore commands, allowing things like database shutdown/startup for dumps.

    • ๐Ÿ”„ Changed the way hosts are found.

    • โž• Added $Conf{ClientNameAlias}, which allows the name of the physical client machine to be set. This allows several different backup "hosts" to all refer to the same physical machine, which is convenient if several different types of data need to be backed up, or if different parameters are needed for different parts of the host.

    • Replaced $Conf{PingArgs} with $Conf{PingCmd}, added $Conf{DfCmd}, $Conf{NmbLookupCmd} allowing all these commands to be fully configured. Also, all commands can also now be fragments of perl code.

    • ๐Ÿšš Moved all smbclient commands into the config.pl file so the specific arguments can be customized. New config parameters are $Conf{SmbClientFullCmd}, $Conf{SmbClientIncrCmd} and $Conf{SmbClientRestoreCmd}.

    • โž• Added new BackupPC::View module that creates views of backups (handling merging etc). Updated BackupPC_Admin, BackupPC_zipCreate and BackupPC_tarCreate to use BackupPC::View. This removes lots of merging and mangling code from the higher-level code.

    • โž• Added code from Toby Johnson that allows additional users to be specified in the hosts file; these users can also view/start/stop and restore backups for that host. Also added a new config setting $Conf{CgiNavBarAdminAllHosts} that allows all hosts to be listed in the left nav bar for admins.

    • โž• Added $Conf{HardLinkMax} (default 31999) which sets the limit on the maximum number of hardlinks per file in the pool. If a file ever gets to this number of links a new pool file is created to handle additional links.

    • โž• Added $Conf{PerlModuleLoad}, which allows optional additional perl modules to be loaded.

    • โž• Added $Conf{EMailUserDestDomain} and other EMail config settings to allow language-specific default messages to be overridden.

    • Added BPC_FTYPE_DELETED to lib/BackupPC/Attrib.pm, allowing deleted files to be represented in the attrib file correctly.

    • Added support for environment variable BPC_SMB_PASSWD, which is the client's smb password. This overrides the old environment variable PASSWD.

    • โž• Added taint cleanup for perl5.8 to lib/BackupPC/Lib.pm.

    • Changed $tar_unpack_header format in BackupPC_tarExtract to correctly handle files with trailing spaces.

    • Added catching of SIG_PIPE to BackupPC_dump, and changed catch_signal to ignore multiple signals of the same type.

    • โž• Added reporting of the largest number of hardlinks in the pool to the log file.

    • โž• Adding reporting of syntax errors in the per-PC config.pl file.

    • โšก๏ธ Updated BackupPC_sendEmail to handle language-specific email messages.

    • ๐Ÿ‘ Allow client (host) names to contain spaces. Spaces in host names need to be escaped via "\" in the hosts file. The user of spaces in host names is discouraged, but they should work. One feature that doesn't work with host names that contain spaces is the highlighting of that name in the log file display in the CGI interface. There are no plans to fix this.

    • ๐Ÿ“‡ Renamed $Conf{SmbClientTimeout} to $Conf{ClientTimeout}.

    • ๐Ÿ›  Fixed all open() calls to use 3 argument form to fix handling of file names with trailing whitespace. Also fixed CGI interface so these file names are displayed correctly.

    • ๐Ÿ›  Fixed new 2.0.0 CGI navigation bug that causes the top-level directory to have a URL "&share=//boot&dir=" instead of "&share=/boot&dir=/". Reported by Pascal Schelcher. Fixed similar problem reported by Doug Lytle.

    • โž• Added "PerlTaintCheck On" to the mod_perl section in the docs, suggested by Tim Demarest.

    ------------------------------------------------------------------------

  • v1.5.0 Changes

    August 02, 2002

    ------------------------------------------------------------------------

    • ๐Ÿ”„ Changed conf/config.pl so that $Conf{TarIncrArgs} uses the --newer option instead of --newer-mtime. Also removed --atime-preserve from $Conf{TarClientCmd}. This makes the default settings work better with tripwire.

    • ๐Ÿ›  Fixed configure.pl so it correctly detects a running BackupPC <= v1.4.0 so it can correctly warn the user to stop it before upgrading. Reported by David Holland.

    • โž• Added missing ";" to entity escape in EscapeHTML in BackupPC_Admin. Reported by Guillaume Filion.

    • โž• Added LDAP setup to documentation from David Holland.

    • Tar.pm now adds a "." to file paths that start with "/", so that all tar paths are relative. From Ludovic Drolez.

    ------------------------------------------------------------------------

  • v1.5.0.beta0 Changes

    June 30, 2002

    ------------------------------------------------------------------------

    • โช A full set of restore options is now supported, including direct restore via smbclient or tar or downloading a zip or tar file.

    • ๐Ÿ‘ Major additions to CGI script to support better directory navigation, restore features and mod_perl. Also, file downloads from the CGI interface now correctly preserve the file name and provide the correct Content-Type for the most common types of files. Improved directory navigation was contributed by Ryan Kucera.

    • ๐Ÿ†• New script BackupPC_zipCreate (contributed by Guillaume Filion) is the zip analog of BackupPC_tarCreate. BackupPC_zipCreate can be used to create a zip archive of any portion of a backup.

    • โช Substantial additions to BackupPC_tarCreate to support restore, including modifying path names, handling hardlinks, fixing support of old backups without attributes (pre-v1.4.0). Plus BackupPC_tarCreate is now an official part of the release. (Lack of support for hardlinks was reported by John Stanley.)

    • ๐Ÿ›  BackupPC_tarExtract now supports hardlinks and fixed pooling of attribute files.

    • A unix domain socket is now used for communication between the CGI interface and BackupPC. The original TCP socket is optional. Sockets are correctly re-initialized if config.pl is updated with new socket settings.

    • ๐Ÿ”’ For improved security messages over the unix or TCP socket are protected via an MD5 digest based on a shared secret, a sequence number, a time stamp and a unique per-connection number.

    • โž• Additions to configure.pl to support install of directory navigation images.

    • ๐Ÿ›  Fixed case where $Conf{BackupFilesOnly} or $Conf{BackupFilesExclude} were set to a single string or list (in v1.4.0 only the case of hash worked correctly). Reported by Phillip Bertolus.

    • ๐Ÿ›  Fixed case of $Conf{BackoutGoodCnt} == 0. This setting now makes the client always subject to blackout, matching the comments in config.pl. Also fixed handling of $Conf{BackoutGoodCnt} < 0 in the CGI script reported by Pascal Schelcher.

    • ๐Ÿ›  Fixed byte and file totals for tar backups, reported by several users.

    • ๐Ÿ›  Fixed --newer-mtime date/timestamp format to make it ISO 8601 compliant, suggested by Erminio Baranzini.

    • ๐Ÿ›  Fixed handling of $Conf{BackupFilesOnly} in BackupPC::Xfer::Tar.pm, as well as shell escaping of tar arguments.

    • ๐Ÿ›  Fixed entity encoding of 8-bit characters in the CGI interface.

    • โž• Added optional CGI headers in $Conf{CgiHeaders} that by default is set to a no-cache pragma. Suggested by Benno Zuure.

    ------------------------------------------------------------------------

  • v1.4.0 Changes

    March 16, 2002

    ------------------------------------------------------------------------

    • ๐Ÿ‘ BackupPC now supports tar (in addition to smb) for extracting host data. This is the most convenient option for linux/unix hosts. Tar can be configured to run over ssh, rsh or to backup a local nfs mount from the host.

    • ๐Ÿ‘Œ Support for special files, including symbolic links, fifo, character and block device files has been added, so that all native linux/unix file types can be correctly backed up when using tar transport. Special files are all stored as regular files and the type attributes are used to remember the original file type.

    • All unix file attributes are now saved (and pooled when possible). This includes user and group ownership, permissions, and modification time. Smbclient also does a reasonable job of emulating unix permissions (such as mtime), and these attributes get saved too.

    • ๐Ÿ”ง The new default is to not fill incremental dumps. configure.pl automatically sets $Conf{IncrFill} to 0. The default was 1 (incrementals were filled with hardlinks). Since the CGI script does filling at browsing time, there is no need to fill incremental dumps.

    • Backup file names are now stored in "mangled" form. Each node of a path is preceded by "f", and special characters (\n, \r, % and /) are URI-encoded as "%xx", where xx is the ascii character's hex value. So c:/craig/example.txt is now stored as fc/fcraig/fexample.txt. This was done mainly so meta-data could be stored alongside the backup files without name collisions. In particular, the attributes for the files in a directory are stored in a file called "attrib", and mangling avoids file name collisions (I discarded the idea of having a duplicate directory tree for every backup just to store the attributes). Other meta-data (eg: rsync checksums) could be stored in file names preceded by, eg, "c". There are two other benefits to mangling: the share name might contain "/" (eg: "/home/craig" for tar transport), and I wanted that represented as a single level in the storage tree. Secondly, as files are written to NewFileList for later processing by BackupPC_link, embedded newlines in the file's path will cause problems which are avoided by mangling.

    The CGI script undoes the mangling, so it is invisible to the user. Of course, old (unmangled) backups are still supported by the CGI interface.

    • Various changes to the CGI interface, BackupPC_Admin:

      • Added button that allows users to manually start a full dump in addition to the existing incremental dump.
      • Added display of file attributes when browsing backups.
      • Added an optional holdoff time specified by the user when canceling a backup. BackupPC will not attempt any new backups for at least the specified time. This holdoff time can be changed whether or not a backup is running.
      • Added supports for file mangling, and correct merging of unfilled backups from mangled or unmangled (and compressed or uncompressed) fulls when browsing or restoring.
      • Only displays a "Start Incr Backup" button if there are already some backups.
      • For DHCP hosts, when a user tries to manually start a backup, add a check for the netbios name of both the host the request came from (REMOTE_ADDR) and the last known DHCP address for that host to see if either address matches the host. If not, an error message is display. The previous behavior was that only requests from the client itself succeeded, and requests from other machines quietly failed.
    • ๐Ÿš€ Changed the version numbering to X.Y.Z, instead of X.0Y. This release is 1.4.0. The first digit is for major new releases, the middle digit is for significant feature releases and improvements, and the last digit is for bug fixes. You should think of the old 1.00, 1.01, 1.02 and 1.03 as 1.0.0, ..., 1.3.0.

    • BackupPC and the CGI script BackupPC_Admin now check that the effective user id is correct to avoid accidentally launching BackupPC as the wrong user or detecting CGI configuration problems. This behavior can be turned off using the $Conf{BackupPCUserVerify} option.

    • ๐ŸŒฒ In numerous places changed "Smb" to "Xfer" (eg: log file names) to support generic names for both smb and tar transport methods. The CGI script checks for old names for backward compatibility.

    • ๐Ÿ‘ Major changed to Backup_dump to support new tar transport. All transport specific code moved into BackupPC::Xfer::Smb and BackupPC::Xfer::Tar objects.

    • โž• Added workaround for a bug in Samba's smbclient for files between 2GB and 4GB. The file size in the tar header is incorrect. This allows files up to 4GB to work with smbclient, rather than 2GB. To support files larger than 2GB you must make sure perl is compiled with the uselargefiles option (use "perl -V | egrep largefiles" to check) and the pool directory must be on a file system that supports large files.

    • ๐Ÿšš Moved the pool writing code into a module BackupPC::PoolWrite. This allows the clever file pool checking (digest, uncompressing, comparing etc with minimum disk IO) to be used easily in multiple places (eg: it is now used for writing attribute files so they can be pooled).

    • ๐Ÿ”„ Changed MD5 to Digest::MD5 to avoid use of the depreceated MD5 module.

    • 0๏ธโƒฃ Shortened default $Conf{MyPath} so that perl's taint mode is more likely to be happy. The old $Conf{MyPath} contained /usr/local/bin, which on one user's machine was world writable and perl -T correctly complained about it.

    • ๐Ÿ›  Fixed ping command options in Lib.pm so that it works on OpenBSD. Thanks to Kyle Amon for sending the fix. Decided to move the ping options from Lib.pm into config.pl (as $Conf{PingArgs}) and now configure.pl tries to come up with a sensible default based on the OS.

    • ๐Ÿ›  Fixed argument checking in BackupPC_tarExtract to allow '$' in the share name (eg: C$). Thanks to Jules Agee for this fix. Also changed the default config.pl so that single quotes are used everywhere so that people don't get tripped up putting '$' inside double-quoted strings.

    ------------------------------------------------------------------------

  • v1.03 Changes

    December 09, 2001

    ------------------------------------------------------------------------

    • ๐Ÿ‘ BackupPC now has full support for compression. There are now two pool areas, the original pool for uncompressed files, and cpool for compressed files. The compression is done by Compress::Zlib. Compression reduces the pool disk usage by around 40%, although your mileage may vary. Compression is optional and can also be specified on a per-PC basis (although this will cost more pool storage since many backup files will have to be stored in both compressed and uncompressed forms.

    • A new script, BackupPC_compressPool, can be run to compress the entire pool. This is used once to migrate all the pool data from uncompressed to compressed on existing installations. Read the documentation (Installing BackupPC/Compressing an existing pool) before running BackupPC_compressPool!

    Alternatively, compression can simply be turned on and all new backups will be compressed. Both old (uncompressed) and new (compressed) backups can be browsed and viewed. Eventually, the old backups will expire and all the pool data will be compressed. However, until the old backups expire, this approach could require 60% or more additional pool storage space to store both uncompressed and compressed versions of the backup files.

    • Significant improvements to the cgi interface, BackupPC_Admin:

      • much better layout navigation
      • handles compressed backup files and compressed log files
      • handles unfilled incremental dumps
      • better backup directory browsing navigation
      • reports compression statistics
      • $Conf{CgiDateFormatMMDD} allows you to set date format (MM/DD or DD/MM)
      • Additional customization with $Conf{CgiHeaderFontType}, $Conf{CgiHeaderFontSize}, $Conf{CgiNavBarBgColor}, and $Conf{CgiHeaderBgColor}.
    • Eliminated BackupPC_queueAll. BackupPC directly reads the hosts file and queues the PCs itself. Like config.pl, BackupPC will re-read the hosts file on each wakeup if its modification time changes, or upon a SIGHUP. This also makes for better behavior when adding a host: if you add hosts, simply send a SIGHUP to BackupPC or wait for the next wakeup.

    • BackupPC_dump now compresses the SmbLOG file if compression is enabled.

    • BackupPC_dump keeps track of compressed file sizes so that compression statistics can be reported by the cgi interface.

    • ๐ŸŒฒ Aging of old log files now handles compressed log files (.z extension).

    • โž• Added configuration option $Conf{IncrFill} to specify whether incremental dumps should be filled in. Old behavior was that filling was on. Now it's optional. See config.pl for more details.

    • BackupPC_nightly now cleans and generates statistics for both the uncompressed pool and compressed pool (cpool).

    • โž• Added new utility script BackupPC_zcat that can be used to uncompresses BackupPC files.

    • ๐Ÿ”ง configure.pl offers various options related to compression, depending upon whether this is a new install or upgrade, and whether or not Compress::Zlib is installed.

    • ๐Ÿ”ง configure.pl now makes a backup copy of config.pl before config.pl is updated.

    • โž• added three new fields to the backups file to handle optional filling and compression stats.

    • Added -e option to BackupPC_dump. BackupPC now invokes BackupPC_dump -e on each dhcp host once each night to verify that very old backups are expired. This ensures that very old backups are expired even if the dhcp host has not been on the network for a long time.

    • ๐Ÿ›  fixed bug in BackupPC::FileZIO.pm that required Compress::Zlib, even if compression was off. Thanks to Steve Holmes for reporting this.

    • ๐Ÿ›  fixed bug that caused a BackupPC queue to get blocked when a backup cancel attempt was made during the BackupPC_link phase.

    ------------------------------------------------------------------------