[SunHELP] gnu tar and remote tape drive
Henry Buford III
henry.buford at veritas.com
Mon Mar 4 14:01:59 CST 2002
Sounds like you need NetBackup! ;)
Have you considered example 3 from man?
Example 3: Using tar to Transfer Files Across the Network
The following is an example using tar to transfer files
across the network. First, here is how to archive files from
the local machine ( example) to a tape on a remote system (
host):
example% tar cvfb - 20 files | rsh host dd of=/dev/rmt/0 obs=20b
messages from tar
example%
In the example above, we are creating a tarfile with the c
key letter, asking for verbose output from tar with the v
function modifier, specifying the name of the output tarfile
using the f function modifier (the standard output is where
the tarfile appears, as indicated by the `-' sign), and
specifying the blocksize (20) with the b function modifier.
If you want to change the blocksize, you must change the
blocksize arguments both on the tar command and on the dd
command.
Henry Buford, III
MCP, MCP+I, MCSE, Sun Certified Solaris Admin I
VERITAS Software
NetBackup DataCenter/BusinesServer Technical Support
Senior Technical Support Analyst
VERITAS Technical Services
Tech Support: 1-800-342-0652
http://support.veritas.com
"Ask me about SupportNOW!" -> http://supportnow.support.veritas.com"
-----Original Message-----
From: Edward Chase [mailto:echase at postoffice.providence.edu]
Sent: Monday, March 04, 2002 2:04 PM
To: sunhelp at sunhelp.org
Subject: [SunHELP] gnu tar and remote tape drive
I've got a Solaris 8 box that I'm attempting to backup using a tape drive
on a Red Hat Linux box.
I've compiled and installed GNU tar v1.13 on the box.
I'm attempting the following:
# /usr/local/bin/tar -cvf operator at www:/dev/st1 ./etc
sh: unknown host
/usr/local/bin/tar: Cannot open operator at www:/dev/st1: I/O error
/usr/local/bin/tar: Error is not recoverable: exiting now
The Solaris box knows what "www" is, I can ssh over to it.
Any pointers, I'm searching around but not found anything thing that's
helping.
---------------------------------------------------------------
Edward F. Chase III | echase at providence.edu
Providence College | http://www.providence.edu
Computer Services | http://studentweb.providence.edu
Providence, RI 02918 |
_______________________________________________
SunHELP maillist - SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list