BackupPC.git
9 years agoadded par2cmdline 0.4 with Intel Threading Building Blocks 2.2
Dobrica Pavlinusic [Sat, 29 Jan 2011 15:12:24 +0000 (16:12 +0100)]
added par2cmdline 0.4 with Intel Threading Building Blocks 2.2

9 years agomake md5sums read-only
Dobrica Pavlinusic [Sat, 29 Jan 2011 14:54:49 +0000 (15:54 +0100)]
make md5sums read-only

9 years agodocument ASA operation
Dobrica Pavlinusic [Sat, 29 Jan 2011 14:37:56 +0000 (15:37 +0100)]
document ASA operation

9 years agocorrectly support all command-line handling
Dobrica Pavlinusic [Sat, 29 Jan 2011 14:19:27 +0000 (15:19 +0100)]
correctly support all command-line handling

9 years agomake test target for archive testing
Dobrica Pavlinusic [Sat, 29 Jan 2011 13:50:07 +0000 (14:50 +0100)]
make test target for archive testing

9 years agoread protect tar dumps after md5sum calculation
Dobrica Pavlinusic [Sat, 29 Jan 2011 13:46:45 +0000 (14:46 +0100)]
read protect tar dumps after md5sum calculation

This allows operator errors in re-running dumps which have
archives allready created, and it seems that pigz produce
some amount of fuzzing in archive creation, so md5sums
of re-created archives don't match any more (which is bad
since we stored them in database for export to CD/DVD image)

9 years agodocument required global /etc/BackupPC/config.pl options
Dobrica Pavlinusic [Sat, 29 Jan 2011 13:07:02 +0000 (14:07 +0100)]
document required global /etc/BackupPC/config.pl options

9 years agouse same logic as CGI/Archive.pm
Dobrica Pavlinusic [Sat, 29 Jan 2011 13:02:51 +0000 (14:02 +0100)]
use same logic as CGI/Archive.pm

This will select increments which are not yet indexed, because archive will update
database and full-text search for them.

9 years agodon't start initial archive on make reset
Dobrica Pavlinusic [Sat, 29 Jan 2011 12:38:35 +0000 (13:38 +0100)]
don't start initial archive on make reset

9 years agofix example _search_archive.pl configuration
Dobrica Pavlinusic [Fri, 28 Jan 2011 23:02:42 +0000 (00:02 +0100)]
fix example _search_archive.pl configuration

9 years agoremove unused ArchiveChunkSize
Dobrica Pavlinusic [Fri, 28 Jan 2011 22:41:46 +0000 (23:41 +0100)]
remove unused ArchiveChunkSize

9 years agofix backup selection
Dobrica Pavlinusic [Fri, 28 Jan 2011 22:41:20 +0000 (23:41 +0100)]
fix backup selection

9 years agouse ArchiveSplit in Mb everywhere
Dobrica Pavlinusic [Fri, 28 Jan 2011 22:41:00 +0000 (23:41 +0100)]
use ArchiveSplit in Mb everywhere

9 years agoskip hosts without backups checked
Dobrica Pavlinusic [Fri, 28 Jan 2011 22:05:50 +0000 (23:05 +0100)]
skip hosts without backups checked

9 years agodisplay all backups which we don't know state of in web interface
Dobrica Pavlinusic [Fri, 28 Jan 2011 21:40:17 +0000 (22:40 +0100)]
display all backups which we don't know state of in web interface

9 years agoshow all increments without archived copy
Dobrica Pavlinusic [Fri, 28 Jan 2011 20:50:54 +0000 (21:50 +0100)]
show all increments without archived copy

This is mid-size change but it brings web interface in-sync with
default operation of BackupPC_ASA_ArchiveStart

9 years agohush debug output
Dobrica Pavlinusic [Fri, 28 Jan 2011 20:41:58 +0000 (21:41 +0100)]
hush debug output

9 years agofix order and burning is working again
Dobrica Pavlinusic [Fri, 28 Jan 2011 19:48:22 +0000 (20:48 +0100)]
fix order and burning is working again

9 years agoadded dvd_nr to archive_backup_parts
Dobrica Pavlinusic [Fri, 28 Jan 2011 19:05:52 +0000 (20:05 +0100)]
added dvd_nr to archive_backup_parts

9 years agoorder by backup_part_id
Dobrica Pavlinusic [Fri, 28 Jan 2011 19:00:54 +0000 (20:00 +0100)]
order by backup_part_id

9 years agoshow parts archived using view
Dobrica Pavlinusic [Fri, 28 Jan 2011 18:55:43 +0000 (19:55 +0100)]
show parts archived using view

9 years agocreate archive_backup_parts view and use it
Dobrica Pavlinusic [Fri, 28 Jan 2011 18:33:45 +0000 (19:33 +0100)]
create archive_backup_parts view and use it

9 years agomove sql schema in __DATA__
Dobrica Pavlinusic [Fri, 28 Jan 2011 17:58:36 +0000 (18:58 +0100)]
move sql schema in __DATA__

9 years agorun archive test on update
Dobrica Pavlinusic [Fri, 28 Jan 2011 17:58:29 +0000 (18:58 +0100)]
run archive test on update

9 years agotest BackupPC_ASA_ArchiveStart
Dobrica Pavlinusic [Fri, 28 Jan 2011 17:56:21 +0000 (18:56 +0100)]
test BackupPC_ASA_ArchiveStart

9 years agoremove broken tar increment implementation
Dobrica Pavlinusic [Fri, 28 Jan 2011 17:46:32 +0000 (18:46 +0100)]
remove broken tar increment implementation

this is left-over from port of previous version

9 years agoupdate SQL for new schema, cleanup
Dobrica Pavlinusic [Fri, 28 Jan 2011 17:45:28 +0000 (18:45 +0100)]
update SQL for new schema, cleanup

9 years agogit mv BackupPC_burnArchiveCLI BackupPC_ASA_BurnArchiveMedia
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:57:30 +0000 (17:57 +0100)]
git mv BackupPC_burnArchiveCLI BackupPC_ASA_BurnArchiveMedia

9 years agoShow scheduled parts button
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:55:40 +0000 (17:55 +0100)]
Show scheduled parts button

9 years agohide scheduled without option
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:48:15 +0000 (17:48 +0100)]
hide scheduled without option

9 years agomove html and javascipt in __DATA__
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:41:54 +0000 (17:41 +0100)]
move html and javascipt in __DATA__

9 years agoshow scheduled and burned columns
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:29:42 +0000 (17:29 +0100)]
show scheduled and burned columns

9 years agosave selected backup_parts for burning
Dobrica Pavlinusic [Fri, 28 Jan 2011 15:55:37 +0000 (16:55 +0100)]
save selected backup_parts for burning

9 years agobegin rewrite to select backup_parts
Dobrica Pavlinusic [Fri, 28 Jan 2011 15:32:24 +0000 (16:32 +0100)]
begin rewrite to select backup_parts

9 years agostore filename in backup_parts
Dobrica Pavlinusic [Fri, 28 Jan 2011 14:24:38 +0000 (15:24 +0100)]
store filename in backup_parts

9 years agofix inc_size
Dobrica Pavlinusic [Fri, 28 Jan 2011 14:19:16 +0000 (15:19 +0100)]
fix inc_size

9 years agodocument new archive host ASA extension
Dobrica Pavlinusic [Fri, 28 Jan 2011 13:59:45 +0000 (14:59 +0100)]
document new archive host ASA extension

9 years agouse unit all over
Dobrica Pavlinusic [Fri, 28 Jan 2011 13:57:11 +0000 (14:57 +0100)]
use unit all over

9 years agoadded humanly readable unit (b k M G)
Dobrica Pavlinusic [Fri, 28 Jan 2011 13:48:14 +0000 (14:48 +0100)]
added humanly readable unit (b k M G)

9 years agoArchiveMediaSize and ArchiveChunkSize from _search_archive config
Dobrica Pavlinusic [Fri, 28 Jan 2011 13:18:51 +0000 (14:18 +0100)]
ArchiveMediaSize and ArchiveChunkSize from _search_archive config

9 years agorename MaxArchiveFileSize to ArchiveChunkSize
Dobrica Pavlinusic [Fri, 28 Jan 2011 12:50:33 +0000 (13:50 +0100)]
rename MaxArchiveFileSize to ArchiveChunkSize

grep -rl MaxArchiveFileSize . | xargs -i sh -cv "perl -p -i -n -e 's/MaxArchiveFileSize/ArchiveChunkSize/' {}"

9 years agorename MaxArchiveSize to ArchiveMediaSize
Dobrica Pavlinusic [Fri, 28 Jan 2011 12:49:18 +0000 (13:49 +0100)]
rename MaxArchiveSize to ArchiveMediaSize

grep -rl MaxArchiveSize . | xargs -i sh -cv "perl -p -i -n -e 's/MaxArchiveSize/ArchiveMediaSize/' {}"

9 years agoenable backup_parts triggers
Dobrica Pavlinusic [Fri, 28 Jan 2011 12:43:13 +0000 (13:43 +0100)]
enable backup_parts triggers

9 years agorespect ArchiveSplit when creating dumps
Dobrica Pavlinusic [Fri, 28 Jan 2011 12:42:56 +0000 (13:42 +0100)]
respect ArchiveSplit when creating dumps

9 years agodon't eval full-text update, it breaks our re-try logic
Dobrica Pavlinusic [Thu, 27 Jan 2011 23:58:40 +0000 (00:58 +0100)]
don't eval full-text update, it breaks our re-try logic

