Help with SCSI Tape backup...

backroger

Member
Mar 6, 2005
32
0
0
Hi...

Can I do a compress backup of my files directly to a tape?

example..

Backup

#tar cvzfb /dev/st0 20 /home/user1

Restore

#tar xvzfb /dev/st0 20 /home/user11

Is this possible? or just ordinary "#tar xvfb" parameters?

Thanks in advance.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
It'll make any hardware compression that the device gets moot but it'll work fine. It's a bit more dangerous because if one block on the tape has problems you lose the whole thing where with straight tar I think you'll just lose the file that block was in.
 

degibson

Golden Member
Mar 21, 2008
1,389
0
0
There's nothing about compression that should be breaking tapes. Why don't you try it and find out?
 

backroger

Member
Mar 6, 2005
32
0
0
Thanks guys...I just tried it seems to work but Nothinman has a point about bad block in the tapes.

Again thanks for enlighten me.