- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: frecover command need help urgent please
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
04-11-2007 05:46 PM
04-11-2007 05:46 PM
frecover command need help urgent please
I have a tape fbackup done (fbackup -f /dev/rmt/0m -i / -I index.fullfbackup) and I need to restore 3 filesystems, I would like to know the correct command and options:
example:
I want to restore the filesystem /data1 under /data1
and /data2 under another filesystem /datatest
I tried this for the restore of /data1 and it works:
frecover -vxF -f /dev/rmt/0m -i /data1
=> everyhting is correctly restored on the filesystem /data1
but if I want to restore the whole filesystem /data2 on another filesystem /datatest he didn't restore the path directory etc... only directly the files.... here the command I did
< / > # cd /datatest
< /data2 > # frecover -vxF -f /dev/rmt/0m -i /data2
Could you give me the good options to do it propery Thanks in advance it is very urgent !
Cheers
Al
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 06:25 PM
04-11-2007 06:25 PM
Re: frecover command need help urgent please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 07:19 PM
04-11-2007 07:19 PM
Re: frecover command need help urgent please
frecover -vxX
but still if you can answer to the questions if we can restore several filesystems in the same time
There is a log for a frecover or fbackup?
Thanks in advance
Cheers
Kate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 07:30 PM
04-11-2007 07:30 PM
Re: frecover command need help urgent please
------------------------------
but if I want to restore the whole filesystem /data2 on another filesystem /datatest he didn't restore the path directory etc... only directly the files.... here the command I did
< / > # cd /datatest
< /data2 > # frecover -vxF -f /dev/rmt/0m -i /data2
-------------------
U have to use -X option of frecover.
do like this
# cd /datatest
# frecover -xXvf /dev/rmt/0m -i /data2
This will extract contents of /data2 under
/datatest with full path hierarchy
eg.
if u have
/data2/dir1/dir2/file1
will get restored as
/datatest/data2/dir1/dir2/file1
then move all contents of /datatemp/data2 to
/data2
# mv /datatemp/data2/* /datatemp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 07:44 PM
04-11-2007 07:44 PM
Re: frecover command need help urgent please
As far as fbackup is concerned it doesn't
recognise filesystem it only knows files.
If u mean /data1, /data2, /data3 etc. as filesystems mounted on /data1, /data2, /data3
then u can restore multiple filesystem provided
they should present in a single backup of fbackup.
If u mean restoreing several filesystems in the same time
as restoring in a single command then u can use
# frecover -xvf /dev/rmt/0m -i /data1 -i /data2 -i /data3 .....
OR
u can create a graph file eg. gr1 as
gr1
-------
i /data1
i /data2
i /data3
---------
and use
# frecover -xvf /dev/rmt/0m -g gr1