cbarratt [Sun, 17 Jan 2010 00:56:43 +0000 (00:56 +0000)]
* fixed typo in ChangeLog
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.
cbarratt [Sun, 5 Apr 2009 18:08:29 +0000 (18:08 +0000)]
* version header update
cbarratt [Sun, 5 Apr 2009 17:47:53 +0000 (17:47 +0000)]
* Copyright date update
cbarratt [Sun, 5 Apr 2009 07:37:56 +0000 (07:37 +0000)]
* corrected version headers
cbarratt [Sun, 5 Apr 2009 07:34:02 +0000 (07:34 +0000)]
* checkin with 3.2.0beta0 release header
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
cbarratt [Thu, 2 Apr 2009 20:52:53 +0000 (20:52 +0000)]
* documentation updates
* added init.d/src/freebsd-backuppc2
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.
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.
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.
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.
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.
gfk [Tue, 8 Jan 2008 20:49:04 +0000 (20:49 +0000)]
Correction sent by Nicolas STRANSKY <Nico@stransky.cx>
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.
cbarratt [Mon, 22 Oct 2007 02:15:36 +0000 (02:15 +0000)]
* Minor change to bin/BackupPC
cbarratt [Sun, 21 Oct 2007 18:18:34 +0000 (18:18 +0000)]
* Updated ChangeLog
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.
cbarratt [Sat, 22 Sep 2007 18:17:24 +0000 (18:17 +0000)]
* added pl.pm
* added minor fix to BackupPC_nightly
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.
cbarratt [Mon, 3 Sep 2007 21:24:24 +0000 (21:24 +0000)]
Documentation tweaks
cbarratt [Mon, 3 Sep 2007 21:23:18 +0000 (21:23 +0000)]
Minor tweaks for 3.1.0beta0 release.
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).
cbarratt [Fri, 6 Jul 2007 07:01:41 +0000 (07:01 +0000)]
* minor changes to makeDist and lib/BackupPC/Lang/zh_CN.pm
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.
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.
cbarratt [Sat, 3 Mar 2007 23:43:18 +0000 (23:43 +0000)]
* Changes for 3.0.0 release
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.
cbarratt [Mon, 4 Dec 2006 05:36:02 +0000 (05:36 +0000)]
Minor changes to lib/BackupPC/Xfer/RsyncDigest.pm and bin/BackupPC_nightly
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.
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.
cbarratt [Sun, 19 Nov 2006 18:40:28 +0000 (18:40 +0000)]
additional changes to it.pm (post 3.0.0beta2)
cbarratt [Thu, 16 Nov 2006 06:04:28 +0000 (06:04 +0000)]
Updates to de.pm and nl.pm
gfk [Sun, 12 Nov 2006 18:43:08 +0000 (18:43 +0000)]
Translated the five new strings.
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.
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.
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.
gfk [Fri, 21 Jul 2006 23:18:19 +0000 (23:18 +0000)]
Corrections from Nicolas STRANSKY.
gfk [Thu, 20 Jul 2006 22:52:05 +0000 (22:52 +0000)]
Corrected a small typo.
gfk [Thu, 20 Jul 2006 22:26:49 +0000 (22:26 +0000)]
Corrections from Nicolas STRANSKY.
cbarratt [Wed, 12 Jul 2006 06:49:00 +0000 (06:49 +0000)]
* minor tweaks for 3.0.0beta0
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
gfk [Thu, 29 Jun 2006 22:38:32 +0000 (22:38 +0000)]
Fixed some typos.
gfk [Thu, 29 Jun 2006 01:47:49 +0000 (01:47 +0000)]
French translation for 3.0alpha
gfk [Thu, 29 Jun 2006 01:41:48 +0000 (01:41 +0000)]
Added ->{CfgEdit_Button_New_Key}
cbarratt [Wed, 28 Jun 2006 07:35:50 +0000 (07:35 +0000)]
* Added lib/BackupPC/CGI/RSS.pm
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
cbarratt [Sun, 4 Jun 2006 17:13:38 +0000 (17:13 +0000)]
Updated CVS_README
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
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
cbarratt [Sun, 5 Feb 2006 19:28:36 +0000 (19:28 +0000)]
- updates to ChangeLog
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.
cbarratt [Mon, 30 Jan 2006 19:21:24 +0000 (19:21 +0000)]
- couple of fixes for 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.
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
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.
gfk [Tue, 19 Jul 2005 01:11:19 +0000 (01:11 +0000)]
New corrections submitted by Nicolas STRANSKY
gfk [Thu, 14 Jul 2005 11:39:21 +0000 (11:39 +0000)]
Changed Bilan des PC by Bilan des machines.
gfk [Wed, 13 Jul 2005 23:17:08 +0000 (23:17 +0000)]
Corrections submitted by Nicolas STRANSKY via the Debian bug system (bug #317714).
gfk [Wed, 13 Jul 2005 22:46:21 +0000 (22:46 +0000)]
Corrections submitted by Frederic Lehobey.
cbarratt [Tue, 12 Oct 2004 06:19:42 +0000 (06:19 +0000)]
- added lib/BackupPC/Storage/Text.pm
cbarratt [Tue, 12 Oct 2004 06:14:18 +0000 (06:14 +0000)]
- more checkins
cbarratt [Sun, 10 Oct 2004 07:31:22 +0000 (07:31 +0000)]
- Large set of changes for config editing, rsync hardlinks etc
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}.
cbarratt [Sat, 12 Jun 2004 18:18:41 +0000 (18:18 +0000)]
* Language file updates
* BackupPC_dump updates $Conf{FullAgeMax} based on $Conf{FullKeepCnt}
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.
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
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
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.
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.
gfk [Mon, 12 Apr 2004 22:45:23 +0000 (22:45 +0000)]
Another typo corrected.
gfk [Mon, 12 Apr 2004 22:34:30 +0000 (22:34 +0000)]
Corrected a typo.
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}.
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.
cbarratt [Sun, 21 Mar 2004 02:27:53 +0000 (02:27 +0000)]
- updated version to BackupPC-2.1.0beta0
cbarratt [Sun, 21 Mar 2004 01:48:15 +0000 (01:48 +0000)]
- changed required File::RsyncP version to 0.50.
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.
gfk [Mon, 15 Mar 2004 23:13:05 +0000 (23:13 +0000)]
Localization of the admin options.
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.
gfk [Sat, 13 Mar 2004 20:57:05 +0000 (20:57 +0000)]
Added {Select_a_host} to the lang files.
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
gfk [Thu, 12 Feb 2004 00:10:45 +0000 (00:10 +0000)]
Localization for 2.1.0
cbarratt [Mon, 9 Feb 2004 01:43:01 +0000 (01:43 +0000)]
Added language tag checking to makeDist
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
cbarratt [Fri, 22 Aug 2003 05:54:30 +0000 (05:54 +0000)]
* removed Host_or_User_name from lang files
* udpated configure.pl
cbarratt [Sun, 17 Aug 2003 02:02:12 +0000 (02:02 +0000)]
* Minor additional tweaks to CSS
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.
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.
gfk [Tue, 12 Aug 2003 01:16:38 +0000 (01:16 +0000)]
Localized the 'full' and 'incremental' string in the start stop backup module.
gfk [Tue, 12 Aug 2003 01:13:00 +0000 (01:13 +0000)]
Localized the 'Browse backups' link in the navbar.
gfk [Tue, 12 Aug 2003 01:08:24 +0000 (01:08 +0000)]
Added parchive as a possible program name for par.
cbarratt [Sat, 2 Aug 2003 08:02:30 +0000 (08:02 +0000)]
* Added lib/BackupPC/Xfer/Archive.pm
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.
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.
cbarratt [Sun, 27 Jul 2003 05:47:45 +0000 (05:47 +0000)]
* Updated ChangeLog
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.
cbarratt [Mon, 7 Jul 2003 03:09:23 +0000 (03:09 +0000)]
* Updated CGI DirHistory: added colors, added explanatory text.
gfk [Fri, 4 Jul 2003 17:32:41 +0000 (17:32 +0000)]
French localization of the backup history.
cbarratt [Fri, 4 Jul 2003 05:58:32 +0000 (05:58 +0000)]
* Updated ChangeLog
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.