- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Regarding the frecover command
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
тАО03-26-2009 12:02 PM
тАО03-26-2009 12:02 PM
Regarding the frecover command
How to recover a filesystem to a different filesystem.
For example Im able to restore a filesystem as follows without problem.
# frecover -xovf /dev/rmt/0m -i /oracle
Similarly I want restore this /oracle filesystem to different filesystem with frecover command. Is it possible ?
Regards,
Viswanadhan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 12:05 PM
тАО03-26-2009 12:05 PM
Re: Regarding the frecover command
Yes, 'frecover' supports recovery to the current working directory using the '-X' [that's an uppercase "X"]. See the 'frecover' manpages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 12:18 PM
тАО03-26-2009 12:18 PM
Re: Regarding the frecover command
Thanks It's working. For example as below.
# cd /sybase
# frecover -Xxvof /dev/rmt/0m -i /dba
Any suggestions ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 12:35 PM
тАО03-26-2009 12:35 PM
Re: Regarding the frecover command
Did you mean working or not working?
> # cd /sybase
> # frecover -Xxvof /dev/rmt/0m -i /dba
...given that this is what you did, you will have recovered to:
/sybase/dba
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 12:38 PM
тАО03-26-2009 12:38 PM
Re: Regarding the frecover command
It's recoverd as /sybase/dba
Is it possible as /sybase ? Then can you tell me the command syntax.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 12:51 PM
тАО03-26-2009 12:51 PM
Re: Regarding the frecover command
> It's recoverd as /sybase/dba
Yes, that's what I indicated would be the result from your command.
> Is it possible as /sybase ? Then can you tell me the command syntax.
Not to my knowledge. The archived absolute path is appended to the working directory path. There is no way that I know to trim part of the path name as you recover in this case. Having recovered to a current working directory, however, gives you the ability to rename and/or move the files higher in the directory tree.
The 'fbackup' and 'frecover' utiliites are deprecated beginning with 11.31 and will cease to be supported in future releases.
The replacement path is to use 'pax' which has seen considerable enhancements in 11.31 and via an add-on in 11.23. What's germane here is that 'pax' _supports_ recovery of files with absolute paths to a current working directory while allowing _substitutions_ to the paths, including snipping off paths you don't want. Have a look at the 'pax' manpages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 12:55 PM
тАО03-26-2009 12:55 PM
Re: Regarding the frecover command
Thanks for your information.