hjp
30512f5471
fixed some db queries.
...
Identified (but haven't yet fixed) lack of error handling when reading
from CA.
2008-05-04 13:42:31 +00:00
hjp
6ce3a6b0c5
somewhat naive conversion to new db layout
2008-04-17 21:34:39 +00:00
hjp
066869e9c2
Try to be more intelligent in linking to old instances of the same file.
...
Especially recover from various errors (e.g. link count exvceeded) by
creating a new file.
Note: This code is extremely slow and should not be used. A
reorganisation of the database layout is in progress.
2008-04-13 10:36:46 +00:00
hjp
c42aeb5aee
Refactoring: Moved code to store a regular file in a sub of its own,
...
but don't change the logic yet. Put info about file related subprocesses
into $self so that this can be cleaned up after the session ends.
Added a few log messages.
2008-04-05 11:21:28 +00:00
hjp
446c3a6fdc
fixed name of DA config file.
2008-03-23 16:30:48 +00:00
hjp
26afacf9d0
really fix permissions of da
2008-03-21 21:39:32 +00:00
hjp
3fa026c805
Added option filesets to backup only some filesets (instead of all of
...
them).
2008-03-21 11:12:42 +00:00
hjp
b32e22fd99
fix permissions of da.
2008-03-20 21:13:04 +00:00
hjp
bd90ba53b3
Bumped version number.
2007-11-17 21:04:14 +00:00
hjp
579b0a33b3
Find duplicate files even if file name is different.
2007-11-17 21:03:10 +00:00
hjp
474ef9e7ef
Moved prune list of disk agent to a config file.
2007-11-17 21:01:51 +00:00
hjp
36d9cdef22
copy checksum from previous session if file hasn't changed.
2007-11-15 20:17:55 +00:00
hjp
a8634adc3b
Die if disk full.
2007-06-22 20:41:56 +00:00
hjp
719cc67c25
record sessions.
2007-06-18 20:11:27 +00:00
hjp
f087e0f535
Don't backup /backup.
2007-06-18 19:43:53 +00:00
hjp
0475702456
Get targets from database.
...
Store metadata of backed up files in database.
Use -i option of ssh.
2007-06-18 19:42:08 +00:00
hjp
12c52a7655
logging.
2007-06-18 01:00:29 +00:00
hjp
9f46b37420
moved da to scripts/da
2007-06-17 21:58:57 +00:00
hjp
cd0fcfae1b
Added database connection
2007-06-17 21:40:04 +00:00
hjp
14cd9fc2fb
metastr needs to be called with unquoted filename.
2007-02-10 22:05:25 +00:00
hjp
0ed616e2c2
Fixed unknown users and groups.
2006-11-30 14:50:23 +00:00
hjp
1ad94f6e4f
untainted symlink targets
2006-11-30 13:55:53 +00:00
hjp
76eb5e0b27
Removed check for PERL_UNICODE.
2006-11-30 13:48:17 +00:00
hjp
7b075f1b40
Added symlinks to CA.
2006-11-28 16:27:59 +00:00
hjp
d00c40ca13
Added symlinks to DA.
2006-11-28 16:14:35 +00:00
hjp
07d7027bf0
Made prune paths relative
2006-11-28 16:00:58 +00:00
hjp
9e4d6c250f
Added a debug message
2006-11-28 09:13:58 +00:00
hjp
5049a3a494
Fixed check of metadata.
...
Should have approximately the functionality of my rsync-based
script, except that it doesn't clean up yet.
2006-11-20 15:08:21 +00:00
hjp
6306294038
Make tests less noisy.
2006-11-20 15:06:39 +00:00
hjp
bb10db34d9
Extended build system to automatically add "use lib" where needed.
2006-11-20 11:27:40 +00:00
hjp
b53938127a
More general defaults
2006-11-20 11:26:30 +00:00
hjp
533b2bf32e
Closed command file handle after list to force DA to exit.
...
Restructured code in present to find bug (bug vanished, but I don't see
why).
Made mkdir_p a little bit more fault tolerant.
2006-11-20 09:03:25 +00:00
hjp
ee8667368f
detainted path in DA::list
2006-11-20 09:00:48 +00:00
hjp
0dedd18b8e
Changed DA::list to return relative paths.
2006-11-19 23:31:07 +00:00
hjp
6cc428c1c9
Skeleton of rsync-like backup to disk is working.
...
Relative paths are wrong, and permissions are missing.
Database support is missing.
2006-11-19 23:00:08 +00:00
hjp
3744f9e5db
Module::Build wants a version number.
2006-10-14 08:47:43 +00:00
hjp
9c8573289b
get passes tests for short regular files.
2006-10-02 14:33:26 +00:00
hjp
a52a6869f9
Added Build.PL
...
Added some testcases for DA::list and DA::get
2006-10-02 12:18:30 +00:00
hjp
86fd40023c
Snapshot
2006-10-02 10:56:36 +00:00