If I want to perform a tape copy for a remote system from that having
the tape drive, can i use tar command? If it's possible, what is the
command line look like
Thank you
Vincent Mak
>Thank you
>Vincent Mak
Vincent,
I am not sure if the AIX tar command supports the remote tape
format (you may need to check the manual entry for this). If it
does, the format of the command will be something like this:
tar -cf <tapehost>:/dev/rmt0 <fileset>
where <tapehost> is the name (or address) of the 6000 with the
tape drive attached, and <fileset> is the files you want to back
up.
If you don't have any luck with the tar command, I suggest you
use the AIX backup command (using the by-inode) option. I know
for certain that this utility supports remote tape protocol. In
addition to this, the restore command has a really handy
interactive option for getting specific files back from an
archive. If you have further queries, please e-mail me.
Steve McDougall (prs...@ozemail.com.au)
Overseas Technical Infrastructure Support
Australian Dept of Immigration and Multicultural Affairs
Steve is right, the backup and restore protocol is easier to use. The
remote version of backup is called rdump on AIX. Try something like
this:
rdump -0 -ufhost:/dev/rmt0.1 -d 6250 -s 33000 /usr/local
where host is the name of the machine with the tape drive.
You need the -d and -s options so it doesn't think you are
out of tape halfway through the backup.
If you have your heart set on tar, you could pipe it through
rsh like this:
tar -cf - | rsh host dd of=/dev/rmt0
This should work, but not as easy.
Stan
----------------------------------------------------
Stan Driggs ENSCO, Inc.
Sr. Systems Engineer ISS Division
Email: st...@ensco.com 1277 Taylor Rd.
Voice: (607) 751-5502 Owego, NY 13827
FAX : (607) 687-4733
----------------------------------------------------
AFAIK AIX tar is not aware of remote tape drives like
the rdump command is. In order to use tar via the net
I would recommend something like
tar -cvf- . | rsh desthost "dd of=/dev/rmt0"
this tar writes the archive to stdout which is piped to
the remote process dd which writes the data to the
tape drive.
This normally won't work out of the box. One will need
trusted hosts etc. etc.
Regards,
Michael
In article <552699$5...@reader1.reader.news.ozemail.net>,
Steve McDougall writes:
Panasert Engineering <masp...@singnet.com.sg> wrote:
>Presently I have 3 RS/6000 system and a tape drive. I'm planning to fix
>it to one of the system permanently.
>If I want to perform a tape copy for a remote system from that having
>the tape drive, can i use tar command? If it's possible, what is the
>command line look like
>Thank you
>Vincent Mak
Vincent,
I am not sure if the AIX tar command supports the remote tape
format (you may need to check the manual entry for this). If it
does, the format of the command will be something like this:
tar -cf <tapehost>:/dev/rmt0 <fileset>
where <tapehost> is the name (or address) of the 6000 with the
tape drive attached, and <fileset> is the files you want to back
up.
If you don't have any luck with the tar command, I suggest you
use the AIX backup command (using the by-inode) option. I know
for certain that this utility supports remote tape protocol. In
addition to this, the restore command has a really handy
interactive option for getting specific files back from an
archive. If you have further queries, please e-mail me.
Steve McDougall (prs...@ozemail.com.au)
Hi,
install gtar from GNU, this can do what you want to have!
TC
--
Thorsten Coordes
ZARM - University of Bremen Tel.: +49 - 421 - 218 - 4330
Am Fallturm Fax: +49 - 421 - 218 - 2521
28359 Bremen e-Mail: t...@zarm.uni-bremen.de
You can do that fairly easily. I have the command posted on my wall at work,
but can't remember exactly what it is. It involves using rsh and tar. If you
need to, you can call the AIX support line and ask the backup group.
Check into AIX System Backup & Recover/6000 (aka sysback). It will do
pretty much anything you want remotely and is supported. It's much
safer to just buy sysback... That's what we do.
=)
--
David Pitts
Computer Consultant for BEST Consulting, Seattle, Washington
Systems Administrator, Programmer, Web Administrator
http://mk.net/~dpitts
I disagree with your statement about SYSBACK, it is NOT supported, it is listed as RPQ (Request
Price Quotation), which means you pays your money, you get the product, if something happens - don't
bother calling IBM (and I've had this before with SYSBACK).
While it's a great looking product, you just try and get support for it when the s__t hits the fan!
So saying, it may just do all you want, but make sure that you test all scenarios before
relying on it too much
my 2c worth (and since I'm in Australia, it's probably only 1.25c in US)
Dominic
Open Microsystems sells a product called DistribuTAPE which supports
remote tape drives by placing a pseudo tape driver on the client system.
With DistribuTAPE, tar cannot tell the difference between local & remote
tape drives. This makes remote tape drives look (to applications)
exactly as if they were locally connected. DistribuTAPE is available on
both AIX and Solaris, including cross-platform sharing. AIX systems can
even mksysb
to remote tape drives, on either AIX or Solaris. You can get more info,
and download a demo, from our web site:
http://www.openmic.com
John Groves
j...@openmic.com
Open Microsystems Inc.
(800) 450-0575