BackupPC.git
16 years ago3.1.0 changes: v3_1_0
cbarratt [Sun, 9 Dec 2007 05:37:32 +0000 (05:37 +0000)]
3.1.0 changes:

* 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.

16 years ago* Minor change to bin/BackupPC
cbarratt [Mon, 22 Oct 2007 02:15:36 +0000 (02:15 +0000)]
* Minor change to bin/BackupPC

16 years ago* Updated ChangeLog
cbarratt [Sun, 21 Oct 2007 18:18:34 +0000 (18:18 +0000)]
* Updated ChangeLog

16 years ago* Add run-time check that IO::Dirent is functioning correctly,
cbarratt [Sun, 21 Oct 2007 18:16:42 +0000 (18:16 +0000)]
* 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.

16 years ago* added pl.pm
cbarratt [Sat, 22 Sep 2007 18:17:24 +0000 (18:17 +0000)]
* added pl.pm

* added minor fix to BackupPC_nightly

16 years ago* When there is an existing partial, a new partials is only saved
cbarratt [Sun, 16 Sep 2007 06:16:41 +0000 (06:16 +0000)]
* 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.

16 years agoDocumentation tweaks v3_1_0beta0
cbarratt [Mon, 3 Sep 2007 21:24:24 +0000 (21:24 +0000)]
Documentation tweaks

16 years agoMinor tweaks for 3.1.0beta0 release.
cbarratt [Mon, 3 Sep 2007 21:23:18 +0000 (21:23 +0000)]
Minor tweaks for 3.1.0beta0 release.

16 years agoChanges for 3.1.0beta0.
cbarratt [Mon, 3 Sep 2007 17:19:53 +0000 (17:19 +0000)]
Changes for 3.1.0beta0.

* 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 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.

* 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.

* 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).

16 years ago* minor changes to makeDist and lib/BackupPC/Lang/zh_CN.pm
cbarratt [Fri, 6 Jul 2007 07:01:41 +0000 (07:01 +0000)]
* minor changes to makeDist and lib/BackupPC/Lang/zh_CN.pm

16 years ago* Added Simplified Chinese CGI translation from Youlin Feng.
cbarratt [Fri, 6 Jul 2007 06:43:44 +0000 (06:43 +0000)]
* Added Simplified Chinese CGI translation from Youlin Feng.

* Added -l and -L options to BackupPC_tarCreate so that
  provide a file list (without creating the archive).
  Requested by Dirk.

* 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.

* Applied patch from Holger Parplies that fixes cleanup of early abort
  in BackupPC_dump.

* 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.

* $Conf{IncrLevels} is now defaulted if it is not defined.

17 years ago* Added some performance improvements to BackupPC::Xfer::RsyncFileIO
cbarratt [Sun, 15 Apr 2007 07:28:39 +0000 (07:28 +0000)]
* Added some performance improvements to BackupPC::Xfer::RsyncFileIO
  for the case of small files with cached checksums.

* 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 sorting by column feature to host summary table in CGI
  interface.  Implemented by Jeremy Tietsort.

* Added FreeBSD init.d file provided by Gabriel Rossetti.

* 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.

* Added RsyncdUserName to the config editor.  Reported by Vicent Roca Daniel.

* configure.pl clears $Conf{ParPath} if it doesn't point to a valid
  executable.

* Added freebsd-backuppc init.d script from Gabriel Rossetti.

* 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.

17 years ago* Changes for 3.0.0 release v3_0_0
cbarratt [Sat, 3 Mar 2007 23:43:18 +0000 (23:43 +0000)]
* Changes for 3.0.0 release

17 years ago* BackupPC_Admin now uses $Conf{UmaskMode}, so config.pl files
cbarratt [Mon, 22 Jan 2007 07:46:56 +0000 (07:46 +0000)]
* BackupPC_Admin now uses $Conf{UmaskMode}, so config.pl files
  written by the editor have more restrictive permissions.
  Reported by Tim Massey.

* Host summary now shows active backups on disabled hosts,
  from Jono Woodhouse.

* Fixed host LOG link and LOG list order, reported by Tim Massey.

* Moved Encode.pm version check to start of configure.pl so it
  produces a useful error message if Encode.pm is too old.

* Fixed hrefs to configuration documentation to handle changes
  in the way perl generates the anchors.  Reported by Philip
  Gleghorn.

* Host name links in LOG files now allow "." in the host name.
  Reported by Jean-Michel Beuken.

* Fixes to lib/BackupPC/Xfer/Tar.pm for tar 1.16: allow 1
  (ie: 256) as a successful exit status and match "Total
  bytes read" message for restores.  First reported by
  Torsten Sadowski and debugged by Ralf Gross and Holger
  Parplies.

17 years agoMinor changes to lib/BackupPC/Xfer/RsyncDigest.pm and bin/BackupPC_nightly v3_0_0beta3
cbarratt [Mon, 4 Dec 2006 05:36:02 +0000 (05:36 +0000)]
Minor changes to lib/BackupPC/Xfer/RsyncDigest.pm and bin/BackupPC_nightly

17 years ago* Removed default paths from conf/config.pl so configure.pl will
cbarratt [Sun, 3 Dec 2006 02:43:42 +0000 (02:43 +0000)]
* Removed default paths from conf/config.pl so configure.pl will
  determine the correct ones at install time.  Avoids problem of
  the config editor complaining about bad executable paths the
  first time you use it.

* Changed first byte of compressed files with rsync checksums appended
  to 0xd7 to allow correct protocol_version >= 27 md4 checksums to be
  written.  Old cached checksum files have a first byte 0xd6 and are
  now considered to be uncached.  They will be automatically updated
  as needed.

* BackupPC_tarPCCopy now handles all file types correctly.  Reported
  by George Avrunin.

* Fixes for rsync restore where hardlink is to file outside of the
  top-level restore directory.  Reported by George Avrunin, who helped
  with debugging.

* Fixes for checksum mismatch on restore for certain file sizes.
  Reported by George Avrunin and others.

17 years ago* Fix for config.pl writing code to handle multi-line expressions.
cbarratt [Mon, 27 Nov 2006 07:24:10 +0000 (07:24 +0000)]
* Fix for config.pl writing code to handle multi-line expressions.
  Reported by David Relson and others.

* Fix for CGI editor when deleting hash entries whose keys are
  non alphanumeric.  Report by David Relson.

17 years agoadditional changes to it.pm (post 3.0.0beta2) v3_0_0beta2
cbarratt [Sun, 19 Nov 2006 18:40:28 +0000 (18:40 +0000)]
additional changes to it.pm (post 3.0.0beta2)

17 years agoUpdates to de.pm and nl.pm
cbarratt [Thu, 16 Nov 2006 06:04:28 +0000 (06:04 +0000)]
Updates to de.pm and nl.pm

17 years agoTranslated the five new strings.
gfk [Sun, 12 Nov 2006 18:43:08 +0000 (18:43 +0000)]
Translated the five new strings.

17 years agoUpdates in preparation for 3.0.0beta2:
cbarratt [Sun, 12 Nov 2006 07:54:42 +0000 (07:54 +0000)]
Updates in preparation for 3.0.0beta2:

* Config Editor "Save" button is now always visible, but greyed out
  until there are changes to save.

* Config editor allows other tabs to be selected when there is an
  error, which allows you to fix an error (eg: missing binary) in
  an exiting config file.  Errors are now displayed at the top of
  the page in addition to next to the erroneous setting.

* Fixed config.pl editor writing to solve bug with multi-line text
  strings ending in newline.  Reported and root caused by Les Stott
  and Jerry Groendyke.

* Fixed error recovery case in BackupPC::PoolWrite, reported by
  Samuel Bancal.

* New directory/file/hardlink and symlink image icons from Jono
  Woodhouse, making directory browse more compact.

* Reordered the Server navigation bar links, suggested by David Relson.

* Fixed typos in init.d/src/gentoo-backuppc, configure.pl and config.pl
  reported by David Relson.

17 years ago* configure.pl checks version of Encode.pm. Reported by Chris Stone.
cbarratt [Mon, 30 Oct 2006 06:08:46 +0000 (06:08 +0000)]
* configure.pl checks version of Encode.pm.  Reported by Chris Stone.

* Several fixes to bin/BackupPC_fixupBackupSummary from Stian Jordet.

* Fixed table width in backup browsing to avoid Firefox layout anomoly,
  provided by Jono Woodhouse.

* CSS file updates from Jono Woodhouse.  Priod (v2) version is included
  as BackupPC_stnd_orig.css in case people prefer the old skin.

* More compact host summary, including disabled host indication,
  from Jono Woodhouse.

* BackupPC.pid is now world readable, suggested by Casper Thomsen.

17 years ago* Various changes for 3.0.0beta1 v3_0_0beta1
cbarratt [Fri, 4 Aug 2006 06:54:54 +0000 (06:54 +0000)]
* Various changes for 3.0.0beta1

* Fixed several Xfer charset conversions.

* Added some CGI utf8 conversions from Rodrigo Real and Vincent
  Fleuranceau.

* Host name is forced to lower case, to match 2.x.

* Fixed LOG file naming in BackupPC_restore and BackupPC_archive.

* GFK applied fr.pm corrections from Nicolas Stransky.

* Updated init.d/src scripts for FHS (ie: replaced __TOPDIR__/log
  with __LOGDIR__ and __TOPDIR__/conf with __CONFDIR__).  Patch
  provided by Rodrigo Real.

* Added --log-dir and --conf-dir options to configure.pl.
  Reported by Vincent Fleuranceau.

* Updated File::RsyncP version check in configure.pl, reported
  by Vincent Fleuranceau.  Changed File::RsyncP version to 0.64.

17 years agoCorrections from Nicolas STRANSKY.
gfk [Fri, 21 Jul 2006 23:18:19 +0000 (23:18 +0000)]
Corrections from Nicolas STRANSKY.

17 years agoCorrected a small typo.
gfk [Thu, 20 Jul 2006 22:52:05 +0000 (22:52 +0000)]
Corrected a small typo.

17 years agoCorrections from Nicolas STRANSKY.
gfk [Thu, 20 Jul 2006 22:26:49 +0000 (22:26 +0000)]
Corrections from Nicolas STRANSKY.

17 years ago* minor tweaks for 3.0.0beta0 v3_0_0beta0
cbarratt [Wed, 12 Jul 2006 06:49:00 +0000 (06:49 +0000)]
* minor tweaks for 3.0.0beta0

17 years ago* lots of minor changes to prepare for 3.0.0beta0 release
cbarratt [Wed, 12 Jul 2006 02:15:15 +0000 (02:15 +0000)]
* lots of minor changes to prepare for 3.0.0beta0 release

* fixes for hardlinks in multi-level incrementals

* changed buttons actions to javascript so i18n strings work correctly

* added features to BackupPC_sendEmail

* updates docs, configure.pl and makeDist

17 years agoFixed some typos.
gfk [Thu, 29 Jun 2006 22:38:32 +0000 (22:38 +0000)]
Fixed some typos.

17 years agoFrench translation for 3.0alpha
gfk [Thu, 29 Jun 2006 01:47:49 +0000 (01:47 +0000)]
French translation for 3.0alpha

17 years agoAdded ->{CfgEdit_Button_New_Key}
gfk [Thu, 29 Jun 2006 01:41:48 +0000 (01:41 +0000)]
Added ->{CfgEdit_Button_New_Key}

17 years ago* Added lib/BackupPC/CGI/RSS.pm
cbarratt [Wed, 28 Jun 2006 07:35:50 +0000 (07:35 +0000)]
* Added lib/BackupPC/CGI/RSS.pm

17 years ago* Added multi-level incrementals. Still needs testing.
cbarratt [Wed, 28 Jun 2006 07:34:37 +0000 (07:34 +0000)]
* Added multi-level incrementals.  Still needs testing.

* Decoupled BackupPC_nightly from BackupPC_dump

* Various other changes

17 years agoUpdated CVS_README
cbarratt [Sun, 4 Jun 2006 17:13:38 +0000 (17:13 +0000)]
Updated CVS_README

17 years ago - added utf8 to output filter and added encoding of file names
cbarratt [Sun, 4 Jun 2006 17:10:17 +0000 (17:10 +0000)]
 - added utf8 to output filter and added encoding of file names
   so they are rendered correctly.

 - added Wander Winkelhorst's nl.pm patch

 - added BackupPCd config variables to Meta.pm and EditConfig.pm

 - added checking of Meta.pm and EditConfig.pm config variable
   list to makeDist

 - couple of minor language tweaks

18 years ago - reverted lib/BackupPC/Lang/fr.pm to version 1.38 with CGI
cbarratt [Mon, 20 Mar 2006 04:46:39 +0000 (04:46 +0000)]
 - reverted lib/BackupPC/Lang/fr.pm to version 1.38 with CGI
   edit changes.

 - minor documentation updates

18 years ago - updates to ChangeLog
cbarratt [Sun, 5 Feb 2006 19:28:36 +0000 (19:28 +0000)]
 - updates to ChangeLog

18 years ago - various fixes to configure.pl and lib/BackupPC/Lib.pm
cbarratt [Sun, 5 Feb 2006 18:46:43 +0000 (18:46 +0000)]
 - various fixes to configure.pl and lib/BackupPC/Lib.pm

 - updated language strings so makeDist is error free

 - fix to lib/BackupPC/Xfer/RsyncFileIO.pm for File::RsyncP 0.52.

 - passwords in editor now use password text type

 - various other bug fixes from 2.1.2pl1.

