On Sat, Mar 13, 1999 at 10:17:52PM +0000, Robert Paris wrote:
> Does that do exactly the same as tar -czf except gzip before stringing
> the files together? I mean, will:
>  afio -Z /dev/tape /etc /home /root /usr/src
> work?
> 

Ah, I see, no, but the following would:



(...)
  source="/etc /home /root /usr/src"
  G_factor=6
  T_factor=3k
  echo ".z .gz .Z .tgz .gif .arc .zip .zoo .lha .jpeg .jpg .hpk" > /tmp/exps
  find $source  \
        | egrep -v -f /usr/local/etc/afio-backup-exclude | \
        afio -ofzBZv -M 50m -G $G_factor -T $T_factor -b32k -c1024 -s10g \
        -E /tmp/exps -@ root@localhost \
        -L /var/log/afiolog /dev/nst0 > /tmp/afio-backup.1 2> /tmp/afio-backup.2
(...)

(for an scsi streamer of 10 GB uncompressed and a pc of 128 MB RAM, but
you can use it for a floppy tape drive as well - change the device, -s, -b and
maybe -c and whatever you like to change.)


and a restore could be performed by

(...)
afio -ikvxZz -b 32k -c 1024 -s 10g \
        -L /var/log/afiolog -@ root@localhost /dev/nst0 \
        2> /tmp/afio-restore.2
(...)



In my opinion afio is the best backup program at least for stand alone 
machines or small networks; because it should be possible to implement
a fully workable backup-and-restore system on a single floppy disk
(I use tomsrtbt, because it recognizes scsi out of the box!)

- tar has the problem that you shouldn't use it with compression (otherwise
a single tape error destroys the whole archive)
- bru's X11-interface doesn't work correctly, but anyway - I don't need
an X11-interface; apart from that it is very, very slow on my machine, whereas
tar and afio are much faster. And bru does some things I am not really able to
control. This is not what I need - a backup system has to be SIMPLE, RELIABLE
and handy.
- arkeia is very complex, and in fact intended for major networks; nothing
for my floppy linux. And arkeia has no verify - so useless at all.
- taper would be nice: comfortable, but after some tests under a cron job
I faced some bugs in the restore module, what a pity.

Bye, Juergen.


-- 
*****************************************************************
* Juergen Leising, E-Mail: [EMAIL PROTECTED] *
*          http://www.stud.uni-bayreuth.de/~a0037/              *
*****************************************************************

Reply via email to