- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: frecover
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
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
тАО07-02-2009 10:45 AM
тАО07-02-2009 10:45 AM
i /rd
i /db
i /test
I'm moving some disks/volumes around, during which /test is going to be deleted from its volume group vg01, then created again (empty) in another volume group vg04.
Before:
/dev/vg01/test ... /test
After:
/dev/vg04/test ... /test
Can someone let me know how to frecover just /test? Since the new fs will have the same name, I don't need to redirect the output of the restore, right?
From what I see in the frecover man page, I guess I'd use this:
frecover -x -i /test -c
Does that look right? "configfile" is the config file that was used for the fbackup. "$TAPE" is my tape device.
Will all permissions be restored by default?
Thanks,
Fred
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2009 11:08 AM
тАО07-02-2009 11:08 AM
SolutionYes,ownership, permissions and timestamps will be preserved.
You don't need to specify the
If you want to recover your files to a current working directory, use the '-X' (uppercase "X") option. If you want to recover files without leading directories, use the '-F' option.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2009 11:28 AM
тАО07-02-2009 11:28 AM
Re: frecover
it does look right to me.
frecover will restore a single file to its original location, unless you use additional parameters directing it to a different location.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 02:46 AM
тАО07-03-2009 02:46 AM
Re: frecover
-i /test/*
?
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 03:57 AM
тАО07-03-2009 03:57 AM
Re: frecover
> To be clear, I will need to restore the whole /test file system, will it be put in as:
-i /test/*
No, simply:
-i /test
If you want to exclude anything subordinate you would do
-i /test -e /test/veryoldstuff
The graph options do not use shell wildcards. The order of 'i' and 'e' is immaterial since the first thing that 'fbackup' or 'frecover' does is to sort these. If you use these in a graph file (with the '-g' option) drop the hyphen and list them on individual lines.
If you want assurance that your recovery will do only what you expect, simply run it adding the '-v' and '-N' flags to toggle verbose messages and NOT recover.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 04:02 AM
тАО07-03-2009 04:02 AM
Re: frecover
If you want to restore /test alone use this command.
#frecover -x -g /tmp/graph.txt -f /dev/rmt/0m
Your graph.txt should contain this..
#more /tmp/graph.txt
i /test
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 04:26 AM
тАО07-03-2009 04:26 AM