18 years ago - couple of fixes for configure.pl and makeDist
cbarratt [Mon, 30 Jan 2006 19:21:24 +0000 (19:21 +0000)]
  - couple of fixes for configure.pl and makeDist

18 years ago - fixed configure.pl and makeDist.
cbarratt [Sun, 29 Jan 2006 19:05:11 +0000 (19:05 +0000)]
 - fixed configure.pl and makeDist.

 - added lib/BackupPC/Xfer/BackupPCd.pm as initial template for
   backuppcd support.

18 years ago - config and host editing pretty much done
cbarratt [Tue, 24 Jan 2006 07:10:56 +0000 (07:10 +0000)]
 - config and host editing pretty much done

 - added charset conversion

 - utf8 support pretty much done

 - added more hardlink limit checking

 - added scripts bin/BackupPC_attribPrint, bin/BackupPC_fixupBackupSummary
   and bin/BackupPC_tarPCCopy

18 years agoVarious changes, including changes in 2.1.1 and 2.1.2 releases.
cbarratt [Sun, 11 Sep 2005 01:37:01 +0000 (01:37 +0000)]
Various changes, including changes in 2.1.1 and 2.1.2 releases.

18 years agoNew corrections submitted by Nicolas STRANSKY
gfk [Tue, 19 Jul 2005 01:11:19 +0000 (01:11 +0000)]
New corrections submitted by Nicolas STRANSKY

18 years agoChanged Bilan des PC by Bilan des machines.
gfk [Thu, 14 Jul 2005 11:39:21 +0000 (11:39 +0000)]
Changed Bilan des PC by Bilan des machines.

