hjp
2596541fd0
rlease lock at the end, don't try to reserve it again.
2010-09-11 07:26:27 +00:00
hjp
ea76362546
lock fileset by storing the pid in the table. Somewhat ugly but should
...
work.
2010-09-02 12:05:59 +00:00
hjp
3a2570be8e
fixed some typos
2010-09-02 11:41:21 +00:00
hjp
4f4e5540ff
lock fileset during backup to avoid concurrent backups of the same
...
dataset.
Only search the last few (well, currently 30) sessions with a backup on
the same device for matching files in linkdup.
Started to work on support for tokyocabinet
2010-09-02 08:24:07 +00:00
hjp
259d97bc99
avoid temporary filenames with more than 255 characters.
2010-05-26 20:09:05 +00:00
hjp
58b8ab7403
finer grained profiling of versions2 handling
2010-05-20 09:24:54 +00:00
hjp
1452afe110
added comment about ENOENT
2010-05-18 08:03:45 +00:00
hjp
28745ebffa
documented log levels
2010-04-24 20:23:21 +00:00
hjp
f8856de2c9
(late commit)
...
Improved search for last session (now only finds sessions which were
completed successfully).
Some speed optimizations (not very successfull, iirc).
2010-04-09 20:28:20 +00:00
hjp
2bc2878dd3
more timing info
2009-09-25 19:58:20 +00:00
hjp
74da594a66
Only try to hardlink to old versions on the same device.
...
This should significantly speed up the first backup to a new device.
Added some timing info to the log.
2009-09-10 16:14:21 +00:00
hjp
b8210f431e
Fixed equality checking for setuid files.
...
Setuid files are now stored as setuid which means that the backup volume
should be mounted nosuid or even noexec unless you trust all your
clients.
2009-06-28 20:24:18 +00:00
hjp
0b5aa8283b
noted that dieing is suboptimal.
2008-07-15 21:18:16 +00:00
hjp
2edaa67ccc
mkdir_p problem
2008-06-20 06:19:18 +00:00
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
3fa026c805
Added option filesets to backup only some filesets (instead of all of
...
them).
2008-03-21 11:12:42 +00:00
hjp
579b0a33b3
Find duplicate files even if file name is different.
2007-11-17 21:03:10 +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
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
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
7b075f1b40
Added symlinks to CA.
2006-11-28 16:27:59 +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
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
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
86fd40023c
Snapshot
2006-10-02 10:56:36 +00:00