- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Make a tar to a remote tape.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 08:56 AM
10-08-2002 08:56 AM
Make a tar to a remote tape.
I have an HP-UX box connected to DLT drive.
I would like to store on tape the content of some directories of a remote HP-UX box via tar.
How can I achieve this?
Any help/suggestion is highly appreciated.
Thanks in advance for your help!
Kind Regards,
Rui.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 08:59 AM
10-08-2002 08:59 AM
Re: Make a tar to a remote tape.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6223eea29889d611abdb0090277a778c,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 09:07 AM
10-08-2002 09:07 AM
Re: Make a tar to a remote tape.
You cannot remote mount a tape drive , so either you can remote mount the fielsystem ( too slow ) or use stuff like fback which can access the remote tape drive .
Try using fbackup .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 09:19 AM
10-08-2002 09:19 AM
Re: Make a tar to a remote tape.
/usr/bin/tar cvbf - ./
Assumes /dev/rmt/0m is the correct tape device on the remote server. You will need to be able remsh to the other host. Add the source hostname to the appropriate user .rhosts file on the remote host to allow it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 09:28 AM
10-08-2002 09:28 AM
Re: Make a tar to a remote tape.
I suggest fbackup (as most do for this function). Try the command line below and see if it works for you.
remsh
The tape won't be in 'tar' format, but fbackup and frestore exist on each and every HP-UX system on which you might care to read the tape...
Regards, --bmr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 09:30 AM
10-08-2002 09:30 AM
Re: Make a tar to a remote tape.
I have tried on host2:
# tar cvf - /opt/nap2.1 | remsh host1 "cat - | dd of=/dev/rmt/2m bs=10k"
On host1:
# tar tvf /dev/rmt/2m
Tar: tape blocksize error
Looks the blocksize is wrong...
The DLT tape is ok, because it worked with local tars...
TIA,
Regards,
Rui.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 09:44 AM
10-08-2002 09:44 AM
Re: Make a tar to a remote tape.
I don't think you can read dd tape using tar.
you are writing tape using dd command and trying to read using tar.
use fbackup if you are going to read this tape on another hp system.
#fbackup -i /source_dir -f rem_system:/dev/rmt/1m
Thanks
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 09:55 AM
10-08-2002 09:55 AM
Re: Make a tar to a remote tape.
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 10:57 AM
10-08-2002 10:57 AM
Re: Make a tar to a remote tape.
dd if=/dev/rmt/2m bs=10k | tar -tvf -
should work just fine... I have used this before.
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2002 07:48 AM
12-18-2002 07:48 AM
Re: Make a tar to a remote tape.
Harry D. Brown Jr. Suggested using GNU tar.
With gtar-1.12 this works fine using the following command where the -f file option is set to RemoteMachine:Raw_Device.
tar-1.12 -cvf zeus:/dev/rmt/0m files
You can even use the following for a particular user
tar-1.12 -cvf user1@zeus:/dev/rmt/0m files
The user needs to be able to remsh to the remote machine with the tape drive.
Note: Gnu tar 1.12 does not support files greater than 2GB :-(
GNU tar-1.13 does support large files >2GB :-) but unfortunately the remote part doesn't seem to work - I keep getting 'unknown host errors'
:-(
I suppose I'll have to download the latest gtar and give it a try.