Commit Graph

137 Commits

Author SHA1 Message Date
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 3a8c8e86a8 estimate free space by inodes, too. 2010-04-24 20:23:58 +00:00
hjp 28745ebffa documented log levels 2010-04-24 20:23:21 +00:00
hjp 4aa78b8530 write to random backup device, not the least full 2010-04-13 21:54:39 +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 1f6f4c2949 Added (experimental) schema for PostgreSQL. 2009-11-24 16:16:47 +00:00
hjp 2bc2878dd3 more timing info 2009-09-25 19:58:20 +00:00
hjp 582cf47a11 Moved backup to scripts directory and added to script_files. 2009-09-24 08:12:13 +00:00
hjp ff0848e57f private key creation 2009-09-22 09:05:19 +00:00
hjp c0254d8f53 Try to find all devices suitable for backup and mount them. 2009-09-22 09:04:53 +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 8334de1d7b versions split into versions2 and instances. 2009-08-19 11:33:12 +00:00
hjp 8a85412ec7 simba_* users need to be privileged. 2009-08-19 11:24:58 +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 b699d9b65f fixed detection of best backup dir. 2009-06-28 20:21:14 +00:00
hjp 0b5aa8283b noted that dieing is suboptimal. 2008-07-15 21:18:16 +00:00
hjp 54c4472a16 deal with several backup dirs. 2008-07-15 21:17:14 +00:00
hjp a06a715c5d restrict logging by default. 2008-07-13 20:01:25 +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 22bc19fd19 mysql doesn't support nested commands,
so we need to read a chunk of data from versions,
insert it into versions2 and instances,
then read the next chunk ...
2008-04-17 21:34:08 +00:00
hjp d0911e115e script to split versions table. 2008-04-13 10:37:20 +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 87ab219c31 fixed count of skipped tests. 2008-04-05 11:21:51 +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 b110319851 First draft of installation instructions. 2008-03-23 16:27:01 +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 2c2e366cf3 Removed start values for autoincrement columns. 2007-11-17 21:25:37 +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 1546672d9a Added mysql schema. 2007-11-17 19:38:19 +00:00
hjp a70a9d6d31 New TODO: prune list in config file. 2007-11-15 20:18:55 +00:00
hjp 5cea787672 log files with timestamp 2007-11-15 20:18:15 +00:00
hjp 36d9cdef22 copy checksum from previous session if file hasn't changed. 2007-11-15 20:17:55 +00:00
hjp 1447c7d03c Log files with timestamp. 2007-11-15 20:15:56 +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 f186cd0c94 Note problem with setuid files. 2007-06-18 19:44:26 +00:00
hjp f087e0f535 Don't backup /backup. 2007-06-18 19:43:53 +00:00
hjp 00d6862522 Add database support. 2007-06-18 19:43:09 +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 12f2c87c71 Ups - wrong filename. 2007-06-17 21:50:58 +00:00