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:

  1. 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 RASYS user to SQL*Plus, creates a polling policy called MIGRATION_LINUX that polls the location /polling/shared_backup_location for 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;
    
    
  2. On the Recovery Appliance, use the DBMS_RA.UPDATE_PROTECTION_POLICY procedure to assign the polling policy created in Step 1 to the protection policy that is associated with the protected database.

    Set the delete_input parameter to False to indicate that the backups must not be deleted from the source location.

  3. Mount the polling location directory on the Recovery Appliance database nodes as described in "Mounting the NFS Storage for Backup Polling".
  4. Verify that the backup sets have been imported by querying the ra_task view.

    You can also query the rc_backup_piece_details view to display the backup pieces for protected databases that are being polled.