9 years agouse Getopt::Long::Descriptive
Dobrica Pavlinusic [Thu, 27 Jan 2011 23:36:52 +0000 (00:36 +0100)]
use Getopt::Long::Descriptive

9 years agofix
Dobrica Pavlinusic [Thu, 27 Jan 2011 23:14:06 +0000 (00:14 +0100)]
fix

9 years agofix warning about rollback
Dobrica Pavlinusic [Thu, 27 Jan 2011 23:13:49 +0000 (00:13 +0100)]
fix warning about rollback

9 years agopush host to archive so import and index update will be triggerd
Dobrica Pavlinusic [Thu, 27 Jan 2011 22:40:28 +0000 (23:40 +0100)]
push host to archive so import and index update will be triggerd

9 years agorenamed to only_increment
Dobrica Pavlinusic [Thu, 27 Jan 2011 22:34:29 +0000 (23:34 +0100)]
renamed to only_increment

This better describes functionality and is self-documenting
you can also add it to view ULRs on the web

9 years agofix only_first implementation to return only increment
Dobrica Pavlinusic [Thu, 27 Jan 2011 22:32:27 +0000 (23:32 +0100)]
fix only_first implementation to return only increment

9 years agoadded TarCreateIncremental config variable forced in archive host
Dobrica Pavlinusic [Thu, 27 Jan 2011 21:48:21 +0000 (22:48 +0100)]
added TarCreateIncremental config variable forced in archive host

9 years agostart indexing of dellboy after reset
Dobrica Pavlinusic [Thu, 27 Jan 2011 21:30:02 +0000 (22:30 +0100)]
start indexing of dellboy after reset

9 years agoshow status in ps output by modifing $0
Dobrica Pavlinusic [Thu, 27 Jan 2011 21:29:43 +0000 (22:29 +0100)]
show status in ps output by modifing $0

9 years agofix parsing of gzip -l output
Dobrica Pavlinusic [Thu, 27 Jan 2011 20:32:21 +0000 (21:32 +0100)]
fix parsing of gzip -l output

9 years agoif I can't find gzip size return original one
Dobrica Pavlinusic [Thu, 27 Jan 2011 20:07:05 +0000 (21:07 +0100)]
if I can't find gzip size return original one

9 years agorestart backuppc
Dobrica Pavlinusic [Thu, 27 Jan 2011 19:42:29 +0000 (20:42 +0100)]
restart backuppc

9 years agowithout params archive all hosts
Dobrica Pavlinusic [Thu, 27 Jan 2011 18:31:53 +0000 (18:31 +0000)]
without params archive all hosts

9 years agoremove archive history
Dobrica Pavlinusic [Thu, 27 Jan 2011 18:10:46 +0000 (18:10 +0000)]
remove archive history

9 years agoadded custom DumpPostFinishCmd command
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

9 years agouse Getopt::Long::Descriptive
Dobrica Pavlinusic [Thu, 27 Jan 2011 16:56:52 +0000 (16:56 +0000)]
use Getopt::Long::Descriptive

9 years agocreate all archives which are missing for given host
Dobrica Pavlinusic [Thu, 27 Jan 2011 15:55:52 +0000 (15:55 +0000)]
create all archives which are missing for given host

9 years agocleanup
Dobrica Pavlinusic [Thu, 27 Jan 2011 11:58:56 +0000 (11:58 +0000)]
cleanup

9 years agostore inc_size in backups rounded to 2k cluster
Dobrica Pavlinusic [Thu, 27 Jan 2011 11:28:26 +0000 (11:28 +0000)]
store inc_size in backups rounded to 2k cluster

9 years agofirst version which stores backup parts
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

9 years agosupport hostList in quotes as -h option
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

9 years agofirst steps in importing archive data to RDBMS
Dobrica Pavlinusic [Thu, 27 Jan 2011 00:10:33 +0000 (00:10 +0000)]
first steps in importing archive data to RDBMS

9 years agorename to BackupPC_ASA_SearchUpdate
Dobrica Pavlinusic [Thu, 27 Jan 2011 00:10:20 +0000 (00:10 +0000)]
rename to BackupPC_ASA_SearchUpdate

9 years agogit mv BackupPC_ASA_PostDump_SearchUpdate 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

9 years agoarg parsing is only functional thing right now
Dobrica Pavlinusic [Wed, 26 Jan 2011 22:32:09 +0000 (22:32 +0000)]
arg parsing is only functional thing right now

9 years agosupport no dumps with -m 0
Dobrica Pavlinusic [Wed, 26 Jan 2011 22:25:36 +0000 (22:25 +0000)]
support no dumps with -m 0

9 years agoreally clean eveything on make reset
Dobrica Pavlinusic [Wed, 26 Jan 2011 22:24:45 +0000 (22:24 +0000)]
really clean eveything on make reset

