/[BackupPC]/trunk/bin/BackupPC_updatedb
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /trunk/bin/BackupPC_updatedb

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 130 - (view) (annotate) - [select for diffs]
Modified Fri Sep 23 08:54:10 2005 UTC (18 years, 7 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 119 - (view) (annotate) - [select for diffs]
Modified Wed Sep 14 13:20:03 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 14474 byte(s)
Diff to previous 118
small fixes and improvements


Revision 118 - (view) (annotate) - [select for diffs]
Modified Sun Sep 11 14:31:49 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 14458 byte(s)
Diff to previous 117
bugfix: updatedb again works directly on index


Revision 117 - (view) (annotate) - [select for diffs]
Modified Sun Sep 11 13:05:06 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 14402 byte(s)
Diff to previous 116
added node search


Revision 116 - (view) (annotate) - [select for diffs]
Modified Sun Sep 11 12:39:24 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 14617 byte(s)
Diff to previous 114
support for node API


Revision 114 - (view) (annotate) - [select for diffs]
Modified Sun Sep 11 11:48:16 2005 UTC (18 years, 7 months ago) by dpavlin
File length: 13877 byte(s)
Diff to previous 107
small fix


Revision 107 - (view) (annotate) - [select for diffs]
Modified Wed Aug 31 20:58:39 2005 UTC (18 years, 8 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 104 - (view) (annotate) - [select for diffs]
Modified Wed Aug 31 11:05:26 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 13856 byte(s)
Diff to previous 99
fix parametars to execute


Revision 99 - (view) (annotate) - [select for diffs]
Modified Tue Aug 30 14:45:33 2005 UTC (18 years, 8 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, 8 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, 8 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, 8 months ago) by dpavlin
File length: 13541 byte(s)
Diff to previous 92
don't try to create HyperEstraier index if creating database


Revision 92 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 18:02:58 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 13527 byte(s)
Diff to previous 90
nicer messages


Revision 90 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 17:42:25 2005 UTC (18 years, 8 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, 8 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, 8 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, 8 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, 8 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, 8 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, 8 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 67 - (view) (annotate) - [select for diffs]
Modified Mon Aug 22 08:58:59 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 10284 byte(s)
Diff to previous 66
small speedup and nicer output


Revision 66 - (view) (annotate) - [select for diffs]
Modified Mon Aug 22 00:09:59 2005 UTC (18 years, 8 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, 8 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, 8 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, 8 months ago) by dpavlin
File length: 9935 byte(s)
Diff to previous 52
print start time and duration of each backup


Revision 52 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 16:45:02 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 9797 byte(s)
Diff to previous 51
schema fix


Revision 51 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 16:40:11 2005 UTC (18 years, 8 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, 8 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, 8 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, 8 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 45 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 11:39:05 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 9099 byte(s)
Diff to previous 44
fine-tune debug output, profile target


Revision 44 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 11:24:55 2005 UTC (18 years, 8 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, 8 months ago) by dpavlin
File length: 8891 byte(s)
Diff to previous 39
display number of new and total files in each increment


Revision 39 - (view) (annotate) - [select for diffs]
Modified Fri Aug 19 15:28:59 2005 UTC (18 years, 8 months ago) by dpavlin
File length: 8809 byte(s)
Diff to previous 38
fix clean pid handling on clean exit


Revision 38 - (view) (annotate) - [select for diffs]
Modified Fri Aug 19 15:27:27 2005 UTC (18 years, 8 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, 8 months ago) by dpavlin
File length: 8503 byte(s)
Diff to previous 35
added date, time and average items per second


Revision 35 - (view) (annotate) - [select for diffs]
Modified Sun Jul 31 21:03:36 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 8293 byte(s)
Diff to previous 34
create BackupPC::View just once


Revision 34 - (view) (annotate) - [select for diffs]
Modified Sun Jul 31 20:53:40 2005 UTC (18 years, 9 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, 9 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, 9 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, 9 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, 9 months ago) by dpavlin
File length: 7871 byte(s)
Diff to previous 25
maintain own stack to cut down memory usage


Revision 25 - (view) (annotate) - [select for diffs]
Modified Wed Jul 13 09:57:41 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 7442 byte(s)
Diff to previous 18
fixed drop-down label


Revision 18 - (view) (annotate) - [select for diffs]
Modified Mon Jul 11 14:31:51 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 7379 byte(s)
Diff to previous 15
fix schema


Revision 15 - (view) (annotate) - [select for diffs]
Modified Mon Jul 11 00:07:25 2005 UTC (18 years, 9 months ago) by dpavlin
File length: 7378 byte(s)
Diff to previous 14
removed debug output


Revision 14 - (view) (annotate) - [select for diffs]
Modified Sun Jul 10 22:56:43 2005 UTC (18 years, 9 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 8 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 12:22:21 2005 UTC (18 years, 10 months ago) by dpavlin
File length: 7575 byte(s)
Diff to previous 7
fix


Revision 7 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 10:14:10 2005 UTC (18 years, 10 months ago) by dpavlin
File length: 7561 byte(s)
Diff to previous 6
removed backup


Revision 6 - (view) (annotate) - [select for diffs]
Added Thu Jun 23 09:47:59 2005 UTC (18 years, 10 months 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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26