- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restore file systems
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
05-05-2004 05:37 AM
05-05-2004 05:37 AM
In order to match all user id's, we will first restore /etc/passwd and /etc/group, and these are only two files we think we need to restore from file systems on vg00.
We will also shutdown oracle database first.
Is there any other consideration with regards this task?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 05:43 AM
05-05-2004 05:43 AM
Re: restore file systems
avoid restoring anything to
/
/stand
/var
/usr
also if your database is running on raw disk devices, you may need to consider recovery of these volumes as well.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 05:48 AM
05-05-2004 05:48 AM
SolutionAs far as user id's - you may want to find all files owned by users that don't exist in the old /etc/passwd prior to restore...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 06:07 AM
05-05-2004 06:07 AM
Re: restore file systems
The file systems you restore, if can jot match the use, then will put them as root owned files.
Later on you can grant access to what ever users you want to.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 06:17 AM
05-05-2004 06:17 AM
Re: restore file systems
Your suggestion to backup the system first is great!
anybody else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 12:54 AM
05-06-2004 12:54 AM
Re: restore file systems
"What files to exclude from restore of root volume group on omniback cell manager."
I know you're skipping vg00...GOOD.
Here's the files they list to skip.
/dev/vg0X for vg's not being restored
/dev/dsk/*
/dev/rdsk/*
/stand/ioconfig
/etc/ioconfig
/etc/lvmtab
/etc/lvmconf/vg00
/etc/fstab
/var/opt/omni (well it IS a document about omniback...I mean Dataprotector).
--------------------------------------
Make map files of the volume groups. Make sure you use the "-p" preview mode when running vgexport.
--------------------------------------
Have the results of "ls -l /dev/vg*/group".
Have paper copies of the ioscan, vgdisplay -v, swapinfo, bdf, lanscan -v, netstat -i, netstat -in.
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 06:59 AM
05-06-2004 06:59 AM
Re: restore file systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 07:12 AM
05-06-2004 07:12 AM
Re: restore file systems
Have a SMALL directory with subdirectories and files in it.
Back it up (with whatever backup application you are using).
Add new files to the directories.
Remove some files from the directories.
Run a restore.
Were the removed files restored?
Were the new files (the ones not backed up) destroyed?
Now I assume when you restore the data, the filesystem will already be mounted, and empty. Or the filesystems will be mounted and you will choose to overwrite.
Another thing....
What if the file you are overwriting is in use? In omniback there is an option to restore busy files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 07:30 AM
05-06-2004 07:30 AM
Re: restore file systems
Does anybody have the experiece?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 07:34 AM
05-06-2004 07:34 AM
Re: restore file systems
If you remove all data prior to restoring the backup, you are sure you are 3 months back. Just make sure you have all the users/groups available on the server prior to restoring. If you have enough free space you can do a move of all in the filesystem to a backup dir.
Regards,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 08:14 AM
05-06-2004 08:14 AM
Re: restore file systems
I have about 20 file systems need to be restored, so it is quite a lot of work to recreate file systems and then restore from the backup.
Do I have to clean up all date (recreating file systems) before I perform the restore?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 08:36 AM
05-06-2004 08:36 AM
Re: restore file systems
The easy way would be to do:
# umount /filesystem
# newfs -F vxfs -o largefiles /dev/vg??/rlvol?
# mount /filesystem
The newfs will create a blank filesystem on that LVOL.
The above could be scripted, just MAKE ABSOLUTELY SURE you use the CORRECT rlvol name in the newfs command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 08:52 AM
05-06-2004 08:52 AM
Re: restore file systems
I don't konw. that is why I post the question. In order to recover all these file systems to exactly same as before, no more, no less, do I have to clean up the file systems and recreate them to get clean empty first, then finally recover the file system from the backup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 08:54 AM
05-06-2004 08:54 AM
Re: restore file systems
Just be sure what you are cleaning out. Don't accidentally clear out something that the OS needs.
I would NOT use my newfs idea above on ANYTHING that has VG00 as the volume group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 09:02 AM
05-06-2004 09:02 AM
Re: restore file systems
No, I'm not going to do anything on vg00, other than those application file systems.
So, I really should recreate all these 20 file systems, and get a empty ones, then finally perfom the restore from previous backup. Is this a good idea, is there any other better idea?
I did a test, if I restore and with overwitten option, the newer files would be still existed on restored file systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 09:14 AM
05-06-2004 09:14 AM
Re: restore file systems
Good!
>>>So, I really should recreate all these 20
>>>file systems, and get a empty ones, then
>>>finally perfom the restore from previous
>>>backup.
If your goal is to be exactly as they were when the backup was 3 months ago -- Yes.
>>>Is this a good idea
I have no idea. Apparently it is something you must do.
>>>, is there any other better idea?
To go back to 3 months ago -- None that I can think of.
>>>I did a test, if I restore and with
>>>overwitten option, the newer files would be
>>>still existed on restored file systems.
That is true!