- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remote backups using tar in shell script
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
02-04-2002 02:01 PM
02-04-2002 02:01 PM
remote backups using tar in shell script
I have 2 hp servers, one with tape drive and one with a bad tape drive (support has expired). I have to use tar to do the backup. When I use the following command
tar cvf - /home | remsh rmt_host dd of=/dev/rmt/0m
it works. If I put this command in a shell script i get the
tape not loaded error.
I think it is looking locally for the tape. How can I make it in the shell script to look at the remote host for the tape drive? I have .rhost file fine.
I thank you all for taking the time to respond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2002 02:17 PM
02-04-2002 02:17 PM
Re: remote backups using tar in shell script
# tar cvf - /home | remsh rmt_host "cat - | dd of=/dev/rmt/0m bs=10k"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2002 06:23 PM
02-04-2002 06:23 PM
Re: remote backups using tar in shell script
http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/
it allows you to not only save files > 2gb, but also allows you to write to remote tape drives.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2002 07:48 PM
02-04-2002 07:48 PM
Re: remote backups using tar in shell script
On the other hand, try to add -n option in the remsh, ie.
tar cvf - /home | remsh rmt_host -n dd of=/dev/rmt/0m
to see if it works.
Hope this helps.
Kenny.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2002 10:41 PM
02-04-2002 10:41 PM
Re: remote backups using tar in shell script
I was trying to install GNU tar but is says
dependecies not found.
Any idea?
* Target: ctxdbdr:/
* Target logfile: ctxdbdr:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
The corequisite "gettext.gettext-RUN" for fileset
"tar.tar-RUN,r=1.13.25" cannot be successfully resolved.
The corequisite "libiconv.libiconv-RUN" for fileset
"tar.tar-RUN,r=1.13.25" cannot be successfully resolved.
: The dependencies for fileset "tar.tar-RUN,r=1.13.25" cannot be
resolved (see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 12:14 AM
02-05-2002 12:14 AM
Re: remote backups using tar in shell script
Both these dependencies may be found at the porting sites, e.g.:
http://hpux.connect.org.uk
They are listed as dependencies on the Gnu-tar download page.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 08:58 AM
02-05-2002 08:58 AM