Dobrica Pavlinusic [Thu, 27 Jan 2011 21:30:02 +0000 (22:30 +0100)]
start indexing of dellboy after reset
Dobrica Pavlinusic [Thu, 27 Jan 2011 21:29:43 +0000 (22:29 +0100)]
show status in ps output by modifing $0
Dobrica Pavlinusic [Thu, 27 Jan 2011 20:32:21 +0000 (21:32 +0100)]
fix parsing of gzip -l output
Dobrica Pavlinusic [Thu, 27 Jan 2011 20:07:05 +0000 (21:07 +0100)]
if I can't find gzip size return original one
Dobrica Pavlinusic [Thu, 27 Jan 2011 19:42:29 +0000 (20:42 +0100)]
restart backuppc
Dobrica Pavlinusic [Thu, 27 Jan 2011 18:31:53 +0000 (18:31 +0000)]
without params archive all hosts
Dobrica Pavlinusic [Thu, 27 Jan 2011 18:10:46 +0000 (18:10 +0000)]
remove archive history
Dobrica Pavlinusic [Thu, 27 Jan 2011 18:10:05 +0000 (18:10 +0000)]
added custom DumpPostFinishCmd command
we really need finished dump to start indexing it! so all other DumpPost
commands happen too early
Dobrica Pavlinusic [Thu, 27 Jan 2011 16:56:52 +0000 (16:56 +0000)]
use Getopt::Long::Descriptive
Dobrica Pavlinusic [Thu, 27 Jan 2011 15:55:52 +0000 (15:55 +0000)]
create all archives which are missing for given host
Dobrica Pavlinusic [Thu, 27 Jan 2011 11:58:56 +0000 (11:58 +0000)]
cleanup
Dobrica Pavlinusic [Thu, 27 Jan 2011 11:28:26 +0000 (11:28 +0000)]
store inc_size in backups rounded to 2k cluster
Dobrica Pavlinusic [Thu, 27 Jan 2011 01:21:58 +0000 (01:21 +0000)]
first version which stores backup parts
but doesn't work with consistency triggers enabled
Dobrica Pavlinusic [Thu, 27 Jan 2011 00:26:31 +0000 (00:26 +0000)]
support hostList in quotes as -h option
this speeds up pre-archive hook
Dobrica Pavlinusic [Thu, 27 Jan 2011 00:10:33 +0000 (00:10 +0000)]
first steps in importing archive data to RDBMS
Dobrica Pavlinusic [Thu, 27 Jan 2011 00:10:20 +0000 (00:10 +0000)]
rename to BackupPC_ASA_SearchUpdate
Dobrica Pavlinusic [Wed, 26 Jan 2011 22:36:49 +0000 (22:36 +0000)]
git mv BackupPC_ASA_PostDump_SearchUpdate BackupPC_ASA_SearchUpdate
Dobrica Pavlinusic [Wed, 26 Jan 2011 22:32:09 +0000 (22:32 +0000)]
arg parsing is only functional thing right now
Dobrica Pavlinusic [Wed, 26 Jan 2011 22:25:36 +0000 (22:25 +0000)]
support no dumps with -m 0
Dobrica Pavlinusic [Wed, 26 Jan 2011 22:24:45 +0000 (22:24 +0000)]
really clean eveything on make reset
Dobrica Pavlinusic [Wed, 26 Jan 2011 21:45:30 +0000 (21:45 +0000)]
fixed pid file
Dobrica Pavlinusic [Wed, 26 Jan 2011 20:41:11 +0000 (20:41 +0000)]
less output
Dobrica Pavlinusic [Wed, 26 Jan 2011 20:35:37 +0000 (20:35 +0000)]
fix make reset
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:57:20 +0000 (16:57 +0000)]
move this to post-archive action
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:56:48 +0000 (16:56 +0000)]
select backup number for each host
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:38:39 +0000 (16:38 +0000)]
start from BackupPC_archiveStart
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:37:33 +0000 (16:37 +0000)]
fix perms
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:16:01 +0000 (16:16 +0000)]
rename to BackupPC_ASA_PostDump_SearchUpdate
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:15:29 +0000 (16:15 +0000)]
added option -i to create incremental dumps
Dobrica Pavlinusic [Wed, 26 Jan 2011 13:31:12 +0000 (13:31 +0000)]
use absolute GzipTempDir
Dobrica Pavlinusic [Wed, 26 Jan 2011 13:23:58 +0000 (13:23 +0000)]
hush debug output
Dobrica Pavlinusic [Wed, 26 Jan 2011 13:21:07 +0000 (13:21 +0000)]
don't die on full-text update errors
Dobrica Pavlinusic [Wed, 26 Jan 2011 11:42:14 +0000 (11:42 +0000)]
Active Directory DOMAIN\login removal
Dobrica Pavlinusic [Tue, 11 Jan 2011 18:32:11 +0000 (18:32 +0000)]
numeric_padding values are used in range search, and muse be sortable
Dobrica Pavlinusic [Tue, 11 Jan 2011 18:24:27 +0000 (18:24 +0000)]
added numeric padding to appropriate query values
Dobrica Pavlinusic [Tue, 11 Jan 2011 18:02:27 +0000 (18:02 +0000)]
implement numeric padding
Dobrica Pavlinusic [Mon, 10 Jan 2011 20:14:46 +0000 (20:14 +0000)]
working shareid query, non working date ranges
Dobrica Pavlinusic [Mon, 10 Jan 2011 19:57:01 +0000 (19:57 +0000)]
incremental forever configuration change
Dobrica Pavlinusic [Mon, 10 Jan 2011 19:30:10 +0000 (19:30 +0000)]
include all search directives
Dobrica Pavlinusic [Sun, 9 Jan 2011 21:08:17 +0000 (21:08 +0000)]
construct query parser manually
Dobrica Pavlinusic [Sun, 9 Jan 2011 20:23:08 +0000 (20:23 +0000)]
don't dump hits to STDERR without DEBUG env variable
Dobrica Pavlinusic [Sun, 9 Jan 2011 20:11:26 +0000 (20:11 +0000)]
make backupnum sortable
Dobrica Pavlinusic [Sun, 9 Jan 2011 20:08:15 +0000 (20:08 +0000)]
rename params to sname names as in full-text index
This sames us one indirect mapping when looking into code
Dobrica Pavlinusic [Sun, 9 Jan 2011 20:00:22 +0000 (20:00 +0000)]
added offset and num_wated so pager works
Dobrica Pavlinusic [Sun, 9 Jan 2011 20:00:04 +0000 (20:00 +0000)]
match phrase
Dobrica Pavlinusic [Sun, 9 Jan 2011 19:02:51 +0000 (19:02 +0000)]
more specific schema desing for sorting
Dobrica Pavlinusic [Sun, 9 Jan 2011 18:40:46 +0000 (18:40 +0000)]
split query to _file_path_split to make it somewhat usable
Dobrica Pavlinusic [Sun, 9 Jan 2011 18:38:48 +0000 (18:38 +0000)]
fix tokenization for _file_path_split
Dobrica Pavlinusic [Sun, 9 Jan 2011 18:38:17 +0000 (18:38 +0000)]
re-create installation with make reset
Dobrica Pavlinusic [Sun, 9 Jan 2011 18:26:33 +0000 (18:26 +0000)]
handle exists for first_time_indexing
Dobrica Pavlinusic [Sun, 9 Jan 2011 18:25:11 +0000 (18:25 +0000)]
commit search index
Dobrica Pavlinusic [Sun, 9 Jan 2011 18:04:20 +0000 (18:04 +0000)]
make indexer and searcher lazy
this allows web interface for search to skip creation of indexer
Dobrica Pavlinusic [Sun, 9 Jan 2011 17:43:07 +0000 (17:43 +0000)]
partial skeleton for search with needed options
Dobrica Pavlinusic [Sun, 9 Jan 2011 15:26:55 +0000 (15:26 +0000)]
move KinoSearch index path to KinoPath config var
Dobrica Pavlinusic [Sun, 9 Jan 2011 15:21:53 +0000 (15:21 +0000)]
cleanup exists
Dobrica Pavlinusic [Sun, 9 Jan 2011 15:20:25 +0000 (15:20 +0000)]
SearchModule config to select engine
Dobrica Pavlinusic [Sun, 9 Jan 2011 14:56:38 +0000 (14:56 +0000)]
move loading of search module into BackupPC::Search
Dobrica Pavlinusic [Sun, 9 Jan 2011 14:38:05 +0000 (14:38 +0000)]
finish rename to BackupPC::Search
Dobrica Pavlinusic [Sun, 9 Jan 2011 14:35:15 +0000 (14:35 +0000)]
rename BackupPC::SearchLib -> BackupPC::Search
Dobrica Pavlinusic [Fri, 7 Jan 2011 19:12:20 +0000 (19:12 +0000)]
move search in Search::Estraier
Dobrica Pavlinusic [Fri, 7 Jan 2011 18:03:02 +0000 (18:03 +0000)]
remove unused getHyperEstraier_url
Dobrica Pavlinusic [Fri, 7 Jan 2011 16:57:34 +0000 (16:57 +0000)]
add _file_path_split
Dobrica Pavlinusic [Fri, 7 Jan 2011 16:52:50 +0000 (16:52 +0000)]
use just case folder and tokanizer
we don't really need stemming
Dobrica Pavlinusic [Fri, 7 Jan 2011 15:58:51 +0000 (15:58 +0000)]
begin of KinoSearch integration
Dobrica Pavlinusic [Fri, 7 Jan 2011 13:09:55 +0000 (13:09 +0000)]
configure which search module to load using KINO
Dobrica Pavlinusic [Fri, 7 Jan 2011 12:15:23 +0000 (12:15 +0000)]
begin split of full-text into own module
This will enable usage of other search engines
Dobrica Pavlinusic [Tue, 4 Jan 2011 15:44:08 +0000 (15:44 +0000)]
fix lib path and syntax error in stat
Dobrica Pavlinusic [Tue, 4 Jan 2011 15:42:38 +0000 (15:42 +0000)]
remove archive burned on media
Dobrica Pavlinusic [Tue, 4 Jan 2011 15:41:24 +0000 (15:41 +0000)]
fix shares which start with slash /
Dobrica Pavlinusic [Tue, 4 Jan 2011 15:40:03 +0000 (15:40 +0000)]
fix lib path
Dobrica Pavlinusic [Tue, 4 Jan 2011 15:37:21 +0000 (15:37 +0000)]
check filesize of archives on disk with size in database
Dobrica Pavlinusic [Tue, 4 Jan 2011 14:04:21 +0000 (14:04 +0000)]
notes for later...
Dobrica Pavlinusic [Mon, 3 Jan 2011 23:03:32 +0000 (23:03 +0000)]
instructions for burn CLI from backuppc shell
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:57:30 +0000 (21:57 +0000)]
icons are now in png
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:56:20 +0000 (21:56 +0000)]
remove Filesys::Df dependency
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:38:32 +0000 (21:38 +0000)]
create iso images for burning
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:28:15 +0000 (21:28 +0000)]
create view backups_on_dvds needed for archive
Dobrica Pavlinusic [Mon, 3 Jan 2011 21:21:04 +0000 (21:21 +0000)]
show search archive and burn media CGI interface
Dobrica Pavlinusic [Mon, 3 Jan 2011 20:54:24 +0000 (20:54 +0000)]
update description of commands
Dobrica Pavlinusic [Mon, 3 Jan 2011 20:51:10 +0000 (20:51 +0000)]
how to start BackupPC server
Dobrica Pavlinusic [Mon, 3 Jan 2011 20:27:49 +0000 (20:27 +0000)]
FIXME: hard-code /etc/BackupPC as config dir!
Dobrica Pavlinusic [Mon, 3 Jan 2011 17:31:00 +0000 (17:31 +0000)]
fix lib paths
Dobrica Pavlinusic [Mon, 3 Jan 2011 17:25:26 +0000 (17:25 +0000)]
required dependency for BackupPC_incPartsUpdate
Dobrica Pavlinusic [Mon, 3 Jan 2011 17:21:52 +0000 (17:21 +0000)]
create tar increments for DVD burning
Dobrica Pavlinusic [Mon, 3 Jan 2011 17:21:13 +0000 (17:21 +0000)]
first iteration of installation SOP
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
Dobrica Pavlinusic [Mon, 3 Jan 2011 16:49:17 +0000 (16:49 +0000)]
begin search integration into version 3.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.
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.