- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to recover a particular file to a temp loc...
Operating System - HP-UX
1753507
Members
5303
Online
108795
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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 03:24 AM
тАО06-08-2006 03:24 AM
Re: How to recover a particular file to a temp location from the tape
Hi,
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
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
pax reads cpio and tar archives, not fbackup archives
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
- 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
Hello Bala,
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
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 is the command to use. I will assume that your tape device is /dev/rmt/0m so to see the header (date/time of backup, etc):
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
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
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP