- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: System backup/restore strategy with mirrored v...
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-25-2002 07:16 AM
04-25-2002 07:16 AM
System backup/restore strategy with mirrored volumes
So far in order to backup the logical volumes I put the system in single user mode, split the volumes, and mount them under /backup directory under mount points with the same name as their original mount points;
/usr goes to /backup/usr, etc (one exception is root which goes to /backup/root). Before executing tar I put the system back on service, so the system is in production while the backup is being performed. When the backup is finished I lvmerge the volumes.
For the restore, I set the system in single user and recover the info from the tape directly to its original directories. Any ideas for recovering root?
Any improvements on the strategy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:24 AM
04-25-2002 07:24 AM
Re: System backup/restore strategy with mirrored volumes
Hi - I'm a little confused I guess. But if you're bringing the production system up before kicking off the backup on the mirrors, what performance gains are you making? The only one I can think of is the disk usage would be lower on the production disk than if you just ran a backup of the lvm itself. If you don't have a disk usage issue, you may be buying yourself some extra work. Perhaps I'm confused by what you explained.
tx,
c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:25 AM
04-25-2002 07:25 AM
Re: System backup/restore strategy with mirrored volumes
If it is just VG00 that is mirrored, you are really doing backups the hard way.
Have a look at the Ignite/UX product: http://software.hp.com/products/IUX
It is FREE. It is built specifically for backing up and recovering VG00 and it does a VERY good job.
If you have other VGs, maybe with databases or something, you could do something similar to what you are already doing, but without going down to single user mode.
You could shut down the DB, split the mirrors, startup the DB again, mount the split mirrors, do your backup and then lvmerge the mirrors again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:25 AM
04-25-2002 07:25 AM
Re: System backup/restore strategy with mirrored volumes
Two comments for your consideration:
If you are dealing with vg00, as your post suggests, I would use Ignite's 'make_tape_recovery' to insure that you can recover your system if needed.
Otherwise, consider using 'fbackup'/'frecover' to backup and restore files. One advantage of 'fbackup' is that it will retry (recopy) files that are noted to have changed during the time interval their transfer from disk to tape has occured.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:26 AM
04-25-2002 07:26 AM
Re: System backup/restore strategy with mirrored volumes
Just re-read your response. I guess the other issue is that you can't back up the data while in "production", so that's why you're going through the trouble to split it out then back it up. If we're talking about just the system lvols (usr, root, etc..) then you should be able to back these up without splitting them out.
tx,
c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:27 AM
04-25-2002 07:27 AM
Re: System backup/restore strategy with mirrored volumes
- Ignite
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:28 AM
04-25-2002 07:28 AM
Re: System backup/restore strategy with mirrored volumes
I think that for the root directory and all the O.S you must use Ignite in order to copy it.
You can do a make_tape_recovery that allow you to copy the entire vg00 and make a bootable copy of the system.
This is a simple method and you don't need to stop your system for do it.
For the other vgs depend on the software that you are using, in our case we have Oracle and we do an online backup with OmnibackII.
Best Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:31 AM
04-25-2002 07:31 AM
Re: System backup/restore strategy with mirrored volumes
1) You really should be using Ignite/UX (make_tape_recovery) for all of your vg00 stuff. That will get your system back up in case of major failure.
2) Rather than unmirroring (and losing protection during backups) and then remirroring (and taking a big I/O hit), instead use the OnlineJFS snapof mounts. They typically use less than 15% extra space per filesystem and the snapshots take only a few seconds. You simply stop your critical aplications (like databases), do the snapshots, and restart the applications. You then backup the snapshots and unmount the snapshots when you are finished.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:46 AM
04-25-2002 07:46 AM
Re: System backup/restore strategy with mirrored volumes
If I perform a make_tape_recovery I have to wait for the backup to finish before putting the system back in operation; currently it may take up to 2 hours to complete.
What I am trying to do is minimize the time the system has to be in maintenance mode to perform a backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 07:54 AM
04-25-2002 07:54 AM
Re: System backup/restore strategy with mirrored volumes
You don't need to put your system in maintenance mode in order to do the make_tape_recovery you can do it in live without any problem and you can do it by the cron daemon at midnight for example.
The problem if you stop the mirror is if you have a hardware problem with your disk while you are not protected you go into problems.
Best regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 12:27 PM
04-26-2002 12:27 PM
Re: System backup/restore strategy with mirrored volumes
I would suggest a daily/weekly ignit-ux backup of the vg00 ( through cron )
and use the snapshot feature of Online JFS to take a backup of the DATA volumegroups (more dynamic data).
This will reduce the risk of unmirrored DATA vg's during backup and also the I/O hits in case it was done by SPLIT/MERGE method.
The overhead is just the 15% extra diskspace required for snap FS.