- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Regarding the frecover command
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-26-2009 12:55 PM
03-26-2009 12:55 PM
Re: Regarding the frecover command
Thanks for your information.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP