Setting Up Backup Polling to Migrate Existing Backups to the Recovery Appliance
This section describes how to migrate protected database backups that are currently stored in a polling location to the Recovery Appliance storage. A polling location is a file system directory on shared storage, outside the Recovery Appliance, that stores backup pieces and archived redo log files for a protected database. The Recovery Appliance polls this location at specified intervals, retrieves any new backups, and stores them on the Recovery Appliance.
To import existing backup sets by configuring a polling location:
-
On the Recovery Appliance, create a polling policy corresponding to the polling location that contains the protected database backups to be migrated.
The following example, when connected as the
RASYSuser to SQL*Plus, creates a polling policy calledMIGRATION_LINUXthat polls the location/polling/shared_backup_locationfor backups.BEGIN DBMS_RA.CREATE_POLLING_POLICY ( polling_policy_name => 'MIGRATION_LINUX', polling_location => '/polling/shared_backup_location', polling_frequency => INTERVAL '1' MINUTE, delete_input => FALSE); END; -
On the Recovery Appliance, use the
DBMS_RA.UPDATE_PROTECTION_POLICYprocedure to assign the polling policy created in Step 1 to the protection policy that is associated with the protected database.Set the
delete_inputparameter to False to indicate that the backups must not be deleted from the source location.See Also: Zero Data Loss Recovery Appliance Administrator’s Guide
-
Mount the polling location directory on the Recovery Appliance database nodes as described in “Mounting the NFS Storage for Backup Polling”.
-
Verify that the backup sets have been imported by querying the
ra_taskview.You can also query the
rc_backup_piece_detailsview to display the backup pieces for protected databases that are being polled.