- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reg : Backup restore using tar
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
Discussions
Discussions
Discussions
Forums
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
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
тАО11-08-2010 08:17 AM
тАО11-08-2010 08:17 AM
Reg : Backup restore using tar
We have HP LTO2 Universal Cartridge, inside the cartridge backup1, backup2, backup3 directories are there.
Now I have to restore backup1 directory only, how can I restore using tar command.
Please guide me.
Regards,
Masthan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2010 08:37 AM
тАО11-08-2010 08:37 AM
Re: Reg : Backup restore using tar
To find out you could do a:
tar -tvf /dev/rmt/?m
(where the ?m is your appropriate tape device)
If the 'tar -t' show 'backup1' (no leading '/' or './') then you can do:
tar -xvf /dev/rmt/?m backup1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2010 09:00 AM
тАО11-08-2010 09:00 AM
Re: Reg : Backup restore using tar
Thanks for the reply.
Inside the Cartridge we have cold_bkp_01112010, cold_bkp_02112010, arc10, arc11 & arc12 files are there.
Old path for cold_bkp_01112010 (/prod8/backup/ cold_bkp_01112010).
We have taken cold_bkp_01112010 backup and deleted above logical & physical path in hp-ux server and storage.
Now I have to restore cold_bkp_01112010 in different path (/prod4/backup)
Please suggest the same.
Regards,
Mastan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2010 12:07 PM
тАО11-08-2010 12:07 PM
Re: Reg : Backup restore using tar
How do you know what's on the tape? How was
the tape made, "tar" or some other program?
Can you read what's on the tape? How? If it
is a "tar" tape, then actual output from a
"tar tfv" command could be useful.
As usual, showing actual commands with their
actual output can be more helpful than vague
descriptions or interpretations. Often nice
to know, for example:
uname -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2010 12:31 PM
тАО11-08-2010 12:31 PM
Re: Reg : Backup restore using tar
If the file was written with an absolute path, you'll need pax's -s to rename it. (Or gnu tar.)