9 years agofixed pid file
Dobrica Pavlinusic [Wed, 26 Jan 2011 21:45:30 +0000 (21:45 +0000)]
fixed pid file

9 years agoless output
Dobrica Pavlinusic [Wed, 26 Jan 2011 20:41:11 +0000 (20:41 +0000)]
less output

9 years agofix make reset
Dobrica Pavlinusic [Wed, 26 Jan 2011 20:35:37 +0000 (20:35 +0000)]
fix make reset

9 years agomove this to post-archive action
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:57:20 +0000 (16:57 +0000)]
move this to post-archive action

9 years agoselect backup number for each host
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:56:48 +0000 (16:56 +0000)]
select backup number for each host

9 years agostart from BackupPC_archiveStart
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:38:39 +0000 (16:38 +0000)]
start from BackupPC_archiveStart

9 years agofix perms
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:37:33 +0000 (16:37 +0000)]
fix perms

9 years agorename to BackupPC_ASA_PostDump_SearchUpdate
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:16:01 +0000 (16:16 +0000)]
rename to BackupPC_ASA_PostDump_SearchUpdate

9 years agoadded option -i to create incremental dumps
Dobrica Pavlinusic [Wed, 26 Jan 2011 16:15:29 +0000 (16:15 +0000)]
added option -i to create incremental dumps

9 years agouse absolute GzipTempDir
Dobrica Pavlinusic [Wed, 26 Jan 2011 13:31:12 +0000 (13:31 +0000)]
use absolute GzipTempDir

9 years agohush debug output
Dobrica Pavlinusic [Wed, 26 Jan 2011 13:23:58 +0000 (13:23 +0000)]
hush debug output

9 years agodon't die on full-text update errors
Dobrica Pavlinusic [Wed, 26 Jan 2011 13:21:07 +0000 (13:21 +0000)]
don't die on full-text update errors

9 years agoActive Directory DOMAIN\login removal
Dobrica Pavlinusic [Wed, 26 Jan 2011 11:42:14 +0000 (11:42 +0000)]
Active Directory DOMAIN\login removal

9 years agonumeric_padding values are used in range search, and muse be sortable
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

9 years agoadded numeric padding to appropriate query values
Dobrica Pavlinusic [Tue, 11 Jan 2011 18:24:27 +0000 (18:24 +0000)]
added numeric padding to appropriate query values

9 years agoimplement numeric padding
Dobrica Pavlinusic [Tue, 11 Jan 2011 18:02:27 +0000 (18:02 +0000)]
implement numeric padding

9 years agoworking shareid query, non working date ranges
Dobrica Pavlinusic [Mon, 10 Jan 2011 20:14:46 +0000 (20:14 +0000)]
working shareid query, non working date ranges

9 years agoincremental forever configuration change
Dobrica Pavlinusic [Mon, 10 Jan 2011 19:57:01 +0000 (19:57 +0000)]
incremental forever configuration change

9 years agoinclude all search directives
Dobrica Pavlinusic [Mon, 10 Jan 2011 19:30:10 +0000 (19:30 +0000)]
include all search directives

9 years agoconstruct query parser manually
Dobrica Pavlinusic [Sun, 9 Jan 2011 21:08:17 +0000 (21:08 +0000)]
construct query parser manually

9 years agodon't dump hits to STDERR without DEBUG env variable
Dobrica Pavlinusic [Sun, 9 Jan 2011 20:23:08 +0000 (20:23 +0000)]
don't dump hits to STDERR without DEBUG env variable

9 years agomake backupnum sortable
Dobrica Pavlinusic [Sun, 9 Jan 2011 20:11:26 +0000 (20:11 +0000)]
make backupnum sortable

9 years agorename params to sname names as in full-text index
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

9 years agoadded offset and num_wated so pager works
Dobrica Pavlinusic [Sun, 9 Jan 2011 20:00:22 +0000 (20:00 +0000)]
added offset and num_wated so pager works

9 years agomatch phrase
Dobrica Pavlinusic [Sun, 9 Jan 2011 20:00:04 +0000 (20:00 +0000)]
match phrase

9 years agomore specific schema desing for sorting
Dobrica Pavlinusic [Sun, 9 Jan 2011 19:02:51 +0000 (19:02 +0000)]
more specific schema desing for sorting

9 years agosplit query to _file_path_split to make it somewhat usable
Dobrica Pavlinusic [Sun, 9 Jan 2011 18:40:46 +0000 (18:40 +0000)]
split query to _file_path_split to make it somewhat usable

9 years agofix tokenization for _file_path_split
Dobrica Pavlinusic [Sun, 9 Jan 2011 18:38:48 +0000 (18:38 +0000)]
fix tokenization for _file_path_split