HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backup - Mirrored Drives
Operating System - HP-UX
1833790
Members
2725
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-04-1999 03:13 PM
11-04-1999 03:13 PM
Backup - Mirrored Drives
I am looking for a script that will:
-Break the mirrored drives set
-Backup and Verify
-Resync the mirrored drives
Several large files on our system are accessed for writing frequently and
therefore do not get backed up even after several attempts. By breaking the
mirror and then backing up the detached part of the set, I hope to resolve this
problem. I know that if the file is open for writing at the time the mirror is
broken, some records may be incompleted. Our application is tolerant of this
condition.
Thanks for any suggestions.
-Break the mirrored drives set
-Backup and Verify
-Resync the mirrored drives
Several large files on our system are accessed for writing frequently and
therefore do not get backed up even after several attempts. By breaking the
mirror and then backing up the detached part of the set, I hope to resolve this
problem. I know that if the file is open for writing at the time the mirror is
broken, some records may be incompleted. Our application is tolerant of this
condition.
Thanks for any suggestions.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-1999 10:44 PM
11-04-1999 10:44 PM
Re: Backup - Mirrored Drives
Howard,
I know of no such script published from HP, but perhaps another user of this
site will have something for you. If not, it should be easy enough to write
yourself. The commands involved would be:
1) lvsplit : to split the mirrored lvols
2) fbackup : to backup the data on the "broken mirrors"
3) frecover -N : to verify backup integrity.
4) lvmerge : to re-merge the split lvols
Consult the man pages for exact format of these commands.
NOTE: Be very careful with the lvmerge command. If specified in the incorrect
order, the stale data on the mirrored lvol will be written over the up to date
data on the active lvol.
I know of no such script published from HP, but perhaps another user of this
site will have something for you. If not, it should be easy enough to write
yourself. The commands involved would be:
1) lvsplit : to split the mirrored lvols
2) fbackup : to backup the data on the "broken mirrors"
3) frecover -N : to verify backup integrity.
4) lvmerge : to re-merge the split lvols
Consult the man pages for exact format of these commands.
NOTE: Be very careful with the lvmerge command. If specified in the incorrect
order, the stale data on the mirrored lvol will be written over the up to date
data on the active lvol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-1999 10:59 PM
11-04-1999 10:59 PM
Re: Backup - Mirrored Drives
To some extent this depends upon the backup utility that you are using. In its
simplest form:
lvsplit
"backup rb"
lvmergeb
will work, so long as your backup utility will handle a raw device. However,
while raw devices backup more quickly (In general -- varies with percentage of
volume being used by live data) they do not allow file specific recovery. Make
sure you can live with this.
Alternatively, you could create a secondary mount point and do:
lvsplit
mountb /mountpoint
"backup /mountpoint"
umount /mountpoint
lvmergeb
This will allow file secific recovery, though you will still need to exercise
care in specifying your recovery path, since the base mountpoint will be
different. (Or you can simply restore the files normally then copy them over
to the desired location.)
If we are talking about database files, you might also want to investigate a
hotbackup utility.
simplest form:
lvsplit
"backup r
lvmerge
will work, so long as your backup utility will handle a raw device. However,
while raw devices backup more quickly (In general -- varies with percentage of
volume being used by live data) they do not allow file specific recovery. Make
sure you can live with this.
Alternatively, you could create a secondary mount point and do:
lvsplit
mount
"backup /mountpoint"
umount /mountpoint
lvmerge
This will allow file secific recovery, though you will still need to exercise
care in specifying your recovery path, since the base mountpoint will be
different. (Or you can simply restore the files normally then copy them over
to the desired location.)
If we are talking about database files, you might also want to investigate a
hotbackup utility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-1999 05:31 AM
11-11-1999 05:31 AM
Re: Backup - Mirrored Drives
If you are backing up a database, put the database in online backup mode before
breaking the mirrors and then return it to normal after the mirrors have been
broken. This will cause no interruptions to any users while ensuring all the
database files are in sync.
breaking the mirrors and then return it to normal after the mirrors have been
broken. This will cause no interruptions to any users while ensuring all the
database files are in sync.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP