- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Tar blues (Backup or backache problems)
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
08-03-2001 04:28 AM
08-03-2001 04:28 AM
Tar blues (Backup or backache problems)
The syntax that I used was
tar -xvf /dev/rmt/1m uni
uni is the directory on the tape and I have a similar directory on root which is a seperate volume group on its own. Everytime I give the TAR command it just keeps reading the tape and once it stops there are no file in the directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 04:44 AM
08-03-2001 04:44 AM
Re: Tar blues (Backup or backache problems)
tar -xvf /dev/rmt.... dirname
won't extract from tape to dirname
use tar -tv
to view the tar
mkdir and cd then tar -xvf
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 05:04 AM
08-03-2001 05:04 AM
Re: Tar blues (Backup or backache problems)
To see what is on the tape.
tar tvf /dev/rmt/1m
If you are attemping to extract uni from the tape, you need to give the complete path exactly as it was captured to tape.
tar xvf /dev/rmt/1m /dir/dir/dir/uni
If you are attempting to backup uni to the tape.
cd /dir/where/uni/is
tar cvf /dev/rmt/1m ./uni
Hope this helps
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 06:30 AM
08-03-2001 06:30 AM
Re: Tar blues (Backup or backache problems)
You question how to restore from the backed up tape . Now if you have backed up with the path then u need to give the absolute path to restore it too , ie do a tar tvf to find the way it is backed up and restore it using the same absoulte path . Incase you donr want to overwrite the exisiting stuff then u need to rename the curent files.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 06:34 AM
08-03-2001 06:34 AM
Re: Tar blues (Backup or backache problems)
You may first execute the command :
#tar -tf /dev/rmt/1m ? more
to see what is on tape, and then execute your command :
#tar -xvf /dev/rmt/1m uni
Attention :
You must respect the path resolution, either relative or absolute.
Magdi