BackupPC.git
18 years ago r8464@llin: dpavlin | 2005-10-11 17:18:18 +0200
dpavlin [Tue, 11 Oct 2005 16:00:03 +0000 (16:00 +0000)]
 r8464@llin:  dpavlin | 2005-10-11 17:18:18 +0200
 renamed migration sql files

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@173 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8463@llin: dpavlin | 2005-10-11 16:06:47 +0200
dpavlin [Tue, 11 Oct 2005 16:00:02 +0000 (16:00 +0000)]
 r8463@llin:  dpavlin | 2005-10-11 16:06:47 +0200
 removed File::Pid which isn't used

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@172 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agobackups.size can be 0 for very small backups (because it's in Mb)
dpavlin [Mon, 10 Oct 2005 14:32:31 +0000 (14:32 +0000)]
backups.size can be 0 for very small backups (because it's in Mb)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@171 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agouups, opts not opt
dpavlin [Mon, 10 Oct 2005 14:14:28 +0000 (14:14 +0000)]
uups, opts not opt

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@170 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agohush NOTE output
dpavlin [Mon, 10 Oct 2005 14:12:33 +0000 (14:12 +0000)]
hush NOTE output

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@169 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoBUGFIX: update inc_deleted when producing new increment
dpavlin [Mon, 10 Oct 2005 14:11:10 +0000 (14:11 +0000)]
BUGFIX: update inc_deleted when producing new increment

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@168 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agominimum dump length is 45 (empty .tar.gz)
dpavlin [Mon, 10 Oct 2005 14:05:09 +0000 (14:05 +0000)]
minimum dump length is 45 (empty .tar.gz)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@167 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agobetter calculation of inc_size
dpavlin [Mon, 10 Oct 2005 14:04:49 +0000 (14:04 +0000)]
better calculation of inc_size

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@166 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8442@llin: dpavlin | 2005-10-10 15:57:24 +0200
dpavlin [Mon, 10 Oct 2005 13:57:29 +0000 (13:57 +0000)]
 r8442@llin:  dpavlin | 2005-10-10 15:57:24 +0200
 insert real user in archives

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@165 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8441@llin: dpavlin | 2005-10-10 15:54:14 +0200
dpavlin [Mon, 10 Oct 2005 13:57:29 +0000 (13:57 +0000)]
 r8441@llin:  dpavlin | 2005-10-10 15:54:14 +0200
 update total_size in archives

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@164 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoupdate inc_deleted if I can't produce tar increment
dpavlin [Mon, 10 Oct 2005 13:50:51 +0000 (13:50 +0000)]
update inc_deleted if I can't produce tar increment

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@163 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8425@llin: dpavlin | 2005-10-10 15:39:04 +0200
dpavlin [Mon, 10 Oct 2005 13:39:14 +0000 (13:39 +0000)]
 r8425@llin:  dpavlin | 2005-10-10 15:39:04 +0200
 butify

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@162 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8424@llin: dpavlin | 2005-10-10 15:30:41 +0200
dpavlin [Mon, 10 Oct 2005 13:39:13 +0000 (13:39 +0000)]
 r8424@llin:  dpavlin | 2005-10-10 15:30:41 +0200
 use inc_size for everything

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@161 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8423@llin: dpavlin | 2005-10-10 15:30:15 +0200
dpavlin [Mon, 10 Oct 2005 13:39:11 +0000 (13:39 +0000)]
 r8423@llin:  dpavlin | 2005-10-10 15:30:15 +0200
 make delete from archives work

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@160 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8422@llin: dpavlin | 2005-10-10 15:29:45 +0200
dpavlin [Mon, 10 Oct 2005 13:39:10 +0000 (13:39 +0000)]
 r8422@llin:  dpavlin | 2005-10-10 15:29:45 +0200
 convert $total_size to Kb

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@159 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8421@llin: dpavlin | 2005-10-10 15:13:38 +0200
dpavlin [Mon, 10 Oct 2005 13:39:10 +0000 (13:39 +0000)]
 r8421@llin:  dpavlin | 2005-10-10 15:13:38 +0200
 update inc_size in backups

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@158 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8417@llin: dpavlin | 2005-10-10 15:04:43 +0200
dpavlin [Mon, 10 Oct 2005 13:04:51 +0000 (13:04 +0000)]
 r8417@llin:  dpavlin | 2005-10-10 15:04:43 +0200
 added BackupPC_incPartsUpdate which creates .tar.gz of increments

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@157 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8416@llin: dpavlin | 2005-10-10 15:04:13 +0200
dpavlin [Mon, 10 Oct 2005 13:04:49 +0000 (13:04 +0000)]
 r8416@llin:  dpavlin | 2005-10-10 15:04:13 +0200
 added -v flag

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@156 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8415@llin: dpavlin | 2005-10-10 15:03:25 +0200
dpavlin [Mon, 10 Oct 2005 13:04:48 +0000 (13:04 +0000)]
 r8415@llin:  dpavlin | 2005-10-10 15:03:25 +0200
 nicer filenames (remove multiple ___)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@155 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8412@llin: dpavlin | 2005-10-10 14:07:06 +0200
dpavlin [Mon, 10 Oct 2005 12:07:13 +0000 (12:07 +0000)]
 r8412@llin:  dpavlin | 2005-10-10 14:07:06 +0200
 removed status column (not used)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@154 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8411@llin: dpavlin | 2005-10-10 14:06:48 +0200
dpavlin [Mon, 10 Oct 2005 12:07:12 +0000 (12:07 +0000)]
 r8411@llin:  dpavlin | 2005-10-10 14:06:48 +0200
 create sequences

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@153 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agocleanup database schema
dpavlin [Mon, 10 Oct 2005 11:43:08 +0000 (11:43 +0000)]
cleanup database schema

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@152 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoremoved workflow parts
dpavlin [Mon, 10 Oct 2005 10:29:59 +0000 (10:29 +0000)]
removed workflow parts

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@151 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agosomewhat nicer reporting about burned backups (it should report details
dpavlin [Mon, 10 Oct 2005 10:25:37 +0000 (10:25 +0000)]
somewhat nicer reporting about burned backups (it should report details
instead of ids)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@150 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8390@llin: dpavlin | 2005-10-07 14:27:00 +0200
dpavlin [Fri, 7 Oct 2005 12:27:07 +0000 (12:27 +0000)]
 r8390@llin:  dpavlin | 2005-10-07 14:27:00 +0200
 use MaxArchiveSize from configuration in JavaScript

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@149 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r164@klaxLaptop: klax | 2005-10-07 14:05:39 +0200
iklaric [Fri, 7 Oct 2005 12:06:35 +0000 (12:06 +0000)]
 r164@klaxLaptop:  klax | 2005-10-07 14:05:39 +0200
 - minor bugfix ( archive creation )

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@148 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agogit-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@147 8392b6e1-25fa...
iklaric [Fri, 7 Oct 2005 12:03:56 +0000 (12:03 +0000)]
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@147 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r159@klaxLaptop: klax | 2005-10-07 13:14:47 +0200
iklaric [Fri, 7 Oct 2005 12:03:05 +0000 (12:03 +0000)]
 r159@klaxLaptop:  klax | 2005-10-07 13:14:47 +0200
 - switched from hardcoded sql's to $dbh->prepare() & execute()
 - various bugfixes

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@146 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8368@llin: dpavlin | 2005-10-07 13:15:21 +0200
dpavlin [Fri, 7 Oct 2005 11:15:28 +0000 (11:15 +0000)]
 r8368@llin:  dpavlin | 2005-10-07 13:15:21 +0200
 refactor code a lot. Probably broken now.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@145 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r157@klaxLaptop: klax | 2005-10-07 12:28:46 +0200
iklaric [Fri, 7 Oct 2005 10:28:55 +0000 (10:28 +0000)]
 r157@klaxLaptop:  klax | 2005-10-07 12:28:46 +0200
 added $Conf{MaxArchiveSize}, total_gzip_size checking in BurnMedia.pm

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@144 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r155@klaxLaptop: klax | 2005-10-07 11:36:01 +0200
iklaric [Fri, 7 Oct 2005 09:36:10 +0000 (09:36 +0000)]
 r155@klaxLaptop:  klax | 2005-10-07 11:36:01 +0200
 added sub getGzipSize() in SearchLib.pm

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@143 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agofix proslog fixa: nije dobro radilo odcheckiranje glavnog checkboxa, niti checkiranje...
ravilov [Fri, 7 Oct 2005 08:58:45 +0000 (08:58 +0000)]
fix proslog fixa: nije dobro radilo odcheckiranje glavnog checkboxa, niti checkiranje checkboxova ako se vec checkirani "preklapaju" sa onima koje bi checkAll() htio checkirati

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@142 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agofix: checkAll() nije uzimao u obzir vec odabrane backupe
ravilov [Fri, 7 Oct 2005 08:50:23 +0000 (08:50 +0000)]
fix: checkAll() nije uzimao u obzir vec odabrane backupe

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@141 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agofix various things to make Burn selected div work in Internet Explorer
ravilov [Fri, 7 Oct 2005 07:59:28 +0000 (07:59 +0000)]
fix various things to make Burn selected div work in Internet Explorer

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@140 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoreset sequence
dpavlin [Thu, 6 Oct 2005 15:01:32 +0000 (15:01 +0000)]
reset sequence

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@139 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded additional IP classes
dpavlin [Thu, 6 Oct 2005 09:43:53 +0000 (09:43 +0000)]
added additional IP classes

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@138 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r145@klaxLaptop: klax | 2005-09-29 10:46:02 +0200
iklaric [Thu, 29 Sep 2005 08:46:13 +0000 (08:46 +0000)]
 r145@klaxLaptop:  klax | 2005-09-29 10:46:02 +0200
 fixed getBackupsNotBurned();
 fixed insertion into archive_backup, workflows, workflow_step
 added needed sequences (workflow_schema_update.sql);

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@137 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agomake backup size bigint
dpavlin [Fri, 23 Sep 2005 15:04:37 +0000 (15:04 +0000)]
make backup size bigint

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@136 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded support for multiple shares using rsync
dpavlin [Fri, 23 Sep 2005 13:41:31 +0000 (13:41 +0000)]
added support for multiple shares using rsync

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@135 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoconfigurable input xls file
dpavlin [Fri, 23 Sep 2005 10:16:48 +0000 (10:16 +0000)]
configurable input xls file

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@134 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agouse Instruments sheet or sheet1 for istrument data
dpavlin [Fri, 23 Sep 2005 10:16:10 +0000 (10:16 +0000)]
use Instruments sheet or sheet1 for istrument data

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@133 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agomake rsync path case-insesitive (by ugly regex hack), better error reporting
dpavlin [Fri, 23 Sep 2005 10:13:49 +0000 (10:13 +0000)]
make rsync path case-insesitive (by ugly regex hack), better error reporting

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@132 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8206@llin: dpavlin | 2005-09-23 10:53:58 +0200
dpavlin [Fri, 23 Sep 2005 08:54:11 +0000 (08:54 +0000)]
 r8206@llin:  dpavlin | 2005-09-23 10:53:58 +0200
 Added option -j which allow faster initial creation of full-text index from
 existing database because it doesn't check if files allready exists in
 full-text index.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@131 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8205@llin: dpavlin | 2005-09-23 10:52:33 +0200
dpavlin [Fri, 23 Sep 2005 08:54:10 +0000 (08:54 +0000)]
 r8205@llin:  dpavlin | 2005-09-23 10:52:33 +0200
 fix partial import (using "part")

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@130 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agocheckAll now selects just hosts up to one full media
dpavlin [Thu, 22 Sep 2005 14:25:51 +0000 (14:25 +0000)]
checkAll now selects just hosts up to one full media

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@129 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded progress bar which changes color as filled capacity approach 90%
dpavlin [Thu, 22 Sep 2005 13:31:04 +0000 (13:31 +0000)]
added progress bar which changes color as filled capacity approach 90%

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@128 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agomake div with fixed position for current size, note and submit button
dpavlin [Thu, 22 Sep 2005 09:27:17 +0000 (09:27 +0000)]
make div with fixed position for current size, note and submit button

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@127 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadd getElementById cache to speed up things, make floating div for total
dpavlin [Wed, 21 Sep 2005 11:18:29 +0000 (11:18 +0000)]
add getElementById cache to speed up things, make floating div for total
size, note and submit button, use POST in form (to get around limit URI
length when using GET)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@126 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoremove checkboxes for hosts without created increments
dpavlin [Wed, 21 Sep 2005 07:58:08 +0000 (07:58 +0000)]
remove checkboxes for hosts without created increments

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@125 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agofixed JavaScript NaN output (we should really hide checkboxes on rows
dpavlin [Tue, 20 Sep 2005 16:23:04 +0000 (16:23 +0000)]
fixed JavaScript NaN output (we should really hide checkboxes on rows
which doesn't have tar increments)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@124 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r8178@llin: dpavlin | 2005-09-18 21:23:19 +0200
dpavlin [Mon, 19 Sep 2005 11:07:31 +0000 (11:07 +0000)]
 r8178@llin:  dpavlin | 2005-09-18 21:23:19 +0200
 fixed index handling when using node URI

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@123 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago1000x speedup (60 s -> 60 ms)
dpavlin [Fri, 16 Sep 2005 14:11:00 +0000 (14:11 +0000)]
1000x speedup (60 s -> 60 ms)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@122 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r124@klaxLaptop: klax | 2005-09-15 15:46:19 +0200
iklaric [Thu, 15 Sep 2005 13:54:29 +0000 (13:54 +0000)]
 r124@klaxLaptop:  klax | 2005-09-15 15:46:19 +0200
 - first step of workflow is done.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@121 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r123@klaxLaptop: klax | 2005-09-15 14:10:34 +0200
iklaric [Thu, 15 Sep 2005 13:54:28 +0000 (13:54 +0000)]
 r123@klaxLaptop:  klax | 2005-09-15 14:10:34 +0200
 - added workflow database schema

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@120 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agosmall fixes and improvements
dpavlin [Wed, 14 Sep 2005 13:20:03 +0000 (13:20 +0000)]
small fixes and improvements

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@119 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agobugfix: updatedb again works directly on index
dpavlin [Sun, 11 Sep 2005 14:31:49 +0000 (14:31 +0000)]
bugfix: updatedb again works directly on index

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@118 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded node search
dpavlin [Sun, 11 Sep 2005 13:05:06 +0000 (13:05 +0000)]
added node search

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@117 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agosupport for node API
dpavlin [Sun, 11 Sep 2005 12:39:24 +0000 (12:39 +0000)]
support for node API

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@116 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agocreate changelog with html target
dpavlin [Sun, 11 Sep 2005 12:39:05 +0000 (12:39 +0000)]
create changelog with html target

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@115 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agosmall fix
dpavlin [Sun, 11 Sep 2005 11:48:16 +0000 (11:48 +0000)]
small fix

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@114 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agomore things to do
dpavlin [Sun, 11 Sep 2005 11:48:06 +0000 (11:48 +0000)]
more things to do

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@113 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agosimplify (not to say refactor ;-) code. Also, make it actually work.
dpavlin [Thu, 1 Sep 2005 20:24:13 +0000 (20:24 +0000)]
simplify (not to say refactor ;-) code. Also, make it actually work.
Now it doesn't require files or dirs as last parametar (because we know
that we want all files in that backup).
So, run this script, pipe it to gzip (or bzip2) and you have compressed
archive of one increment.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@112 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r113@athlon: dpavlin | 2005-09-01 20:38:07 +0200
dpavlin [Thu, 1 Sep 2005 18:38:49 +0000 (18:38 +0000)]
 r113@athlon:  dpavlin | 2005-09-01 20:38:07 +0200
 start gnumeric on generated .xls if found

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@111 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years ago r112@athlon: dpavlin | 2005-09-01 20:37:03 +0200
dpavlin [Thu, 1 Sep 2005 18:38:48 +0000 (18:38 +0000)]
 r112@athlon:  dpavlin | 2005-09-01 20:37:03 +0200
 include hostname in each row

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@110 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded Ivan's changes to show increment sizes and other minor fixes
dpavlin [Thu, 1 Sep 2005 18:30:51 +0000 (18:30 +0000)]
added Ivan's changes to show increment sizes and other minor fixes

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@109 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agodocument BackupPC_xls_report, merge all hosts into single sheet so you can use autofilter
dpavlin [Wed, 31 Aug 2005 21:22:48 +0000 (21:22 +0000)]
document BackupPC_xls_report, merge all hosts into single sheet so you can use autofilter
to select just some hosts, call test to install new version in xls target

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@108 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoCall HyperEstraier index update only if there are new files or directories
dpavlin [Wed, 31 Aug 2005 20:58:39 +0000 (20:58 +0000)]
Call HyperEstraier index update only if there are new files or directories
in created snapshot. Minor improvements to terminal output.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@107 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agouse sudo for install-etc target
dpavlin [Wed, 31 Aug 2005 20:33:58 +0000 (20:33 +0000)]
use sudo for install-etc target

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@106 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agodocumentation improvements
dpavlin [Wed, 31 Aug 2005 20:33:45 +0000 (20:33 +0000)]
documentation improvements

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@105 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agofix parametars to execute
dpavlin [Wed, 31 Aug 2005 11:05:26 +0000 (11:05 +0000)]
fix parametars to execute

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@104 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded very complex backup query (which is slow, probably a good candidate
dpavlin [Tue, 30 Aug 2005 22:43:57 +0000 (22:43 +0000)]
added very complex backup query (which is slow, probably a good candidate
for materilaized view)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@103 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded share, nicer html
dpavlin [Tue, 30 Aug 2005 22:43:01 +0000 (22:43 +0000)]
added share, nicer html

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@102 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded BackupPC_tarIncCreate
dpavlin [Tue, 30 Aug 2005 22:42:22 +0000 (22:42 +0000)]
added BackupPC_tarIncCreate

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@101 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded Ivan's version of tarCreate which creates just one increment
dpavlin [Tue, 30 Aug 2005 20:29:26 +0000 (20:29 +0000)]
added Ivan's version of tarCreate which creates just one increment
(for later burning to archive media)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@100 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoincreased increment to 100000 files (37Mb of working memory on my system)
dpavlin [Tue, 30 Aug 2005 14:45:33 +0000 (14:45 +0000)]
increased increment to 100000 files (37Mb of working memory on my system)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@99 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoupdate HyperEstraier index in chunks of EST_CHUNK (default is 10000) to
dpavlin [Tue, 30 Aug 2005 14:19:54 +0000 (14:19 +0000)]
update HyperEstraier index in chunks of EST_CHUNK (default is 10000) to
reduce memory usage with huge backup sets (because PostgreSQL tries to load
whole result set in memory).

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@98 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded EST_SYNC_EVERY => 10000 to sync HyperEstraier database every 10000
dpavlin [Tue, 30 Aug 2005 09:55:55 +0000 (09:55 +0000)]
added EST_SYNC_EVERY => 10000 to sync HyperEstraier database every 10000
entries. Catching SIGINT and SIGQUIT and sync HyperEstraier database.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@97 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoimprovements
dpavlin [Tue, 30 Aug 2005 09:55:43 +0000 (09:55 +0000)]
improvements

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@96 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agodon't try to create HyperEstraier index if creating database
dpavlin [Tue, 30 Aug 2005 09:55:34 +0000 (09:55 +0000)]
don't try to create HyperEstraier index if creating database

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@95 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agofirst try at documentation for this extension
dpavlin [Sun, 28 Aug 2005 18:29:44 +0000 (18:29 +0000)]
first try at documentation for this extension

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@94 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoremoved debugging output from index target
dpavlin [Sun, 28 Aug 2005 18:03:13 +0000 (18:03 +0000)]
removed debugging output from index target

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@93 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agonicer messages
dpavlin [Sun, 28 Aug 2005 18:02:58 +0000 (18:02 +0000)]
nicer messages

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@92 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agobug fix: require search string to be in filepath to produce same
dpavlin [Sun, 28 Aug 2005 17:53:46 +0000 (17:53 +0000)]
bug fix: require search string to be in filepath to produce same
results from HyperEstraier as from RDBMS.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@91 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agobug fix: -i option now works, file type fixed in index
dpavlin [Sun, 28 Aug 2005 17:42:25 +0000 (17:42 +0000)]
bug fix: -i option now works, file type fixed in index

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@90 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoautomatic update of HyperEstraier index after each increment,
dpavlin [Sun, 28 Aug 2005 17:04:12 +0000 (17:04 +0000)]
automatic update of HyperEstraier index after each increment,
added -i flag to force re-scan of all files and insert missing
ones into index

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@89 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agooptimization: if there is no file pattern it will fallback on database
dpavlin [Sun, 28 Aug 2005 14:15:01 +0000 (14:15 +0000)]
optimization: if there is no file pattern it will fallback on database
usages which is much faster than HyperEstraier (bacause it has indexes)

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@88 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agobug fixes: date limit now works again, correct number of displayed results,
dpavlin [Sun, 28 Aug 2005 14:05:08 +0000 (14:05 +0000)]
bug fixes: date limit now works again, correct number of displayed results,
added SQL script to remove unneeded columns, dates only selection now
works with HyperEstraier (but, it's MUCH SLOWER than from database),
added ordinal number of result

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@87 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agofirst cut at implemeting HyperEstraier search,
dpavlin [Sun, 28 Aug 2005 12:35:59 +0000 (12:35 +0000)]
first cut at implemeting HyperEstraier search,
shares are now formated like host:share, fix date display,
initial cut at removing unneeded database columns,
rename all fields to comply with database columns

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@86 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agorewrite pager to transfer all parametars via URL instead of form POST
dpavlin [Sun, 28 Aug 2005 10:45:51 +0000 (10:45 +0000)]
rewrite pager to transfer all parametars via URL instead of form POST

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@85 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoconnect to DB just once
dpavlin [Sun, 28 Aug 2005 10:20:31 +0000 (10:20 +0000)]
connect to DB just once

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@84 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agorefactor displaySearchGrid and related function to remove multiple calls
dpavlin [Sun, 28 Aug 2005 10:14:48 +0000 (10:14 +0000)]
refactor displaySearchGrid and related function to remove multiple calls
from BackupPC::CGI::SearchArchives to BackupPC::SearchLib.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@83 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded HyperEstraierIndex configuration option
dpavlin [Sun, 28 Aug 2005 09:12:54 +0000 (09:12 +0000)]
added HyperEstraierIndex configuration option

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@82 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded experimental HyperEstraier index creation.
dpavlin [Sun, 28 Aug 2005 08:40:06 +0000 (08:40 +0000)]
added experimental HyperEstraier index creation.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@81 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agominor tweak and new CSS theme
dpavlin [Fri, 26 Aug 2005 23:50:05 +0000 (23:50 +0000)]
minor tweak and new CSS theme

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@80 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agouse BackupPC::Lib::timeStamp in epoch_to_iso,
dpavlin [Fri, 26 Aug 2005 23:37:10 +0000 (23:37 +0000)]
use BackupPC::Lib::timeStamp in epoch_to_iso,
removed dvds from SQL (in preparation for new storage of archival media),
fix archial SQL,
use correct (I hope) CSS classes in search html

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@79 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agofix restore url escaping
dpavlin [Fri, 26 Aug 2005 21:43:01 +0000 (21:43 +0000)]
fix restore url escaping

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@78 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoupdated
dpavlin [Fri, 26 Aug 2005 21:23:44 +0000 (21:23 +0000)]
updated

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@77 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoalternative implementation of fix with temporary table. must be commit-ed manually.
dpavlin [Fri, 26 Aug 2005 21:18:37 +0000 (21:18 +0000)]
alternative implementation of fix with temporary table. must be commit-ed manually.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@76 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agoadded some useful SQL examples. They are lightly commented within each file.
dpavlin [Fri, 26 Aug 2005 20:44:24 +0000 (20:44 +0000)]
added some useful SQL examples. They are lightly commented within each file.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@75 8392b6e1-25fa-0310-8288-cc32f8e212ea

18 years agofixed found_in_db to prevent duplicate file insertion when restarting from
dpavlin [Fri, 26 Aug 2005 17:18:27 +0000 (17:18 +0000)]
fixed found_in_db to prevent duplicate file insertion when restarting from
non-empty database.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@74 8392b6e1-25fa-0310-8288-cc32f8e212ea