BackupPC.git
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.

20 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

20 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

20 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()

20 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".

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

21 years ago - allow PingCmd and Nmb commands to be empty strings, allowing these
cbarratt [Mon, 10 Feb 2003 07:40:23 +0000 (07:40 +0000)]
 - allow PingCmd and Nmb commands to be empty strings, allowing these
   steps to be skipped.
 - a few fixes to rsync.
 - fixed top-level broswe navigation bug in cgi script.

21 years agoTry again; cvs got an error:
cbarratt [Fri, 7 Feb 2003 05:51:22 +0000 (05:51 +0000)]
Try again; cvs got an error:
 - Fixed rsync is case of shareName = '/'
 - Repaired host name regex to correctly allow '-' in host name
 - Added sshPath to Pre/Post command vars
 - Ensured child exited after failed exec for Pre/Post commands
 - Added space before $I_option in Smb.
 - Made $I_option a listref, rather than string, for Smb

21 years ago - Fixed rsync is case of shareName = '/'
cbarratt [Fri, 7 Feb 2003 05:50:20 +0000 (05:50 +0000)]
 - Fixed rsync is case of shareName = '/'
 - Repaired host name regex to correctly allow '-' in host name
 - Added sshPath to Pre/Post command vars
 - Ensured child exited after failed exec for Pre/Post commands
 - Added space before $I_option in Smb.
 - Made $I_option a listref, rather than string, for Smb

21 years ago - added $Conf{ClientNameAlias} and $Conf{NmbLookupFindHostCmd} to config.pl
cbarratt [Mon, 3 Feb 2003 08:37:08 +0000 (08:37 +0000)]
 - added $Conf{ClientNameAlias} and $Conf{NmbLookupFindHostCmd} to config.pl

21 years ago - added $Conf{ClientNameAlias}, which allows the host name to be
cbarratt [Mon, 3 Feb 2003 08:31:25 +0000 (08:31 +0000)]
 - added $Conf{ClientNameAlias}, which allows the host name to be
   set.
 - added support for spaces in client names (ugh)
 - non dhcp hosts are now looked up using nmblookup, if not known by NS

21 years agoAdded bin/BackupPC_sendEmail to Lang variable check in makeDist
cbarratt [Tue, 28 Jan 2003 07:49:05 +0000 (07:49 +0000)]
Added bin/BackupPC_sendEmail to Lang variable check in makeDist

21 years agoAdded GFK's code for language specific email messages. The config.pl
cbarratt [Tue, 28 Jan 2003 07:47:34 +0000 (07:47 +0000)]
Added GFK's code for language specific email messages.  The config.pl
settings can override the defaults in the Lang files.

21 years agoFixed small navigation bug in CGI Action_Browse for top-level directory.
cbarratt [Tue, 28 Jan 2003 06:19:52 +0000 (06:19 +0000)]
Fixed small navigation bug in CGI Action_Browse for top-level directory.

21 years agoconfigure.pl: comments that delimit Conf settings must now start in
cbarratt [Sun, 26 Jan 2003 08:10:27 +0000 (08:10 +0000)]
configure.pl: comments that delimit Conf settings must now start in
    column 1.  This fixes bug when merging new Conf settings that
    have comments embedded in the value.

21 years agoconfigure.pl: comments that delimit Conf settings must now start in
cbarratt [Sun, 26 Jan 2003 08:03:12 +0000 (08:03 +0000)]
configure.pl: comments that delimit Conf settings must now start in
    column 1.  This fixes bug when merging new Conf settings that
    have comments embedded in the value.
BackupPC_Admin: improved error message when config.pl cannot be read.
BackupPC.pod: added some items to the roadmap.

21 years ago* Completed support for rsync and rsyncd, including restore.
cbarratt [Sun, 19 Jan 2003 17:08:19 +0000 (17:08 +0000)]
* Completed support for rsync and rsyncd, including restore.

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

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

21 years agoSmall l10n clean up.
gfk [Mon, 30 Dec 2002 21:03:46 +0000 (21:03 +0000)]
Small l10n clean up.

21 years agoLocalized the status and reason fields.
gfk [Mon, 30 Dec 2002 20:29:05 +0000 (20:29 +0000)]
Localized the status and reason fields.

21 years agoRemoved the french string in this english version.
gfk [Wed, 25 Dec 2002 20:21:52 +0000 (20:21 +0000)]
Removed the french string in this english version.

21 years agoImproved the translation. Mainly minors things.
gfk [Wed, 25 Dec 2002 20:11:49 +0000 (20:11 +0000)]
Improved the translation. Mainly minors things.

21 years agoAdd database configuration logic; minor bugfixes and code cleanup
tobiasly [Sat, 14 Dec 2002 05:56:44 +0000 (05:56 +0000)]
Add database configuration logic; minor bugfixes and code cleanup

21 years agoInitial add of specialized Config modules. Some parts are not fully implemented.
tobiasly [Fri, 13 Dec 2002 05:46:08 +0000 (05:46 +0000)]
Initial add of specialized Config modules. Some parts are not fully implemented.

21 years ago* Support for rsync and rsyncd. Changes to BackupPC_dump and new
cbarratt [Fri, 13 Dec 2002 03:19:57 +0000 (03:19 +0000)]
* Support for rsync and rsyncd.  Changes to BackupPC_dump and new
  modules BackupPC::Xfer::Rsync and BackupPC::Xfer::RsyncFileIO.

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

21 years agoadded new file init.d/src/debian-backuppc
cbarratt [Fri, 20 Sep 2002 07:24:33 +0000 (07:24 +0000)]
added new file init.d/src/debian-backuppc

21 years agoAnother minor change for backup start confirm header
cbarratt [Wed, 18 Sep 2002 07:04:47 +0000 (07:04 +0000)]
Another minor change for backup start confirm header

21 years agoFixed ServerMesg strings in BackupPC_Admin via en.pm and fr.pm
cbarratt [Wed, 18 Sep 2002 06:21:54 +0000 (06:21 +0000)]
Fixed ServerMesg strings in BackupPC_Admin via en.pm and fr.pm

21 years ago - Updated fr.pm based on changes from Guillaume Filion.
cbarratt [Thu, 29 Aug 2002 07:25:24 +0000 (07:25 +0000)]
 - Updated fr.pm based on changes from Guillaume Filion.
 - Fixed makeDist to create lib/BackupPC/Lang.
 - Fixed lib/BackupPC/Lib.pm to handle 1.5.0 upgrade (where Lang/*.pm doesn't
   exist).
 - Removed incorrect translation from server message in CGI script

21 years agoAdded create of lib/BackupPC/Lang to configure.pl
cbarratt [Mon, 12 Aug 2002 01:50:25 +0000 (01:50 +0000)]
Added create of lib/BackupPC/Lang to configure.pl

21 years agoAdded $Conf{Language} and $Conf{CgiNavBarAdminAllHosts}
cbarratt [Sun, 11 Aug 2002 05:08:21 +0000 (05:08 +0000)]
Added $Conf{Language} and $Conf{CgiNavBarAdminAllHosts}

21 years ago* Added internationalization (i18n) code from Xavier Nicollet.
cbarratt [Sun, 11 Aug 2002 05:00:55 +0000 (05:00 +0000)]
* Added internationalization (i18n) code from Xavier Nicollet.
  Voila!  BackupPC_Admin now supports English and French, and
  adding more languages is now easy.

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

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

21 years agov1.5.0 v1_5_0
cbarratt [Sat, 10 Aug 2002 23:12:23 +0000 (23:12 +0000)]
v1.5.0

21 years agov1.5.0
cbarratt [Sat, 10 Aug 2002 22:47:37 +0000 (22:47 +0000)]
v1.5.0