Recover Replicated Data - How To

Topics | How To | Related Topics


Mount or Share a Recovery Point Using CDR

Unmount or Unshare a Recovery Point Using CDR

Copy Back File System Data from a Recovery Point or the Live Copy

Copy Back Exchange Data from a Consistent Recovery Point

Copy Back SQL Data from a Consistent Recovery Point

Copy Back Oracle Data from a Consistent Recovery Point

Fan-In:

Mount a Fan-In Recovery Point Using CDR

Unmount a Fan-In Recovery Point Using CDR

Copy Back File System Data from a Fan-In Recovery Point


Mount or Share a Recovery Point Using CDR

Related Topics:

Before You Begin:

Required Capability: See Capabilities and Permitted Actions

To configure a Replication Set so that its Recovery Points are automatically mounted:

  1. From the CommCell Browser, right-click a Replication Set for which at least one Replication Pair has already been created, and select Properties.
  2. From the Replication Options tab of the Replication Set Properties screen, select the Auto-Mount snapshots after Recovery Point Creation option.
    note.gif (292 bytes)
    • For a Fan-In configuration for CDR on Windows, this parameter can be set on the destination computer, from the Fan-In tab of the CDR Properties screen, in the Recovery Points section, and will affect all Replication Sets that use that computer as a Fan-In destination.
    • This is not available for ONTAP Snapshots.
  3. Click Enter Mountpoints.
  4. In the Enter Mount Points dialog, click the Mount Point column for each Destination Path and do one of the following:
  5. Click OK.

To mount or share the snapshots of an existing Recovery Point, for CDR on Windows:

  1. In the CommCell Browser, perform a Browse operation for one of the following:
  2. Do one of the following, depending on which object you browsed:
  3. Do one of the following:
  4. If you want to create a share, do one of the following, depending on which object you browsed: In the Enter Share Name dialog, type a name for the share and click OK.
    note.gif (292 bytes)
    • You cannot share the snapshots of a Replication Set configured for Fan-in.
    • A share is automatically created on the NetApp filer when the recovery point is created. The path to this share can be displayed when the recovery point is browsed. This share can be used to manually mount the recovery point to a windows drive.
  5. Close the Snapshots dialog or Browse window.

Unmount or Unshare a Recovery Point Using CDR

Related Topics:

Before You Begin

 

Required Capability: See Capabilities and Permitted Actions

To unshare the snapshots of a Recovery Point (CDR on Windows only):

  1. In the CommCell Browser, perform a Browse operation for one of the following:
  2. Do one of the following, depending on which object you browsed:
  3. Close the Snapshots dialog or Browse window.

 

To unmount the snapshots of a Recovery Point:

  1. In the CommCell Browser, perform a Browse operation for one of the following:
  2. Do one of the following, depending on which object you browsed:
  3. Close the Snapshots dialog or Browse window.

Copy Back File System Data from a Recovery Point or the Live Copy

Related Topics:

Before You Begin:

 

Required Capability: See Capabilities and Permitted Actions

To copy back file system data from a Recovery Point or the Live Copy:

  1. In the CommCell Browser, perform a Browse operation for one of the following:
  2. Do one of the following, depending on which object you browsed:
  3. In the Copyback dialog box, select a Recovery Host, the host to which the data will be copied back.
  4. Specify a Recovery Path for the live data and/or Recovery Point(s) you want to copy back. The Recovery Path must be larger than the data being copied back. To assign a Recovery Path, do one of the following:
  5. Optionally, select Overwrite existing data under 'Recovery Path'.
  6. Click OK to copy back the data. The system displays a progress bar as it copies back the data. You can track the progress of the recover operation from the Job Controller window.

Copy Back Exchange Data from a Consistent Recovery Point

Related Topics:

Before You Begin

Required Capability: See Capabilities and Permitted Actions

