vicker313 tech blog

June 23, 2009

Remote access tape drive in another HPUX server

Filed under: HPUX — Tags: , , , , , — vicker313 @ 10:41 pm

Below is a list of TAR and CPIO command integrated with REMSH command in order to remote access tape drive in another HPUX server. Refer Tar and Untar tape drive in another HPUX server to setup the server before try the commands below.

  • CPIO into tape: find /dir/or/files/to/cpio -print | cpio -oacvB | remsh OLDSERVER 'dd of=/dev/rmt/0m bs=64b'
  • Verify CPIO tape: remsh OLDSERVER 'dd if=/dev/rmt/0m bs=64b' | (cpio -itcvB)
  • CPIO from tape: remsh OLDSERVER 'dd if=/dev/rmt/0m bs=64b' | (cpio -iacvBdum)
  • TAR into tape: (tar -cvfb - 64 /dir/or/files/to/tar) | remsh OLDSERVER 'dd of=/dev/rmt/0m bs=64b'
  • Verify TAR tape: remsh OLDSERVER 'dd if=/dev/rmt/0m bs=64b' | (tar -tvfb - 64)
  • UNTAR from tape: remsh OLDSERVER 'dd if=/dev/rmt/0m bs=64b' | (tar -xvpfb - 64)
Advertisements

2 Comments »

  1. […] Remote access tape drive in another HPUX server for extra commands. Possibly related posts: (automatically generated)Need advice for new […]

    Pingback by Tar and Untar tape drive in another HPUX server « vicker313 tech blog — June 23, 2009 @ 10:45 pm

  2. […] Remote access tape drive in another HPUX server « vicker313 tech blog […]

    Pingback by Question about backing up the data on a Dell Server? | Read About Servers & Mainframes — July 15, 2009 @ 6:52 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: