Release 10.1C: OpenEdge Replication:
User Guide
Online backup of the target database
In previous releases of OpenEdge Replication, you could perform an online backup of the target database only during transition. Beginning with this release, you can perform an online backup of the target database outside of transition, while OpenEdge Replication is running. The OpenEdge Replication agent is the only process that can update the target database; in the case of the online backup, however, no changes to the database itself occur. The backup process locks buffers and blocks but not database records.
When an online backup of the target database is underway, activity continues on the source database as long as:
Source database activity continues while the online backup is being performed on the target database, as long as there is enough available AI extent space.
To begin
You begin the online backup process by using the PROBKUP command:
In which:
online
Indicates the backup is taking place online.
db-name
Specifies the database you want to back up.
incremental
Indicates that the backup is an incremental backup.
device-name
Identifies a special device (for example, a tape drive) or a standard file. If
device-name
identifies a special device, PROBKUP assumes the device has removable media, such as a tape or a floppy diskette. For Windows, use\\.\tape0
for the device name if you are backing up to a tape drive.
parameters
Indicates any additional parameters you want to use with PROBKUP.
For more general details about database backup, see OpenEdge Data Management: Data Administration .
What happens during an online backup of the target database
For the online backup of the target database to be successful, coordination between the backup process and OpenEdge Replication is necessary. The following is a summary of how the backup process and OpenEdge Replication work together to ensure that the backup proceeds properly once you enter the PROBKUP command:
- If the Replication agent is active:
- One of the following actions then occurs:
- If the Replication server can acquire a shared schema lock on the source database and asynchronous replication is being performed, the Replication server will indicate to the RDBMS that it is busy. This allows activity on the source database to continue.
The Replication server then sends a positive response to the Replication agent, and activity continues as described in Step 3.
- If the Replication server cannot acquire the shared schema lock, the server notifies the Replication agent, and the Replication agent then notifies the user who started the backup, that the backup cannot be performed at this time.
- If the Replication agent receives a positive response from the Replication server (as described in Step 2), the online backup is allowed to continue.
- The online backup utility then performs the online backup of the target database.
- When the backup finishes, a completion message is sent to the Replication agent.
- The Replication agent then sends a completion message to the Replication server.
- The Replication server enters recovery and begins synchronization, which updates the target database with all activity that occurred on the source database while the online backup was running on the target.
Once recovery synchronization completes, the Replication server returns to normal processing.
- Online backup completes processing.
Copyright © 2008 Progress Software Corporation www.progress.com |
![]() |