tar backup to remote tape drive
Byron Sonne
blsonne-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sat Oct 11 17:38:52 UTC 2003
On the off chance that anyone has been following this drama, it would
appear I've got a solution; it uses the 'buffer' command. I also turned
off compression as I've now opted to do it in hardware (and it was
confusing me; I couldn't believe 2.4GB of data was being compressed into
479MB, I thought something was screwing up!):
tar -cevf - / | ssh sheridan buffer -u 100 -B -t -p 75 -o /dev/nst0
Later,
B
p.s. Yes, the 'sheridan' hostname is a B5 reference. Best sci-fi show ever!
> Finally back to doing regular backups on my home boxen as should be
> done... but I have a question for y'all:
> Client is my OpenBSD 3.3 box, backing up to /dev/st0 on my SuSE 8.2 box,
> over 100Mb ethernet, using the BSD not GNU flavour of tar.
> If I use the following command string:
> tar -czvf - / | ssh sheridan dd of=/dev/st0 bs=10240
> it fails due to to dd choking on /dev/st0 as an invalid parameter, and I
> get a broken pipe. However, if I use the following command string:
> tar -czvf - / | ssh sheridan dd of=/dev/st0 obs=20b
> Everything goes swimmingly. What the frig?
--
For good, return good. For evil, return justice.
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list