18 years agoCorrections submitted by Nicolas STRANSKY via the Debian bug system (bug #317714).
gfk [Wed, 13 Jul 2005 23:17:08 +0000 (23:17 +0000)]
Corrections submitted by Nicolas STRANSKY via the Debian bug system (bug #317714).

18 years agoCorrections submitted by Frederic Lehobey.
gfk [Wed, 13 Jul 2005 22:46:21 +0000 (22:46 +0000)]
Corrections submitted by Frederic Lehobey.

19 years ago- added lib/BackupPC/Storage/Text.pm
cbarratt [Tue, 12 Oct 2004 06:19:42 +0000 (06:19 +0000)]
- added lib/BackupPC/Storage/Text.pm

19 years ago- more checkins
cbarratt [Tue, 12 Oct 2004 06:14:18 +0000 (06:14 +0000)]
- more checkins

19 years ago- Large set of changes for config editing, rsync hardlinks etc
cbarratt [Sun, 10 Oct 2004 07:31:22 +0000 (07:31 +0000)]
- Large set of changes for config editing, rsync hardlinks etc

19 years ago* Commit for 2.1.0. v2_1_0
cbarratt [Sun, 20 Jun 2004 02:21:01 +0000 (02:21 +0000)]
* Commit for 2.1.0.

* Added Dutch translation from Lieven Bridts, with tweaks from
  Guus Houtzager.

* Added PC-specific config file read in CGI/Archive.pm.  Patch
  from Pete Wenzel.

* Added non-zero exit code to BackupPC_zcat when uncompress fails.
  Patch from Pete Wenzel.

* Cosmetic changes to PC Summary and Log file language strings from
  Pete Wenzel.

* BackupPC::Lib tries to be more careful when renaming the backups
  file to backups.old.  There have been reports of backups being
  empty, perhaps when the BackupPC data file system fills up.
  Now backups is not renamed to backups.old if backups is empty.

* BackupPC now closes stderr and stdout before renaming and
  re-opening the log file.

* Pre/post backup/restore/archive commands now correctly set
  "type" to either incr/full/restore/archive, and now cmdType
  is the type of Pre/post backup/restore/archive command.

* BackupPC_archive correctly terminates archive processes on
  alarm or cancel.

* Updates to BackupPC_stnd.css with absolute font sizes instead
  of relative.

* BackupPC_dump now makes sure that the $Conf{FullAgeMax} check
  also ensures the full backup is older than the maximum age
  expected from $Conf{FullPeriod}.

19 years ago * Language file updates
cbarratt [Sat, 12 Jun 2004 18:18:41 +0000 (18:18 +0000)]
 * Language file updates

 * BackupPC_dump updates $Conf{FullAgeMax} based on $Conf{FullKeepCnt}

19 years agoLocalization of those cosmetic changes:
gfk [Sat, 12 Jun 2004 17:21:49 +0000 (17:21 +0000)]
Localization of those cosmetic changes:
 - The three strings $Lang{Backup_PC__Log_File__file},
    $Lang{Log_File__file__comment} and $Lang{Contents_of_log_file}
    are used for log files, config files and host files.  Therefore,
    the term "Log" is misleading.  I have removed "Log" from the
    value of these three strings:

        $Lang{Backup_PC__Log_File__file} = "BackupPC: File \$file";
        $Lang{Log_File__file__comment} = <<EOF;
        \${h1("File \$file \$comment")}
        <p>
        EOF
        $Lang{Contents_of_log_file} = <<EOF;
        Contents of file <tt>\$file</tt>, modified \$mtimeStr \$comment
        EOF

  - I have changed the value of $Lang{BackupPC__Server_Summary}
    to "BackupPC: Host Summary" instead of "BackupPC: Server Summary";

  - I have changed the value of $Lang{PC_Summary} to
    "Host Summary" instead of "PC Summary".

    These last two changes make the nav bar link, the page title
    and the page contents (the host summary) consistent.  Before
    the nav bar was "PC Summary", the page title was "Server Summary"
    and page contents were a summary of the hosts.

19 years ago * minor tweaks to nl.pm
cbarratt [Mon, 7 Jun 2004 04:03:58 +0000 (04:03 +0000)]
 * minor tweaks to nl.pm

 * added nl.pm to makeDist and configure.pl

19 years ago* Added Dutch translation
cbarratt [Mon, 7 Jun 2004 00:45:28 +0000 (00:45 +0000)]
* Added Dutch translation

* Applied changes in BackupPC-2.1.0beta2pl1.diff

* Applied a few minor patches from Pete Wenzel

19 years ago * Revision update for 2.1.0beta2. v2_1_0beta2
cbarratt [Sun, 23 May 2004 06:26:22 +0000 (06:26 +0000)]
 * Revision update for 2.1.0beta2.

 * $Conf{BackupFilesOnly} and $Conf{BackupFilesExclude} now apply
   to every share, rather than just the first, in the case where
   they are arrays and there are multiple shares.  Suggested
   by Andy Evans.

 * fix to BackupPC::CGI::Lib in case can't read config.pl or lang strings.

 * minor tweak to es.pm.

19 years ago* On the phase 2 retry pass with rsync, verify the cached checksums
cbarratt [Fri, 21 May 2004 02:11:34 +0000 (02:11 +0000)]
* On the phase 2 retry pass with rsync, verify the cached checksums
  if checksum caching is turned on.  This will catch the case of
  cached checksums being incorrectly appended to the compressed
  pool file.  Added new config parameter $Conf{RsyncCsumCacheVerifyProb}
  so that cached checksums are verified with a selectable probability.
  Also, increased File::RsyncP version number to 0.51.

* configure.pl now supports an optional batch mode.  Command-line
  options are used to specify all the information that configure.pl
  needs.  This is useful for buidling auto-install packages.
  Also, configure.pl now includes pod documentation, so you can do
  "perldoc configure.pl" to see all the command-line options.
  Suggested, tested and tweaked by Stuart Herbert for possible
  Gentoo inclusion.

* At each wakeup, clients are now queued based on how old the most
  recent backup is.  Clients with errors are queued first, with
  the oldest error times going first.  Clients with good backups
  are queued next, with the oldest backup going first.  Previously
  the clients were simply queued in alphabetic order.  Suggested
  by Tony Nelson.

* Added config parameter $Conf{PartialAgeMax} that controls whether
  partials are saved at all, and if so, whether the partial will be
  ignored at the next full backup if it is too old.

* BackupPC_tarExtract now allows empty archives without reporting
  an error.  Reported by Don Silvia.

* Removed Browse Backups link from Nav Bar in Archive Info display.
  Reported by Ralph Paßgang.

* Fixed documentation display for regular users.  Reported by Ralph Paßgang.

* Status and PC Summary now work for regular users and only show
  that user's hosts.  Server general status information only appears
  for admins.  Suggested by Ralph Paßgang.

* Moved the last three navigation-bar links (docs, FAQ and SF) to
  a new config parameter $Conf{CgiNavBarLinks}.  This allows
  these links to be locally configured.  Based on a patch
  submitted by Ralph Paßgang.

* Allow the navigation bar search box to be disabled by
  setting $Conf{CgiSearchBoxEnable} to 0.  Based on a patch
  submitted by Ralph Paßgang.

* Updates to de.pm from Ralph Paßgang.

* Made the BackupPC icon a link to the SF BackupPC project page.

20 years agoAnother typo corrected.
gfk [Mon, 12 Apr 2004 22:45:23 +0000 (22:45 +0000)]
Another typo corrected.

20 years agoCorrected a typo.
gfk [Mon, 12 Apr 2004 22:34:30 +0000 (22:34 +0000)]
Corrected a typo.

20 years agoFixes for 2.1.0beta1: v2_1_0beta1
cbarratt [Sat, 10 Apr 2004 06:52:44 +0000 (06:52 +0000)]
Fixes for 2.1.0beta1:

* The CSS definition has been removed from the config.pl file and
  is now a separate file, BackupPC_stnd.css.  A new config variable,
  $Conf{CgiCSSFile}, gives the name of the CSS file to use.
  Suggested by Ender Mathias.

* Fixed the filling of the host name select box for admins.
  The default $Conf{CgiNavBarAdminAllHosts} is now 1.
  Reported by Doug Lytle.

* Cleaned up warning message for restore using rsync when checksum
  caching is on, but when file didn't have cached checksums.

* Fixed BackupPC_archiveHost to support par2 (par2cmdline).
  Patch submitted by Jaco Bongers and adapted by Josh Marshall.

* Improved stat() usage in BackupPC_nightly, plus some other cleanup,
  giving a significant performance improvement.  Patch submitted by
  Wayne Scott.

* Allow several BackupPC_nightly processes to run in parallel based
  on new $Conf{MaxBackupPCNightlyJobs} setting.  This speeds up the
  traversal of the pool, reducing the overall run time for
  BackupPC_nightly.

* Allow BackupPC_nightly to split the pool traversal across several
  nightly runs.  This improves the running time per night, at the expense
  of a slight increase in disk storage as unused pool files might not
  be deleted for a couple of days.  Controller by new config setting
  $Conf{BackupPCNightlyPeriod}.

20 years ago* The CSS definition has been removed from the config.pl file and
cbarratt [Mon, 29 Mar 2004 19:03:50 +0000 (19:03 +0000)]
* The CSS definition has been removed from the config.pl file and
  is now a separate file, BackupPC_stnd.css.  A new config variable,
  $Conf{CgiCSSFile}, gives the name of the CSS file to use.
  Suggested by Ender Mathias.

* Fixed the filling of the host name select box for admins.
  The default $Conf{CgiNavBarAdminAllHosts} is now 1.
  Reported by Doug Lytle.

* Cleaned up warning message for restore using rsync when checksum
  caching is on, but when file didn't have cached checksums.

20 years ago - updated version to BackupPC-2.1.0beta0 v2_1_0beta0
cbarratt [Sun, 21 Mar 2004 02:27:53 +0000 (02:27 +0000)]
 - updated version to BackupPC-2.1.0beta0

20 years ago - changed required File::RsyncP version to 0.50.
cbarratt [Sun, 21 Mar 2004 01:48:15 +0000 (01:48 +0000)]
 - changed required File::RsyncP version to 0.50.

20 years ago - minor lang file cleanup - commented unimplemented share names link
cbarratt [Sun, 21 Mar 2004 01:46:45 +0000 (01:46 +0000)]
 - minor lang file cleanup - commented unimplemented share names link
   from restore and admin options

 - fixed lib/BackupPC/CGI/View.pm to use functions to return log file
   data for display

 - updated makeDist to produce better looking BackupPC.html docs with
   perl 5.8.x.

20 years agoLocalization of the admin options.
gfk [Mon, 15 Mar 2004 23:13:05 +0000 (23:13 +0000)]
Localization of the admin options.

20 years ago * Failed dumps now cleanup correctly, deleting in-progress file
cbarratt [Mon, 15 Mar 2004 03:12:42 +0000 (03:12 +0000)]
 * Failed dumps now cleanup correctly, deleting in-progress file
   and correctly saving attribs.

 * Updates to de.pm from Manfred.

 * Minor updates to other lang files.

 * Support for multiple blackouts added.

 * Moved lib/BackupPC/RsyncDigest.pm to lib/BackupPC/Xfer/RsyncDigest.pm

 * Patches to configure.pl and makeDist from gfk.

20 years agoAdded {Select_a_host} to the lang files.
gfk [Sat, 13 Mar 2004 20:57:05 +0000 (20:57 +0000)]
Added {Select_a_host} to the lang files.

20 years ago* Added Italian translation, it.pm, from Lorenzo Cappelletti
cbarratt [Mon, 23 Feb 2004 07:42:54 +0000 (07:42 +0000)]
* Added Italian translation, it.pm, from Lorenzo Cappelletti

* Added exponential full backup expiry

* Fixed init.d/src/gentoo-backuppc

20 years agoLocalization for 2.1.0
gfk [Thu, 12 Feb 2004 00:10:45 +0000 (00:10 +0000)]
Localization for 2.1.0

20 years agoAdded language tag checking to makeDist
cbarratt [Mon, 9 Feb 2004 01:43:01 +0000 (01:43 +0000)]
Added language tag checking to makeDist

20 years agoLots of changes:
cbarratt [Mon, 9 Feb 2004 01:28:46 +0000 (01:28 +0000)]
Lots of changes:

 - rsync checksum caching (note: needs new File::RsyncP)

 - keeping partial full dumps

 - resuming of partial dumps with rsync (note: not tested!)

 - cleaned up new archive feature

 - made all language files uniform

20 years ago* removed Host_or_User_name from lang files
cbarratt [Fri, 22 Aug 2003 05:54:30 +0000 (05:54 +0000)]
* removed Host_or_User_name from lang files

* udpated configure.pl

20 years ago* Minor additional tweaks to CSS
cbarratt [Sun, 17 Aug 2003 02:02:12 +0000 (02:02 +0000)]
* Minor additional tweaks to CSS

20 years ago* Various tweaks to recent changes, including additional patches
cbarratt [Sun, 17 Aug 2003 01:56:24 +0000 (01:56 +0000)]
* Various tweaks to recent changes, including additional patches
  from Josh and Paul.  Added host selection list to restore page.
  Tweak CSS and layout.

* Fixed $Conf{HardLinkMax} limit check in BackupPC::Lib; reported
  by Ross Skaliotis.

20 years agoSynced with en.pm and did a partial translation. The french interface now works corre...
gfk [Tue, 12 Aug 2003 01:27:48 +0000 (01:27 +0000)]
Synced with en.pm and did a partial translation. The french interface now works correctly.

20 years agoLocalized the 'full' and 'incremental' string in the start stop backup module.
gfk [Tue, 12 Aug 2003 01:16:38 +0000 (01:16 +0000)]
Localized the 'full' and 'incremental' string in the start stop backup module.

20 years agoLocalized the 'Browse backups' link in the navbar.
gfk [Tue, 12 Aug 2003 01:13:00 +0000 (01:13 +0000)]
Localized the 'Browse backups' link in the navbar.

20 years agoAdded parchive as a possible program name for par.
gfk [Tue, 12 Aug 2003 01:08:24 +0000 (01:08 +0000)]
Added parchive as a possible program name for par.

20 years ago * Added lib/BackupPC/Xfer/Archive.pm
cbarratt [Sat, 2 Aug 2003 08:02:30 +0000 (08:02 +0000)]
 * Added lib/BackupPC/Xfer/Archive.pm

20 years ago* Major changes from Ryan Kucera to add style sheets to the CGI
cbarratt [Sat, 2 Aug 2003 08:01:41 +0000 (08:01 +0000)]
* Major changes from Ryan Kucera to add style sheets to the CGI
  interface, allowing easy customization.  Added new icons and
  BackupPC logo.  Numerous navigation improvements.

* Major addition of Archive feature from Josh Marshall.  Special
  clients can be configured to be archive targets (eg: tape drives,
  CD-R).  Any subset of the backup clients can be selected and tar
  archives are created, optionally compressed and split and written
  to the output device.  Logs are maintained and are browsable.

* Addition of administration options from Paul Lukins.  Initial
  page allows server to be started/stopped/reloaded.

20 years ago* A failed full dump is now saved as a partial (incomplete) dump,
cbarratt [Sun, 27 Jul 2003 05:52:15 +0000 (05:52 +0000)]
* A failed full dump is now saved as a partial (incomplete) dump,
  provided it includes some files.  This can be used for browsing,
  restoring etc, and will also form the basis of resuming full
  dumps.  Only one partial is kept, and it is removed as soon
  as a success full (or a new partial) is done.

* 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.

* 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.

20 years ago* Updated ChangeLog
cbarratt [Sun, 27 Jul 2003 05:47:45 +0000 (05:47 +0000)]
* Updated ChangeLog

20 years ago* A failed full dump is now saved as a partial (incomplete) dump,
cbarratt [Sun, 27 Jul 2003 05:41:36 +0000 (05:41 +0000)]
* A failed full dump is now saved as a partial (incomplete) dump,
  provided it includes some files.  This can be used for browsing,
  restoring etc, and will also form the basis of resuming full
  dumps.  Only one partial is kept, and it is removed as soon
  as a success full (or a new partial) is done.

* 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.

* 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.

20 years ago* Updated CGI DirHistory: added colors, added explanatory text.
cbarratt [Mon, 7 Jul 2003 03:09:23 +0000 (03:09 +0000)]
* Updated CGI DirHistory: added colors, added explanatory text.

20 years agoFrench localization of the backup history.
gfk [Fri, 4 Jul 2003 17:32:41 +0000 (17:32 +0000)]
French localization of the backup history.

20 years ago* Updated ChangeLog
cbarratt [Fri, 4 Jul 2003 05:58:32 +0000 (05:58 +0000)]
* Updated ChangeLog

20 years ago* Split BackupPC_Admin into a set of modules, one for each major action.
cbarratt [Fri, 4 Jul 2003 05:51:33 +0000 (05:51 +0000)]
* Split BackupPC_Admin into a set of modules, one for each major action.
  Each action is now a seperate module in lib/BackupPC/CGI.

* Added directory history display to BackupPC_Admin, allowing the
  user to quickly see which files changed between backups.

* Swapped the Server and Hosts sections on the Nav bar.  Moved the
  host search text box to the top of the hosts section.  This was
  done to move the variable-length part of the Nav bar (when all
  hosts are displayed) to the bottom.

20 years ago - 2.0.0 release. Minor tweaks to disable utf8. v2_0_0
cbarratt [Sun, 15 Jun 2003 02:48:40 +0000 (02:48 +0000)]
 - 2.0.0 release.  Minor tweaks to disable utf8.

20 years ago* Several improvements to restore: cancel now reports the correct v2_0_0beta3
cbarratt [Sun, 1 Jun 2003 18:55:55 +0000 (18:55 +0000)]
* 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.

* 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 hilight 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.

21 years ago* Another minor change to BackupPC_Admin v2_0_0beta2
cbarratt [Sun, 11 May 2003 22:18:38 +0000 (22:18 +0000)]
* Another minor change to BackupPC_Admin

21 years ago* Couple of minor updates to BackupPC_Admin, documentation and ChangeLog
cbarratt [Sun, 11 May 2003 22:16:15 +0000 (22:16 +0000)]
* Couple of minor updates to BackupPC_Admin, documentation and ChangeLog

21 years ago* Changed BackupPC::Lib so that user check is optional in new()
cbarratt [Sun, 11 May 2003 06:37:01 +0000 (06:37 +0000)]
* Changed BackupPC::Lib so that user check is optional in new()

21 years ago* BackupPC_trashClean now logs an error if it can't remove all the
cbarratt [Sun, 11 May 2003 06:30:17 +0000 (06:30 +0000)]
* 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".

21 years ago* Added German translation, provided by Manfred Herrmann.
cbarratt [Thu, 8 May 2003 06:11:56 +0000 (06:11 +0000)]
* 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 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.

* 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.

21 years ago - set $dirDisplay to "/" if it is empty during directory browse.
cbarratt [Sun, 30 Mar 2003 22:59:11 +0000 (22:59 +0000)]
 - set $dirDisplay to "/" if it is empty during directory browse.

21 years ago - added es.pm to configure.pl and makeDist
cbarratt [Sun, 30 Mar 2003 22:46:37 +0000 (22:46 +0000)]
 - added es.pm to configure.pl and makeDist

21 years ago - fixed directory browsing in BackupPC_Admin
cbarratt [Sun, 30 Mar 2003 22:41:10 +0000 (22:41 +0000)]
 - fixed directory browsing in BackupPC_Admin

 - fixed PoolWrite.pm to handle incorrect initial file sizes.  If the
   file changes on the client after Rsync sends the file list, but before
   the deltas are sent, a different file size can get sent.

 - added binmode(STDIN) to BackupPC_tarExtract

 - added es.pm from Javier for Spanish translation.

21 years ago - top level changes (README, Changes, makeDist, configure.pl) that v2_0_0beta0
cbarratt [Mon, 24 Feb 2003 04:48:25 +0000 (04:48 +0000)]
  - top level changes (README, Changes, makeDist, configure.pl) that
    cvs didn't commit last time.

21 years ago - Significant documentation changes for 2.0.0beta0
cbarratt [Mon, 24 Feb 2003 02:19:40 +0000 (02:19 +0000)]
  - Significant documentation changes for 2.0.0beta0

  - Added rsync remote error count reporting via File::RsyncP 0.31.

  - Changed PASSWD to BPC_SMB_PASSWD in init.d templates.

  - Added user name ($name) to Pre/Post command substitutions.

21 years ago - another rsync bug fix
cbarratt [Tue, 11 Feb 2003 08:10:29 +0000 (08:10 +0000)]
 - another rsync bug fix

21 years ago - changed File::RsyncP required version from 0.20 to 0.30.
cbarratt [Mon, 10 Feb 2003 07:41:14 +0000 (07:41 +0000)]
 - changed File::RsyncP required version from 0.20 to 0.30.