Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Max on July 17, 2002, 10:29:37 PM
-
I am trying to do some stuff with flexbackup by hand on an SME 5.1.2 machine.
I tried looking on sourceforge, searching google, and reading the help that comes with flexbackup but I am having trouble finding any good documentation.
Can anyone point me to some good documentation on how to use flexbackup?
quickly: what I am trying to do is test a new scsi tape drive I installed. I tried "flexbackup -fs /root/.bash_profile" just as a test and it seemed to go onto the tape all right, but when I tried to do "flexbackup -list" it doesnt seem to be happy. I have listed what it returns below... Is this due to the stuff in /etc/flexbackup.conf and if so where is the docs that tell me about that file?
[root@zbesoftware actions]# flexbackup -list
flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK
|------------------------------------------------
| Reading from current tape position
|------------------------------------------------
At block 0.
|------------------------------------------------
| buffer -m 3m -s 10k -u 100 -t -p 75 -B -i /dev/nst0 | gzip -dq | restore -t \
| -v -b 10 -f -
|------------------------------------------------
Kilobytes Out 20
gzip: stdin: not in gzip format
restore: Tape is not a dump tape
Verify tape and initialize maps
End-of-tape encountered
|------------------------------------------------
At block 2.
|------------------------------------------------
-
There are several how-to's concerning backup options listed at:
http://e-smith.org/cgi-bin/contrib.cgi Including one with flexbackup.
That might be a place to start. Other than that, I don't know... I haven't tried it yet.
-
Thanks for the info. I have it working so I can backup and restore stuff at will.
I am still looking for a rundown of the /etc/flexbackup.conf file...
it seems that if I just specify a file, it doesnt do a "dump" backup so I have trouble restoring anything... If I specify a directory then it does do a "dump" and I can do whatever I need...
I now need to look at what all the different config options are, but I cannot find a reference anywhere.
-
Try flexbackup --help. The reason you're getting the error message is that your data is not at file 0 - you need to use the fsf option of mt and skip 1 file.
You can find more information if you search the archives.
Des Dougan