BackupPC.git
13 years agofix sql filter for burned/pending
Dobrica Pavlinusic [Sun, 30 Jan 2011 16:01:23 +0000 (17:01 +0100)]
fix sql filter for burned/pending

13 years agouse DateTime::Duration to correctly convert partial dates in to fields
Dobrica Pavlinusic [Sun, 30 Jan 2011 13:38:44 +0000 (14:38 +0100)]
use DateTime::Duration to correctly convert partial dates in to fields

13 years agoarchive_backup renamed to archive_backup_parts
Dobrica Pavlinusic [Sun, 30 Jan 2011 13:07:10 +0000 (14:07 +0100)]
archive_backup renamed to archive_backup_parts

13 years agogit mv BackupPC_removeBurnedArchives BackupPC_ASA_removeBurnedArchives
Dobrica Pavlinusic [Sun, 30 Jan 2011 13:04:48 +0000 (14:04 +0100)]
git mv BackupPC_removeBurnedArchives BackupPC_ASA_removeBurnedArchives

13 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

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

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

13 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

13 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

13 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)

13 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

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

13 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

13 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

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

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

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

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

13 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

13 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

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

13 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

13 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

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

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

13 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

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

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

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

13 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

13 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

13 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

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

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

13 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__

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

13 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

13 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

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

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

13 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

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

13 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)

13 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

13 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/' {}"

13 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/' {}"

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

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

13 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

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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

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

13 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

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

13 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

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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

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

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

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

13 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

13 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

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

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

13 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

13 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

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

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

13 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

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

13 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

13 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

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

13 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

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

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

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

13 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

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

13 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

13 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