- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: another frecover question
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-16-2001 08:49 AM
08-16-2001 08:49 AM
We want to restore the contents of a tape to another local directory structure. Files exist on the tape as follows:
/dir1/dir2
We wish to put them here:
/dir1/dir3
so:
frecover -f /dev/rmt/0m -Fv0g graph /dir1/dir3
How's that?
ron
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 08:51 AM
08-16-2001 08:51 AM
Re: another frecover question
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 09:03 AM
08-16-2001 09:03 AM
Re: another frecover question
cd /directoryofchoice
frecover -f /dev/rmt/0m -XFvg graphfile
better?
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 09:04 AM
08-16-2001 09:04 AM
Re: another frecover question
anyone????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 09:55 AM
08-16-2001 09:55 AM
SolutionSee if this helps you. Imagine that you have a file called /tmp/dummydir/myfile on an 'fbackup' tape. You want to restore it to the /var/tmp directory. Do this:
# cd /var #...only this far
# frecover -f /dev/rmt/0m -X -x -i /tmp/dummydir/myfile
This will recover the file so that it is:
/var/tmp/dummydir/myfile
The '-F' and '-X' options are mutually exclusive. If you include both, you get "specified both X and F keys; F assumed". I may have misled you on that, in an earlier post (sorry).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 10:32 AM
08-16-2001 10:32 AM
Re: another frecover question
we have a file:
/data01/data02/myfile.
it's been backed up just like that.
I wish to put that file here:
/data01/data03/myfile.
now:
cd /data01/data03
# frecover -f /dev/rmt/0m -F -x -i /data01/data02/myfile
God help me!!!
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 10:55 AM
08-16-2001 10:55 AM
Re: another frecover question
OK. In your last example, you would end up with a file "/data01/data03/data01/data02/myfile".
The best you can do is to recover the file into the principal directory you want. For instance, if I restored /tmp/dummydir/myfile into /var/tmp, I'd have /var/tmp/tmp/dummydir/myfile. If this isn't what I want, I could 'mv' /var/tmp/tmp/dummydir/myfile to /var/tmp/dummydir/myfile and remove the (then) empty /var/tmp/tmp/dummydir directory --
"messy" but true.
Regards, again!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 11:05 AM
08-16-2001 11:05 AM
Re: another frecover question
Here's what I did. I created a small directory tree. /tempron/backup/test
I created a few files in /tempron, and backed them up using:
fbackup -f /dev/rmt/0m -0vg /tempgraph
then I changed directory:
cd /tempron/backup/test
then:
frecover -f /dev/rmt/0m -F -x -g /tempgraph.
and you know what? I got all my files in that directory, without leading directories.
Thanks for your help James...(wish I was coming to Chicago...I'd buy you a few drinks)
regards,
RRI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2001 12:02 PM
08-16-2001 12:02 PM
Re: another frecover question
I'm glad I could help. Thanks for the offer. Sorry you're not going to make Chicago.
with warm regards, Jim.
...JRF...