BackupPC.git
13 years agoremove archive burned on media
Dobrica Pavlinusic [Tue, 4 Jan 2011 15:42:38 +0000 (15:42 +0000)]
remove archive burned on media

13 years agofix shares which start with slash /
Dobrica Pavlinusic [Tue, 4 Jan 2011 15:41:24 +0000 (15:41 +0000)]
fix shares which start with slash /

13 years agofix lib path
Dobrica Pavlinusic [Tue, 4 Jan 2011 15:40:03 +0000 (15:40 +0000)]
fix lib path

13 years agocheck filesize of archives on disk with size in database
Dobrica Pavlinusic [Tue, 4 Jan 2011 15:37:21 +0000 (15:37 +0000)]
check filesize of archives on disk with size in database

13 years agonotes for later...
Dobrica Pavlinusic [Tue, 4 Jan 2011 14:04:21 +0000 (14:04 +0000)]
notes for later...

13 years agoinstructions for burn CLI from backuppc shell
Dobrica Pavlinusic [Mon, 3 Jan 2011 23:03:32 +0000 (23:03 +0000)]
instructions for burn CLI from backuppc shell

13 years agoicons are now in png
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:57:30 +0000 (21:57 +0000)]
icons are now in png

13 years agoremove Filesys::Df dependency
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:56:20 +0000 (21:56 +0000)]
remove Filesys::Df dependency

13 years agocreate iso images for burning
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:38:32 +0000 (21:38 +0000)]
create iso images for burning

13 years agocreate view backups_on_dvds needed for archive
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:28:15 +0000 (21:28 +0000)]
create view backups_on_dvds needed for archive

13 years agoshow search archive and burn media CGI interface
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:21:04 +0000 (21:21 +0000)]
show search archive and burn media CGI interface

13 years agoupdate description of commands
Dobrica Pavlinusic [Mon, 3 Jan 2011 20:54:24 +0000 (20:54 +0000)]
update description of commands

13 years agohow to start BackupPC server
Dobrica Pavlinusic [Mon, 3 Jan 2011 20:51:10 +0000 (20:51 +0000)]
how to start BackupPC server

13 years agoFIXME: hard-code /etc/BackupPC as config dir!
Dobrica Pavlinusic [Mon, 3 Jan 2011 20:27:49 +0000 (20:27 +0000)]
FIXME: hard-code /etc/BackupPC as config dir!

13 years agofix lib paths
Dobrica Pavlinusic [Mon, 3 Jan 2011 17:31:00 +0000 (17:31 +0000)]
fix lib paths

13 years agorequired dependency for BackupPC_incPartsUpdate
Dobrica Pavlinusic [Mon, 3 Jan 2011 17:25:26 +0000 (17:25 +0000)]
required dependency for BackupPC_incPartsUpdate

13 years agocreate tar increments for DVD burning
Dobrica Pavlinusic [Mon, 3 Jan 2011 17:21:52 +0000 (17:21 +0000)]
create tar increments for DVD burning

13 years agofirst iteration of installation SOP
Dobrica Pavlinusic [Mon, 3 Jan 2011 17:21:13 +0000 (17:21 +0000)]
first iteration of installation SOP

13 years agoadded BackupPC::View only_first option
Dobrica Pavlinusic [Mon, 3 Jan 2011 17:13:43 +0000 (17:13 +0000)]
added BackupPC::View only_first option

this allows bin/BackupPC_updatedb to interate over just
new files for increment

13 years agobegin search integration into version 3.2.0
Dobrica Pavlinusic [Mon, 3 Jan 2011 16:49:17 +0000 (16:49 +0000)]
begin search integration into version 3.2.0

13 years agoRelease for 3.2.0. Changes since 3.2.0beta1: sourceforge/master v3_2_0
cbarratt [Sat, 31 Jul 2010 22:26:26 +0000 (22:26 +0000)]
Release for 3.2.0.  Changes since 3.2.0beta1:

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

14 years ago* fixed typo in ChangeLog v3_2_0beta1
cbarratt [Sun, 17 Jan 2010 00:56:43 +0000 (00:56 +0000)]
* fixed typo in ChangeLog