To copy back Exchange data from a Consistent Recovery Point:

  1. For Outlook 2003, change the profile for any mailboxes being restored which have "Cached Mode" enabled, to DISABLE CACHED MODE. "Cached mode" can be enabled again after the Copyback operation completes successfully.
  2. Abort the Replication Pairs for the source volume to which you will copy back Exchange data. This avoids slow copyback operation on the source volume.
  3. Dismount the Exchange Stores for the Storage Group to which you will copy back point-in-time data.
  4. Delete or rename all Exchange transaction logs on the Production Exchange Server for the Storage Group being restored.
  5. In the CommCell Browser, perform a Browse operation for one of the following:
  6. Do one of the following, depending on which object you browsed:
  7. In the Copyback dialog box, select a Recovery Host, the host to which the data will be copied back.
  8. Specify a Recovery Path for the data you want to copy back. The Recovery Path must be larger than the data being copied back. To assign a Recovery Path, do one of the following:
  9. Select Overwrite existing data under 'Recovery Path'.
  10. Click OK to copy back the data. The system displays a progress bar as it copies back the data. You can track the progress of the recover operation from the Job Controller window.
  11. Mount the Exchange Stores.
  12. For Outlook 2003, the profile for any mailbox(es) changed to DISABLE CACHED MODE can be changed back to Cached Mode. The user will be able to see the recovered data instead of the cached copy.

Copy Back SQL Data from a Consistent Recovery Point

Related Topics:

Before You Begin

Required Capability: See Capabilities and Permitted Actions

To copy back SQL data from a Consistent Recovery Point:

  1. Abort the Replication Pairs for the source volume to which you will copy back SQL data. This avoids slow copyback operation on the source volume.
  2. Detach the SQL database(s) for which you will copy back point-in-time SQL data.
  3. In the CommCell Browser, perform a Browse operation for one of the following:
  4. Do one of the following, depending on which object you browsed:
  5. In the Copyback dialog box, select a Recovery Host, the host to which the data will be copied back.
  6. Specify a Recovery Path for the data you want to copy back. The Recovery Path must be larger than the data being copied back. To assign a Recovery Path, do one of the following:
  7. Select Overwrite existing data under 'Recovery Path'.
  8. Click OK to copy back the data. The system displays a progress bar as it copies back the data. You can track the progress of the recover operation from the Job Controller window.
  9. Attach your SQL database(s).

Copy Back Oracle Data from a Consistent Recovery Point

Related Topics:

Before You Begin

Required Capability: See Capabilities and Permitted Actions

To copy back Oracle data from a Consistent Recovery Point:

  1. Abort the Replication Pairs for the source volume to which you will copy back Oracle data. This avoids slow copyback operation on the source volume.
  2. Shut down the Oracle database.
  3. Copy back the following Oracle data from the second snapshot (the snapshot of any destination log volume) in the Consistent Recovery Point you have selected, to a temporary directory:

    This can be done using one of the following methods:

  4. Create the database tracing directories (udump, bdump, cdump, etc.) for the Oracle database according to the dbconf.cfg file you copied back in Step 3. (<Snap2Dir>/archivelog_dest1/dbconf.cfg)
  5. If the source database uses spfile, copy spfile from the location you copied back to in Step 3 to the default location under ORACLE_HOME. For example:

    cp <Snap2Dir>/archivelog_dest1/spfile <ORACLE SID>.ora <default spfile file path>

  6. If the source database uses pfile, copy pfile from the location you copied back to in Step 3 to the default location under ORACLE_HOME. For example:

    cp <Snap2Dir>/archivelog_dest1/pfile <ORACLE SID>.ora <default pfile file path>

  7. Copy the backup control file from the first archive log destination (from the second snapshot) to all three control files destinations. For example:

    cp <Snap2Dir>/archivelog_dest1/backup.ctl.galaxy <controlfile1_Path from spfile>/ control01.ctl
    cp <
    Snap2Dir>/archivelog_dest1/backup.ctl.galaxy <Controlfile2_Path from spfile>/ control02.ctl
    cp <
    Snap2Dir>/archivelog_dest1/backup.ctl.galaxy <Controlfile3_Path from spfile>/ control03.ctl
    note.gif (292 bytes) GalaxyControlFile.conf also contains the locations of the control files at the time the Consistent Recovery Point was created.

  8. If you did not perform a Copyback operation in Step 3, copy all data and log files to the exact same path as that of the original database, either by mounting the Recovery Point and copying the files, or by performing a Copyback operation. In case the same destination volume is used for database and logs, mount the first snapshot and copy all Oracle data files from the first snapshot to the path that the control file expects. For example:

    cp -a <Snap1Dir>/oradata/rman1/*.dbf /oradata/rman1/

  9. Copy all the log files for all destinations from the second snapshot to the paths that the control file expects, either by mounting the Recovery Point and copying the files, or by performing a Copyback operation. For example:

    cp -a <Snap2Dir>/archivelog_dest*/ /oralogs/rman1/
    note.gif (292 bytes) If you have previously chosen to replicate only one (not all) Oracle instance log locations, after the logs have been copied back, copy them to the other log location (if any) on the production server. For instance:

    If you have D:\ArchiveLogs1, F:\ArchiveLogs2, H:\ArchiveLogs3 and you initially selected to replicate only D:\ArchiveLogs1, after you copyback to D:\ArchiveLogs1, copy the same files to F:\ArchiveLogs2 and H:\ArchiveLogs3. You can either copy and paste them from D:\ArchiveLogs1 or run copyback again, specifying F:\ArchiveLogs2 and H:\ArchiveLogs3 as destinations, whichever is faster in your particular environment.

  10. Set the ORACLE_SID and ORACLE_HOME environment variables.
  11. Run the following commands as an Oracle user:

    sqlplus "/ as sysdba"

    1. startup mount
    2. set autorecovery on;
    3. recover database until cancel using backup controlfile;
    4. alter database open resetlogs;
  12. Database open will succeed after recovering the database.

Mount a Fan-In Recovery Point Using CDR

Related Topics:

Before you Begin:

Required Capability: See Capabilities and Permitted Actions

To configure CDR to automatically mount snapshots for Fan-In Recovery Points:

  1. From the CommCell Browser, right-click ContinuousDataReplicator on the destination client, and select Properties.
  2. From the Fan-In tab, select the Recovery Points tab, and select the Auto-Mount snapshots after Recovery Point Creation option.
    note.gif (292 bytes) Mounting of ONTAP snapshots is not supported in a Fan-In configuration.
  3. Click Enter Mountpoints.
  4. In the Enter Mount Points dialog, click the Mount Point column for each Destination Path and specify a drive letter (e.g., G:) to which the snapshot will be mounted.
    note.gif (292 bytes)
    • Ensure that you specify an unused drive letter.
    • Do not specify mount points for a UNC path. If you specify the mount point for a recovery point on a UNC path, this mount point is ignored when a recovery point is created on a UNC path.
    • A share is automatically created on the NetApp filer when the recovery point is created. The path to this share can be displayed when the recovery point is browsed. This share can be used to manually mount the recovery point to a windows drive.
  5. Click OK.

To mount the snapshots of an existing Fan-In Recovery Point, for CDR on Windows:

  1. From the CommCell Browser, right-click ContinuousDataReplicator on the destination client, and select Browse Destination Volumes.
  2. In the Browse Destination Volumes window, right-click a Recovery Point, and select Mount.
  3. Specify a drive letter (e.g., G:) to which to mount the Recovery Point. Ensure that you specify an unused drive letter. Mount points are not supported in a Fan-In configuration.
  4. Close the Browse Destination Volumes window.

Unmount a Fan-In Recovery Point Using CDR

Related Topics:

Required Capability: See Capabilities and Permitted Actions

To unmount the snapshots of a Fan-In Recovery Point:

  1. From the CommCell Browser, right-click ContinuousDataReplicator on the destination client, and select Browse Destination Volumes.
  2. In the Browse Destination Volumes window, right-click a Recovery Point, and select Unmount.
  3. Close the Browse Destination Volumes window.

Copy Back File System Data from a Fan-In Recovery Point

Related Topics:

Required Capability: See Capabilities and Permitted Actions

To copy back file system data from a Fan-In Recovery Point:

  1. From the CommCell Browser, right-click ContinuousDataReplicator on the destination client, and select Browse Destination Volumes.
  2. In the Browse Destination Volumes window, right-click a Recovery Point, and select Copyback.
  3. In the Copyback dialog box, select a Recovery Host, the host to which the data will be copied back.
  4. Specify a Recovery Path for the Recovery Point(s) you want to copy back. The Recovery Path must be larger than the data being copied back. To assign a Recovery Path, do one of the following:
  5. Optionally, select Overwrite existing data under 'Recovery Path'.
  6. Click OK to copy back the data. The system displays a progress bar as it copies back the data. You can track the progress of the recover operation from the Job Controller window.

 

Back to Top