2006-10-02 12:56:36 +02:00
|
|
|
Simple
|
|
|
|
Integrated
|
|
|
|
Multiplatform
|
|
|
|
Backup &
|
|
|
|
Archive
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
Simply
|
|
|
|
Accessible
|
|
|
|
Backup &
|
|
|
|
Archive
|
2006-11-20 23:19:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
Performance:
|
|
|
|
|
|
|
|
workstation 2.4 Ghz P4, 512 MB RAM, SATA disk
|
|
|
|
over 100 Mbps Ethernet
|
|
|
|
to server 2.4 Ghz P4, 2 GB RAM, IDE/SCSI disk array
|
|
|
|
|
|
|
|
~800000 files / 992387 links (lots of hard links)
|
|
|
|
~20 GB / 28330052 kB (multiple storage of hard links)
|
|
|
|
|
|
|
|
time: 4h33m
|
|
|
|
|
|
|
|
~ 60 files / sec.
|
|
|
|
~ 1700 kB / sec
|
|
|
|
|
|
|
|
cpu usage was negligible.
|
|
|
|
bandwidth limited by network for large files.
|
|
|
|
top files/sec was much higher than average (> 300).
|
|
|
|
|
|
|
|
conclusion: bottleneck were seek times for DA.
|
|
|
|
(hardly optimizable except maybe by sorting inode numbers)
|
|
|
|
|
2006-11-28 17:01:10 +01:00
|
|
|
|
|
|
|
Same the next day: 3171 files transferred. 1h20min.
|
|
|
|
|
|
|
|
~200 files / sec.
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-11-21 22:14:38 +01:00
|
|
|
check filenames with non-ascii characters.
|
2006-12-05 00:18:02 +01:00
|
|
|
Seems to work, except if there are non-utf-8 filenames on a utf fs
|
|
|
|
(but that can't really work).
|
2006-11-21 22:14:38 +01:00
|
|
|
|
2006-11-21 22:21:11 +01:00
|
|
|
check gid bits.
|
2006-11-30 14:55:53 +01:00
|
|
|
|
2006-12-05 00:18:02 +01:00
|
|
|
|
2006-11-30 14:55:53 +01:00
|
|
|
Equality checking doesn't work if user is unknown on backup server:
|
|
|
|
|
|
|
|
-r--r--r-- 1 4294967294 users 1449 2004-12-01 15:44 2006-11-27T23.22.42/yoyo.hjp.at/home/camel/wrk/perl-5.8.8/util.h
|
|
|
|
-r--r--r-- 1 4294967294 users 1449 2004-12-01 15:44 2006-11-28T10.18.30/yoyo.hjp.at/home/camel/wrk/perl-5.8.8/util.h
|
|
|
|
|
|
|
|
should be one file with two links, not two files.
|
2006-12-05 00:18:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
Tape performance:
|
|
|
|
|
|
|
|
DDS4 (Vendor: HP Model: C5683A):
|
|
|
|
About 5-6 MB/s for /dev/nst0, @ 64 kB Blocksize. (larger bs makes no
|
|
|
|
difference). File was about 26 MB, 75% compressible with gzip.
|
2007-06-18 21:44:26 +02:00
|
|
|
|
2007-06-22 22:41:56 +02:00
|
|
|
exit if disk full
|
2007-11-15 21:18:55 +01:00
|
|
|
|
2007-11-17 22:03:10 +01:00
|
|
|
On my 800 MHz PIII, the CPU usage is rather high. Some profiling seems
|
|
|
|
to be necessary (or I should get a faster backup server :-)).
|
2008-06-20 08:19:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
mkdir_p doesn't report the real reason of a failure:
|
|
|
|
|
|
|
|
mkdir_p('/backup/2008-06-20T08.10.56/zeno.hjp.at/.', 777)
|
|
|
|
mkdir_p('/backup/2008-06-20T08.10.56/zeno.hjp.at', 777)
|
|
|
|
mkdir_p('/backup/2008-06-20T08.10.56', 777)
|
|
|
|
failed: Read-only file system
|
|
|
|
cannot mkdir /backup/2008-06-20T08.10.56/zeno.hjp.at/.: No such file or directory at /usr/local/share/perl/5.8.8/Simba/CA.pm line 180, <GEN1> line 1.
|
|
|
|
|
|
|
|
The real reason is "Read-only file system" but after mkdir_p returns,
|
|
|
|
$! is "No such file or directory". (and anyway Simba::CA::backup2disk
|
|
|
|
shouldn't just die, but write a message to the log file first, but
|
|
|
|
that's a different problem)
|
|
|
|
|
|
|
|
Ideas:
|
|
|
|
|
|
|
|
* Check if File::Path behaves better.
|
|
|
|
* Die on error and let caller catch the error.
|