Dobrica Pavlinusic [Wed, 16 Feb 2011 15:07:10 +0000 (16:07 +0100)]
all backup parts will be attached to first share in backups
Dobrica Pavlinusic [Wed, 9 Feb 2011 12:47:16 +0000 (13:47 +0100)]
import just increments which have files in them
Dobrica Pavlinusic [Wed, 9 Feb 2011 11:05:05 +0000 (12:05 +0100)]
few more manual tests
Dobrica Pavlinusic [Wed, 9 Feb 2011 10:47:28 +0000 (10:47 +0000)]
sort backup nums numerically to get correct order
Dobrica Pavlinusic [Mon, 7 Feb 2011 12:39:18 +0000 (12:39 +0000)]
LIMIT doesn't work since we don't get correct number of results
Dobrica Pavlinusic [Mon, 7 Feb 2011 10:53:32 +0000 (10:53 +0000)]
Merge branch 'search-3.2.0' of git.rot13.org:/git/BackupPC into search-3.2.0
Dobrica Pavlinusic [Sun, 6 Feb 2011 12:27:07 +0000 (13:27 +0100)]
correctly lc $host all over the place
Dobrica Pavlinusic [Sun, 6 Feb 2011 10:32:36 +0000 (11:32 +0100)]
use asa logo
Dobrica Pavlinusic [Sun, 6 Feb 2011 10:32:02 +0000 (11:32 +0100)]
disable debug
Dobrica Pavlinusic [Sun, 6 Feb 2011 10:31:20 +0000 (11:31 +0100)]
lowercase (lc) hostname to get increments
Dobrica Pavlinusic [Fri, 4 Feb 2011 16:58:08 +0000 (16:58 +0000)]
_search_archive host config file for /etc/BackupPC/pc
Dobrica Pavlinusic [Tue, 1 Feb 2011 12:12:02 +0000 (13:12 +0100)]
remove debug output to STDERR
Dobrica Pavlinusic [Mon, 31 Jan 2011 15:04:06 +0000 (16:04 +0100)]
visit minimum number of backups for only_increment
we need two increment and full or two full backups to correctly detect changes
without this change every full backup was dumped with all content instead of increment
Dobrica Pavlinusic [Mon, 31 Jan 2011 13:14:33 +0000 (14:14 +0100)]
re-implement only_increment by comparing inodes
BackupPC history does that, and this also allows us to hide directories
which are same on previous increments.
Dobrica Pavlinusic [Sun, 30 Jan 2011 19:20:52 +0000 (20:20 +0100)]
expand and fix backups_burned view
Dobrica Pavlinusic [Sun, 30 Jan 2011 17:17:50 +0000 (18:17 +0100)]
tranfer xferOK to detect errors and run cleanup
this can be killall par2 or similar command or par dying on us
Dobrica Pavlinusic [Sun, 30 Jan 2011 16:47:25 +0000 (17:47 +0100)]
make check_archive transactionally safe
Dobrica Pavlinusic [Sun, 30 Jan 2011 16:01:23 +0000 (17:01 +0100)]
fix sql filter for burned/pending
Dobrica Pavlinusic [Sun, 30 Jan 2011 13:38:44 +0000 (14:38 +0100)]
use DateTime::Duration to correctly convert partial dates in to fields
Dobrica Pavlinusic [Sun, 30 Jan 2011 13:07:10 +0000 (14:07 +0100)]
archive_backup renamed to archive_backup_parts
Dobrica Pavlinusic [Sun, 30 Jan 2011 13:04:48 +0000 (14:04 +0100)]
git mv BackupPC_removeBurnedArchives BackupPC_ASA_removeBurnedArchives
Dobrica Pavlinusic [Sat, 29 Jan 2011 15:12:24 +0000 (16:12 +0100)]
added par2cmdline 0.4 with Intel Threading Building Blocks 2.2
Dobrica Pavlinusic [Sat, 29 Jan 2011 14:54:49 +0000 (15:54 +0100)]
make md5sums read-only
Dobrica Pavlinusic [Sat, 29 Jan 2011 14:37:56 +0000 (15:37 +0100)]
document ASA operation
Dobrica Pavlinusic [Sat, 29 Jan 2011 14:19:27 +0000 (15:19 +0100)]
correctly support all command-line handling
Dobrica Pavlinusic [Sat, 29 Jan 2011 13:50:07 +0000 (14:50 +0100)]
make test target for archive testing
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)
Dobrica Pavlinusic [Sat, 29 Jan 2011 13:07:02 +0000 (14:07 +0100)]
document required global /etc/BackupPC/config.pl options
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.
Dobrica Pavlinusic [Sat, 29 Jan 2011 12:38:35 +0000 (13:38 +0100)]
don't start initial archive on make reset
Dobrica Pavlinusic [Fri, 28 Jan 2011 23:02:42 +0000 (00:02 +0100)]
fix example _search_archive.pl configuration
Dobrica Pavlinusic [Fri, 28 Jan 2011 22:41:46 +0000 (23:41 +0100)]
remove unused ArchiveChunkSize
Dobrica Pavlinusic [Fri, 28 Jan 2011 22:41:20 +0000 (23:41 +0100)]
fix backup selection
Dobrica Pavlinusic [Fri, 28 Jan 2011 22:41:00 +0000 (23:41 +0100)]
use ArchiveSplit in Mb everywhere
Dobrica Pavlinusic [Fri, 28 Jan 2011 22:05:50 +0000 (23:05 +0100)]
skip hosts without backups checked
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
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
Dobrica Pavlinusic [Fri, 28 Jan 2011 20:41:58 +0000 (21:41 +0100)]
hush debug output
Dobrica Pavlinusic [Fri, 28 Jan 2011 19:48:22 +0000 (20:48 +0100)]
fix order and burning is working again
Dobrica Pavlinusic [Fri, 28 Jan 2011 19:05:52 +0000 (20:05 +0100)]
added dvd_nr to archive_backup_parts
Dobrica Pavlinusic [Fri, 28 Jan 2011 19:00:54 +0000 (20:00 +0100)]
order by backup_part_id
Dobrica Pavlinusic [Fri, 28 Jan 2011 18:55:43 +0000 (19:55 +0100)]
show parts archived using view
Dobrica Pavlinusic [Fri, 28 Jan 2011 18:33:45 +0000 (19:33 +0100)]
create archive_backup_parts view and use it
Dobrica Pavlinusic [Fri, 28 Jan 2011 17:58:36 +0000 (18:58 +0100)]
move sql schema in __DATA__
Dobrica Pavlinusic [Fri, 28 Jan 2011 17:58:29 +0000 (18:58 +0100)]
run archive test on update
Dobrica Pavlinusic [Fri, 28 Jan 2011 17:56:21 +0000 (18:56 +0100)]
test BackupPC_ASA_ArchiveStart
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
Dobrica Pavlinusic [Fri, 28 Jan 2011 17:45:28 +0000 (18:45 +0100)]
update SQL for new schema, cleanup
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:57:30 +0000 (17:57 +0100)]
git mv BackupPC_burnArchiveCLI BackupPC_ASA_BurnArchiveMedia
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:55:40 +0000 (17:55 +0100)]
Show scheduled parts button
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:48:15 +0000 (17:48 +0100)]
hide scheduled without option
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:41:54 +0000 (17:41 +0100)]
move html and javascipt in __DATA__
Dobrica Pavlinusic [Fri, 28 Jan 2011 16:29:42 +0000 (17:29 +0100)]
show scheduled and burned columns
Dobrica Pavlinusic [Fri, 28 Jan 2011 15:55:37 +0000 (16:55 +0100)]
save selected backup_parts for burning
Dobrica Pavlinusic [Fri, 28 Jan 2011 15:32:24 +0000 (16:32 +0100)]
begin rewrite to select backup_parts
Dobrica Pavlinusic [Fri, 28 Jan 2011 14:24:38 +0000 (15:24 +0100)]
store filename in backup_parts
Dobrica Pavlinusic [Fri, 28 Jan 2011 14:19:16 +0000 (15:19 +0100)]
fix inc_size
Dobrica Pavlinusic [Fri, 28 Jan 2011 13:59:45 +0000 (14:59 +0100)]
document new archive host ASA extension
Dobrica Pavlinusic [Fri, 28 Jan 2011 13:57:11 +0000 (14:57 +0100)]
use unit all over
Dobrica Pavlinusic [Fri, 28 Jan 2011 13:48:14 +0000 (14:48 +0100)]
added humanly readable unit (b k M G)
Dobrica Pavlinusic [Fri, 28 Jan 2011 13:18:51 +0000 (14:18 +0100)]
ArchiveMediaSize and ArchiveChunkSize from _search_archive config
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/' {}"
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/' {}"
Dobrica Pavlinusic [Fri, 28 Jan 2011 12:43:13 +0000 (13:43 +0100)]
enable backup_parts triggers
Dobrica Pavlinusic [Fri, 28 Jan 2011 12:42:56 +0000 (13:42 +0100)]
respect ArchiveSplit when creating dumps
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
Dobrica Pavlinusic [Thu, 27 Jan 2011 23:36:52 +0000 (00:36 +0100)]
use Getopt::Long::Descriptive
Dobrica Pavlinusic [Thu, 27 Jan 2011 23:14:06 +0000 (00:14 +0100)]
fix
Dobrica Pavlinusic [Thu, 27 Jan 2011 23:13:49 +0000 (00:13 +0100)]
fix warning about rollback
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
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
Dobrica Pavlinusic [Thu, 27 Jan 2011 22:32:27 +0000 (23:32 +0100)]
fix only_first implementation to return only increment
Dobrica Pavlinusic [Thu, 27 Jan 2011 21:48:21 +0000 (22:48 +0100)]
added TarCreateIncremental config variable forced in archive host
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