[plug] Backups

Richard Sharpe sharpe at ns.aus.com
Thu Jul 6 22:09:15 WST 2000


At 05:06 PM 7/8/00 +0800, Jason Nicholls wrote:
>Hiya,
>
>On Sat, Jul 08, 2000 at 04:47:32PM +0800, Earnshaw, Mike wrote:
>> List,
>> 
>> When I try to tar to a scsi tape with:
>> 
>> tar -czf filename.tar /mnt/cad | /dev/st0 
>
>shouldn't that last pipe be a redirector (ie: '>')?

No! To use redirection, do:

  tar -czf - /mnt/cad > /dev/st0

However, it is a lot easier to do:

  tar -czf /dev/st0 /mnt/cad

Also, watch out for misspellings:

  tar -czf /dev/sto /mnt/cad

I have come across many a UNIX system with large files in /dev before.


>Later,
>
>Jason Nicholls
>--------------------------------------------------------------------
>Jason Nicholls    icq: 11745841    email: <jason at mindsocket.com.au>
>Proprietor                        mobile: 0417 410 811
>Mind Socket [web services]          http://www.mindsocket.com.au/
>--------------------------------------------------------------------
>
>

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course
Author: First Australian 2-day, intensive, hands-on Samba course




More information about the plug mailing list