- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: frecover in differents paths
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
01-16-2001 02:41 PM
01-16-2001 02:41 PM
I'm going to reorganize all the filesystems in an autoRAID 12h. I'm going to delete the actual configuration (/dbdata, /respaldo) and I'm going to create /u01, /u02 and /b01. Before to delete everything I going to do a fbackup (with the all paths), but I would like to know if there is any possibility to restore just once, because some files that were on /dbdata I will restore them on /u01 and others in /u02, and I thing I will need to restore twice the same tape with frecover -f /dev/rmt/0m -xFv i /dbdata/...... Am I wrong? or anybody in just once time have ever restore a tape through multiple filesystems?
Regards,
Veronica
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2001 07:58 PM
01-16-2001 07:58 PM
Re: frecover in differents paths
I'm not sure that you will want the -F option. This strips off the entire path of the file and places the file in the current directory. For example, say you have /dbdata/DIR-A/file1 backed up and you execute your frecover command in the /u01 directory. You will end up with /u01/file1 and lose the DIR-A directory.
You may want to use the -X option instead from /u01, which will give you /u01/dbdata/DIR-A/file1. You can then move DIR-A to /u01 with mv and then rmdir /u01/dbdata.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 06:20 AM
01-17-2001 06:20 AM
Re: frecover in differents paths
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 07:04 AM
01-17-2001 07:04 AM
Re: frecover in differents paths
I don't think you can restore into two different directories with one frecover command. The one thing you could do is put the multiple frecover commands into a shell script so that the second one begins as soon as the first one completes and so on. Not much time savings but better than nothing.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 08:13 AM
01-17-2001 08:13 AM
Re: frecover in differents paths
Regards,
Veronica
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 08:51 AM
01-17-2001 08:51 AM
Re: frecover in differents paths
mkdir -p /u02/prog
ln -s /u02/prog /u01/a/prog
cd /u01
frecover -xXf /dev/tape -I /a
frecover will complain during the restore that /u01/a/prog exists and is not a directory, but it will still restore the items onto /u02.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 02:44 PM
01-17-2001 02:44 PM
Re: frecover in differents paths
For example, I had backed up the directory /dbdata and that directory have file1, file2, file3, file4, file5, then when I did the reestructuration I will restore them as follow /u01/file1, /u02/file2, /u01/file3, /u01,file4, /u02/file5. How can I create a link that have reference with the u01 filesystem?
I appreciated your help because I have even headache.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 11:43 PM
01-17-2001 11:43 PM
Re: frecover in differents paths
You can try this:
# cd /u01
# frecover -xovFf /dev/rmt/0m -i /dbdata
#cd /u02
# frecover -xovFf /dev/rmt/0m -i /respaldo
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2001 11:41 AM
01-18-2001 11:41 AM
SolutionIf you have access to the backup process, maybe you could do the following-
cd /dbdata
mkdir group1 group2
mv file1 file3 file5 group1
mv file2 file4 group2
fbackup -f /dev/tape -i /dbdata
# following fbackup, you can move files back
Then use my previous suggestion as a way to restore to two different file systems. You then need to do "mv" to put the final files in their proper place in the subdirectory u01 or u02.
Apart from this, I don't think you can have frecover to individual files (would be a nice feature though :) ). Maybe Interex could recommend an option to the graph file, that if a path follows the "i /dir1/dir2/file" on the same line, that that should be the placement for the specified file or directory.
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2001 12:42 PM
01-18-2001 12:42 PM