- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to recover a particular file to a temp locatio...
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
06-08-2006 12:26 AM
06-08-2006 12:26 AM
How to recover a particular file to a temp location from the tape
I want to recover a particular file from the backup tape to a temparory location. Can anyone help me in this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 12:28 AM
06-08-2006 12:28 AM
Re: How to recover a particular file to a temp location from the tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 12:37 AM
06-08-2006 12:37 AM
Re: How to recover a particular file to a temp location from the tape
What command/utility was used to create the tape archive?
Is it written in relative or absoulte paths if using something like tar?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 12:39 AM
06-08-2006 12:39 AM
Re: How to recover a particular file to a temp location from the tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 12:47 AM
06-08-2006 12:47 AM
Re: How to recover a particular file to a temp location from the tape
man frecover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 12:50 AM
06-08-2006 12:50 AM
Re: How to recover a particular file to a temp location from the tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 01:12 AM
06-08-2006 01:12 AM
Re: How to recover a particular file to a temp location from the tape
i need to restore a perticular file to temporary location using frecover command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 01:15 AM
06-08-2006 01:15 AM
Re: How to recover a particular file to a temp location from the tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 03:15 AM
06-08-2006 03:15 AM
Re: How to recover a particular file to a temp location from the tape
AFAIK it's not possible to recover single file to a temporary directory by frecover but only on the same path:
frecover -xXvf /dev/rmt/0m -i /
The file will be restored into the same path (overwritten).
A workaround is to recover all tape contents to a temporary directory:
mkdir /tmp/fbk
cd /tmp/fbk
frecover -xXvf /dev/rmt/0m
You will see the tree of all tape contents starting from /tmp/fbk and so you can recover single files from there.
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 03:18 AM
06-08-2006 03:18 AM
Re: How to recover a particular file to a temp location from the tape
You can in fact recover without the leading directories in frecover, see the man page for the -F option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 03:24 AM
06-08-2006 03:24 AM
Re: How to recover a particular file to a temp location from the tape
you should be able to recover a file from your backup and rename/copy the file to a different location with pax.
See:
http://docs.hp.com/en/B2355-60127/pax.1.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 03:36 AM
06-08-2006 03:36 AM
Re: How to recover a particular file to a temp location from the tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 02:01 PM
06-08-2006 02:01 PM
Re: How to recover a particular file to a temp location from the tape
Check these options of frecover, I think these are teh ones you are looking for..
frecover
-x
-N (for checking)
-X
-i
-F
regards
Albert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 02:38 PM
06-08-2006 02:38 PM
Re: How to recover a particular file to a temp location from the tape
frecover -V - -f /dev/rmt/0m
To see all the files on the tape:
frecover -I - -f /dev/rmt/0m
Note that the -I - can also be sent to a file as in:
frecover -I /var/tmp/my_index -f /dev/rmt/0m
To recover a single file to different location:
cd /var/tmp
frecover -xvF -f /dev/rmt/0m -i /etc/fstab
This assumes that you want to extract the file /etc/fstab from the tape and store it in /var/tmp/fstab. If you want to create the same directory structure but start in a different directory:
cd /var/tmp
frecover -xvX -f /dev/rmt/0m -i /etc/fstab
This recovers fstab to the directory /var/tmp/etc/fstab
The man page helps a lot in these cases.
Bill Hassell, sysadmin