14 years ago* Changes in preparation for 3.2.0beta1...
cbarratt [Mon, 11 Jan 2010 05:32:46 +0000 (05:32 +0000)]
* Changes in preparation for 3.2.0beta1...

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

15 years ago* version header update
cbarratt [Sun, 5 Apr 2009 18:08:29 +0000 (18:08 +0000)]
* version header update

15 years ago* Copyright date update
cbarratt [Sun, 5 Apr 2009 17:47:53 +0000 (17:47 +0000)]
* Copyright date update

15 years ago* corrected version headers
cbarratt [Sun, 5 Apr 2009 07:37:56 +0000 (07:37 +0000)]
* corrected version headers

15 years ago* checkin with 3.2.0beta0 release header
cbarratt [Sun, 5 Apr 2009 07:34:02 +0000 (07:34 +0000)]
* checkin with 3.2.0beta0 release header

15 years ago* various FTP fixes
cbarratt [Sun, 5 Apr 2009 00:46:01 +0000 (00:46 +0000)]
* various FTP fixes

* added more shell escaping to bin/BackupPC_archiveHost

* updates to FTP conf/config.pl comments

* minor path change to configure.pl

15 years ago* documentation updates
cbarratt [Thu, 2 Apr 2009 20:52:53 +0000 (20:52 +0000)]
* documentation updates

* added init.d/src/freebsd-backuppc2

15 years ago* Added more options to server backup command: rather than just forcing
cbarratt [Mon, 30 Mar 2009 07:09:19 +0000 (07:09 +0000)]
* 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.

* Changed BackupPC_tarCreate to disable output of final nulls in
  tar archive when -l or -L option is used.  Reported 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.

* Added alternate freebsd-backuppc2 init.d script that is
  more compact.  Submitted by Dan Niles.

15 years ago* Moved call to NmbLookupFindHostCmd in BackupPC_dump to after the
cbarratt [Wed, 25 Mar 2009 04:50:58 +0000 (04:50 +0000)]
* 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.

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

* Additional fr.pm fix from Vincent Fleuranceau.

15 years ago * Modified bin/BackupPC_dump to fix the case of a single partial
cbarratt [Sat, 17 Jan 2009 19:26:46 +0000 (19:26 +0000)]
 * 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.

15 years ago* Fixed encoding of email subject header in bin/BackupPC_sendEmail as
cbarratt [Mon, 29 Dec 2008 11:46:13 +0000 (11:46 +0000)]
* 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.

* Added server message for queuing a single host based on patch
  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 error check in BackupPC::Xfer::RsyncFileIO after call to
  BackupPC::Xfer::RsyncDigest->digestStart(), reported by Jeff
  Kosowsky.

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

* Updated BackupPC.pod for $Conf{BackupsDisable}, reported by
  Nils Breunese.

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

* Removed BackupPC_compressPool and BackupPC::Xfer::BackupPCd.

15 years ago* Added BackupPC::Xfer::Protocol as a common class for each Xfer
cbarratt [Fri, 26 Dec 2008 13:12:23 +0000 (13:12 +0000)]
* 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.

* Create $TopDir and related data directories in BackupPC_dump
  prior to hardlink test.  Requested by Les Stott.

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

* Added --config-override to configure.pl, allow config settings to be
  set on the command line.  Proposed by Les Stott and Holger Parplies.

* Minor updates to lib/BackupPC/Lang/fr.pm from Nicolas STRANSKY
  applied by GFK.

* Minor updates to lib/BackupPC/Lang/de.pm from Klaus Weidenbach.

* lib/BackupPC/Xfer/Smb.pm now increments xferErrCnt on NT_STATUS_ACCESS_DENIED
  and ERRnoaccess errors from smbclient.  Reported by Jesús Martel.

* Modified bin/BackupPC_sendEmail to not send any per-client email if
  $Conf{BackupsDisable} is set.

16 years agoCorrection sent by Nicolas STRANSKY <Nico@stransky.cx>
gfk [Tue, 8 Jan 2008 20:49:04 +0000 (20:49 +0000)]
Correction sent by Nicolas STRANSKY <Nico@stransky.cx>

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.