This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /trunk/bin/BackupPC_updatedb
Parent Directory
| Revision Log
Revision
325 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 31 16:29:30 2006 UTC
(18 years, 4 months ago)
by
dpavlin
File length: 17866 byte(s)
Diff to
previous 315
r9164@llin: dpavlin | 2006-01-31 17:29:14 +0100
create trigger, small fixes for deployment without HyperEstraier
Revision
313 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 29 17:29:13 2006 UTC
(18 years, 5 months ago)
by
dpavlin
File length: 17143 byte(s)
Diff to
previous 311
Hyper Estraier URI is now host:share#num /path/to/file
Revision
311 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 29 14:54:17 2006 UTC
(18 years, 5 months ago)
by
dpavlin
File length: 17122 byte(s)
Diff to
previous 306
added -q option to supress output for hosts which aren't changed
(useful for invocation from cron -- this produces report of hosts
processed)
Revision
306 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 28 20:42:42 2006 UTC
(18 years, 5 months ago)
by
dpavlin
File length: 16800 byte(s)
Diff to
previous 305
fix uri_to_id (and thus updating of Hyper Estraier)
Revision
303 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 28 16:45:46 2006 UTC
(18 years, 5 months ago)
by
dpavlin
File length: 16946 byte(s)
Diff to
previous 250
switch to Search::Estraier. Needs more testing for sure!
Revision
250 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 11 14:27:45 2005 UTC
(18 years, 6 months ago)
by
dpavlin
File length: 17577 byte(s)
Diff to
previous 249
create pid file from full path (to enable multiple instances to run in
parallel), update backup in eval, and rollback if needed (for partial
backups mostly)
Revision
246 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 9 12:49:55 2005 UTC
(18 years, 6 months ago)
by
dpavlin
File length: 17234 byte(s)
Diff to
previous 242
check daylight saving time offset when reading from database too.
Revision
241 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 17 17:56:25 2005 UTC
(18 years, 7 months ago)
by
dpavlin
File length: 16513 byte(s)
Diff to
previous 240
bug fix: add attributes with zero (0) value to hyperestraier
Revision
240 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 17 17:22:31 2005 UTC
(18 years, 7 months ago)
by
dpavlin
File length: 16504 byte(s)
Diff to
previous 239
added SQL which delete all backups afeter daylight saving time change.
added cludge which tolerate +/- 1 hour difference in mtime from (probably
windows) hosts which drift when DST is in action, thus producing duplicate
entries
Revision
239 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 17 15:06:24 2005 UTC
(18 years, 7 months ago)
by
dpavlin
File length: 15977 byte(s)
Diff to
previous 235
fix for absolute paths to HyperEstraier index (they probably should be absolute
in config file instead)
Revision
235 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 10 15:07:10 2005 UTC
(18 years, 7 months ago)
by
dpavlin
File length: 15957 byte(s)
Diff to
previous 202
r8747@llin: dpavlin | 2005-11-10 16:06:57 +0100
added backup_parts table to track parts of each backup, rewrote
BackupPC_tarIncCreate to use backup_parts
Revision
202 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 14 14:02:52 2005 UTC
(18 years, 8 months ago)
by
dpavlin
File length: 15582 byte(s)
Diff to
previous 199
r8517@llin: dpavlin | 2005-10-14 16:02:43 +0200
moved all options to configuration file, implemented multiple copies for each
CD, make date in archive_burned be timestamp
Revision
199 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 13 21:19:06 2005 UTC
(18 years, 8 months ago)
by
dpavlin
File length: 15544 byte(s)
Diff to
previous 196
r8512@llin: dpavlin | 2005-10-13 23:06:07 +0200
support for multi-parts increments.
Revision
196 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 13 18:32:59 2005 UTC
(18 years, 8 months ago)
by
dpavlin
File length: 15510 byte(s)
Diff to
previous 190
r8506@llin: dpavlin | 2005-10-13 19:26:50 +0200
added parts to backups, make split calculate suffix length, added ability
to join parts of increments if media size changes
Revision
190 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 13 11:43:58 2005 UTC
(18 years, 8 months ago)
by
dpavlin
File length: 15469 byte(s)
Diff to
previous 183
0 is valid backupnum, so don't re-create full text index on it!
Revision
183 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 12 11:15:19 2005 UTC
(18 years, 8 months ago)
by
dpavlin
File length: 15442 byte(s)
Diff to
previous 160
r8481@llin: dpavlin | 2005-10-12 13:15:12 +0200
added archive_burned to -c
Revision
160 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 10 13:39:11 2005 UTC
(18 years, 8 months ago)
by
dpavlin
File length: 15417 byte(s)
Diff to
previous 153
r8423@llin: dpavlin | 2005-10-10 15:30:15 +0200
make delete from archives work
Revision
131 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 23 08:54:11 2005 UTC
(18 years, 9 months ago)
by
dpavlin
File length: 16540 byte(s)
Diff to
previous 130
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.
Revision
130 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 23 08:54:10 2005 UTC
(18 years, 9 months ago)
by
dpavlin
File length: 16167 byte(s)
Diff to
previous 119
r8205@llin: dpavlin | 2005-09-23 10:52:33 +0200
fix partial import (using "part")
Revision
107 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 31 20:58:39 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 13875 byte(s)
Diff to
previous 104
Call HyperEstraier index update only if there are new files or directories
in created snapshot. Minor improvements to terminal output.
Revision
99 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 30 14:45:33 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 13799 byte(s)
Diff to
previous 98
increased increment to 100000 files (37Mb of working memory on my system)
Revision
98 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 30 14:19:54 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 13749 byte(s)
Diff to
previous 97
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).
Revision
97 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 30 09:55:55 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 13878 byte(s)
Diff to
previous 95
added EST_SYNC_EVERY => 10000 to sync HyperEstraier database every 10000
entries. Catching SIGINT and SIGQUIT and sync HyperEstraier database.
Revision
95 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 30 09:55:34 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 13541 byte(s)
Diff to
previous 92
don't try to create HyperEstraier index if creating database
Revision
90 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 28 17:42:25 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 13498 byte(s)
Diff to
previous 89
bug fix: -i option now works, file type fixed in index
Revision
89 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 28 17:04:12 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 13476 byte(s)
Diff to
previous 86
automatic update of HyperEstraier index after each increment,
added -i flag to force re-scan of all files and insert missing
ones into index
Revision
86 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 28 12:35:59 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 12744 byte(s)
Diff to
previous 82
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
Revision
82 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 28 09:12:54 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 12528 byte(s)
Diff to
previous 81
added HyperEstraierIndex configuration option
Revision
81 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 28 08:40:06 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 12429 byte(s)
Diff to
previous 74
added experimental HyperEstraier index creation.
Revision
74 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 26 17:18:27 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 10373 byte(s)
Diff to
previous 70
fixed found_in_db to prevent duplicate file insertion when restarting from
non-empty database.
Revision
70 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 24 17:12:22 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 10341 byte(s)
Diff to
previous 67
return correct number of new files in each increment (just display error)
Revision
66 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 22 00:09:59 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 10241 byte(s)
Diff to
previous 65
calculate size for each backup (this is more accurate than reading meta data
if you aren't staring from clean BackupPC installation).
Revision
65 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 21 23:25:47 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 9973 byte(s)
Diff to
previous 62
add shareID to backups and fixed commit mess. Now update correctly continues
from last aborted backup and share.
Revision
62 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 21 15:59:55 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 9789 byte(s)
Diff to
previous 57
removed on-disk full path from database and queries, search now tries to
match full path and not only filename
Revision
57 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 21 14:25:46 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 9935 byte(s)
Diff to
previous 52
print start time and duration of each backup
Revision
51 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 20 16:40:11 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 9793 byte(s)
Diff to
previous 50
added SearchDSN and SearchUser configuration directives. Defaults are
probably useful only to me :-)
Added total duration display to BackupPC_updatedb
Revision
50 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 20 15:51:16 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 9755 byte(s)
Diff to
previous 49
display duration time for each increment part
Revision
49 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 20 15:01:48 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 9537 byte(s)
Diff to
previous 48
changes to make it work on PostgreSQL (and add general DBD independence), added
unique indexes, fixed schema, converted primary keys to serial.
This change breaks search for sure, but PostgreSQL is faster than SQLite on
my laptop:
User+System Time
SQLite 24.96514
PostgreSQL 11.08451
Revision
48 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 20 14:13:58 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 9207 byte(s)
Diff to
previous 45
some speedups, I think this is most I can do without changing database
Revision
44 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 20 11:24:55 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 8990 byte(s)
Diff to
previous 40
added verbosity level to -v and backup type to display
Revision
40 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 19 15:38:56 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 8891 byte(s)
Diff to
previous 39
display number of new and total files in each increment
Revision
38 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 19 15:27:27 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 8811 byte(s)
Diff to
previous 37
maintain pid file in /tmp/BackuPC_update.pid
Revision
37 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 19 14:57:30 2005 UTC
(18 years, 10 months ago)
by
dpavlin
File length: 8503 byte(s)
Diff to
previous 35
added date, time and average items per second
Revision
34 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 31 20:53:40 2005 UTC
(18 years, 11 months ago)
by
dpavlin
File length: 8365 byte(s)
Diff to
previous 32
added option to dump just first increment in view
Revision
32 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 31 18:10:45 2005 UTC
(18 years, 11 months ago)
by
dpavlin
File length: 8372 byte(s)
Diff to
previous 30
added -v option to turn debugging on (-d is allready delete)
Revision
30 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 31 15:59:19 2005 UTC
(18 years, 11 months ago)
by
dpavlin
File length: 8299 byte(s)
Diff to
previous 29
added $debug level to make script chatty to STDERR
Revision
29 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 31 12:40:51 2005 UTC
(18 years, 11 months ago)
by
dpavlin
File length: 8154 byte(s)
Diff to
previous 27
bug squashing fest: moved stack in recurseDir in proper scope (which will save memory),
recurse always through all directories (unfortunate fact that directory mtime doesn't
track changes in sub-directories), insert invrement after all files are inserted
Revision
27 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 29 17:31:14 2005 UTC
(18 years, 11 months ago)
by
dpavlin
File length: 7871 byte(s)
Diff to
previous 25
maintain own stack to cut down memory usage
Revision
14 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 10 22:56:43 2005 UTC
(18 years, 11 months ago)
by
dpavlin
File length: 7375 byte(s)
Diff to
previous 8
refactured updatedb to be faster, hopefully easier to understand and to
save just increments for each backup in database.
Revision
6 -
(
view)
(
annotate)
-
[select for diffs]
Added
Thu Jun 23 09:47:59 2005 UTC
(19 years ago)
by
dpavlin
File length: 7584 byte(s)
lot of fixes to make search work
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.