Remote Backup - How To

Topics | How To | Support | Related Topics


Data Backup

Create a Replication Set

Add or Edit a Replication Pair

Configure Orphan File Processing

Start a Full/Incremental Backup

Schedule a Full/Incremental Backup

Transfer Data When a Full Backup Cannot be Performed

Recovery Points

Configure CDR Recovery Points

Create a Recovery Point Using CDR

Create a Recovery Point Using CDR in a Fan-In Configuration

Data Recovery

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

Application Integration

Configure to Replication Application Data

Throttling

Configure Network Bandwidth Throttling

Others

Switch from Continuous Replication to Remote Backup


Create a Replication Set

You can use the Wizard to create a Replication Set instead of using the procedure below; to do so, right-click the ContinuousDataReplicator icon in the CommCell, and select Replication Set Creation Wizard.

Required Capability: Capabilities and Permitted Actions

To create a Replication Set:

  1. In the CommCell Browser, right-click the ContinuousDataReplicator icon of the source machine, select All Tasks, then select Add Replication Set.
  2. In the General tab, specify a name for the Replication Set, and a Destination Host that has CDR installed. Select the Replication Type.

    For CDR on Windows, in the User Name field, specify a Windows User Account that is part of the Local Administrator group on the destination, with read/write permissions for the product installation folders on the destination. If the replication logs directory on the destination is not in the default location, then the User Name supplied here must also have read/write permissions for that directory as well.

    For Unix, specify the option to identify the backup data, Use Journaling or Create Snapshot. See Replication Set for details.

  3. In the Pre/Post Process tab, specify any commands to be run before a Recovery Point is created, and/or after one has been created, and specify a User Account with permissions to run the command(s) on the destination machine. For more information, see Pre/Post Processes.
  4. In the Replication Options tab, make any appropriate selections. See the following for more information:
  5. In the Orphan Files tab, specify how to treat data that is found on the destination, which is not on the source machine. (See Orphan Files.)
  6. Optionally, make any appropriate selections in the Storage Policy tab. For more information about Recovery Points and backups, see Recovery Points.
  7. Optionally, filter the content of any Replication Pairs that are created for this Replication Set in the Filters tab. For more information about Filters, see Replication Filters. To exclude data from data replication operations, do one of the following:
  8. To configure User Security, select the Security tab. For more information, see User Administration and Security.
  9. Click OK to save your changes.
note.gif (292 bytes)
  • To configure User Security for the Replication Set, after it has been created, expand the ContinuousDataReplicator icon of the source machine, right-click the Replication Set and select Properties, then select the Security tab. For more information, see User Administration and Security.
  • To specify that all Replication Pairs created for this Replication Set are to use a Common Base Folder (the same folder on the destination host to contain all destination paths) see Add or Edit a Replication Pair.

Add or Edit a Replication Pair

Before You Begin

Required Capability: Capabilities and Permitted Actions

To add or edit a Replication Pair:

  1. In the CommCell Browser, right-click a Replication Set in the source machine, and select All Tasks, then select Manage Pairs.
  2. To add a Replication Pair, in the Manage Pairs dialog, perform the following:
  3. To edit a Replication Pair, in the Manage Pairs dialog, select the new Pair or one to edit, click Edit, make any changes in the Replication Pair dialog box, and click Close.
  4. To specify that additional Replication Pairs must be created for mount points that are part of your selected source volume or directory, select Automatically detect mount points. Mount points will be ignored if this option is not selected.
  5. To engage all the VSS writers available in the source path when gathering backup data, select Engage All VSS Writers option.
  6. When your changes are complete, click Apply.

Configure Orphan File Processing

Before You Begin

Required Capability: Capabilities and Permitted Actions

To configure orphan file processing for a Replication Set:

  1. From the CommCell Browser, right-click the Replication Set on a source computer, and select Properties.
  2. From the Replication Set Properties (Orphan Files) tab, perform the following selections:
  3. Click OK.

Start a Full/Incremental Backup

Backup jobs using the Run Immediately option allow you to secure data immediately without having to wait for the scheduled backup time. This capability can be useful if:

Required Capability: See Capabilities and Permitted Actions

To start an immediate backup job:

  1. From the CommCell Browser, right-click the replication set to want to back up, select All Tasks and then select Backup.
  2. For supported applications, if you wish to quiesce the source application when the data is captured for backup, select the Quiesce Applications option.
  3. If you wish to create Recovery Points on the destination at the end of the backup job, select the Create Recovery Point option.
  4. To backup the entire source data, select Full Backup. To backup source data that has changed since the previous backup, select Incremental Backup. Note that the very first backup for a replication set will automatically be converted to a Full Backup.
  5. From the Backup Replication Set dialog box, select Run Immediately.
  6. Click OK to execute the backup job.

Schedule a Full/Incremental Backup

You can schedule backups to occur with the following procedure. You will be prompted to create a schedule for the data protection operation after selecting your data protection options.

Required Capability: See Capabilities and Permitted Actions

To schedule a backup operation from the CommCell Console:

  1. From the CommCell Browser, right-click the replication set, select All Tasks and then select Backup.
  2. For supported applications, if you wish to quiesce the source application when the Workstation Backup captures the snapshot for backup, select the Quiesce Applications option.
  3. If you wish to create Recovery Points on the destination at the end of the backup job, select the Create Recovery Point option.
  4. To backup the entire source data, select Full Backup. To backup source data that has changed since the previous backup, select Incremental Backup. Note that the very first backup for a replication set will automatically be converted to a Full Backup.
  5. From the Backup Replication Set dialog box, select Schedule. Click OK to continue.
  6. From the Schedule Details (Schedule Details) dialog box, create a schedule for this operation. For step-by-step instructions, see Create a Job Schedule. Click OK to continue.
  7. Your backup operation will execute according to the specified schedule.

Transfer Data When a Full Backup Cannot be Performed

The following procedure explains the procedure to perform the initial data transfer using out-of-band synchronization from the command line.

To perform initial transfer of data using the out-of-band synchronization:

On Windows

  1. Ensure that the necessary replication pairs are created for the client.
  2. On the Remote Backup source computer, from the command prompt, navigate to the <software installation path>\Base folder and locate the CDRXHelp.exe tool. You can run the tool with the -h option to review the available options.
  3. Execute the following command to identify the Pair IDs for all the replication pairs.

    CDRXHelp.exe -pairs -vm <Instance Name> -cn <Client Name>

    * Use Instance003 for reduced package installations.

    Example:

    CDRXHelp.exe -pairs -vm Instance001 -cn Circus

    CDRXHelp.exe -pairs -vm Instance003 -cn September

    Sample Output:
    REPID    PAIRID     SrcPath            DestPath        DestinationMachine
    540 1938 H:\Sales09 M:\circus\H\Sales09 central_1.storage.com
    540 1939 E:\Production M:\circus\E\Production central_1.storage.com

  4. Set the USN (Unique Sequence Number) for all the replication pairs. Note that if the USN is not set, the subsequent incremental backup would be converted to a full backup.

    If no backup job has been executed from this client:

    1. Set the USN for each pair using the -setUSN option. This saves the current USN of the source volume to the replication pair.

      CDRXHelp.exe -setUSN pairs -vm <Instance Name> -cn <Client Name> -pID <Pair ID>

      Example:

      CDRXHelp.exe -setUSN -vm Instance001 -cn Circus -pID 1938

    2. Manually create the destination folders on the destination computer. For each source path identified in Step 3, create the corresponding destination path on the destination machine.

    If a backup job has been executed (or attempted) from this client:

    1. Read the USN of source volume for each pair. Use one of the following options.
      • CDRXHelp.exe -readUSN -vm <Instance Name> -cn <Client Name> -pID <Pair ID>
      • CDRXHelp.exe -readUSN -vm <Instance Name> -cn <Client Name> -path <Source path>

      Example:

      CDRXHelp.exe -readUSN -vm Instance001 -cn Circus -pID 1938

      CDRXHelp.exe -readUSN -vm Instance001 -cn Circus -path H:\Sales09

      Sample Output:

      PairId 1938
      SrcPath H:\Sales09
      DestPath M:\circus\H\Sales09
      USN 00007cc4
    2. Set the USN for each pair as identified.

      CDRXHelp.exe -setUSN pairs -vm <Instance Name> -cn <Client Name> -pID <Pair ID> -USN <USN number>

      Example:

      CDRXHelp.exe -setUSN -vm Instance001 -cn Circus -pID 1938 -USN 00007cc4

      Sample Output:

      PairId 1938
      Old JournalId ffffffffffffffff
      Old USN ffffffffffffffff
      New JournalId 1c625d8d392c299
      New USN 00007cc4
    3. Since a backup job has been executed from this client, the corresponding destination folders would be available on the destination computer.
  5. Transfer the data to the destination computer. You can use a compact disc, thumb drive or a similar method to transfer the data.
  6. The initial data transfer is now complete. The next incremental backup job will transfer the changes to the source data since the initial data transfer. You can now continue with the traditional backup schedules.

On Unix

  1. On the Source computer, create your Replication Pair(s) but do not start them yet.
  2. On the Source computer, set the current operating system time for each Replication Pair by using the cdrcmd -startoob -set <repset_name> -pair <source_folder> command.
    If you miss this step your Replication Pair will not have the the correct time and the subsequent incremental backup would be converted to a full backup.

    Example:

    <software_installation_path>/Base> cdrcmd -startoob -set MyReplicationSet -pair /MySourcePath

  3. Back up the source data.
    It is recommended that you use the Unix File System iDataAgent to back up the source data.
  4. Restore the data to the destination path(s).
  5. The initial data transfer is now complete. The next incremental backup job will transfer the changes to the source data since the initial data transfer. You can now continue with the traditional backup schedules.

Configure CDR Recovery Points

Related Topics:

Required Capability: Capabilities and Permitted Actions

To configure CDR for Recovery Points:

  1. For Consistent Recovery Points involving supported application, you must Configure CDR to Replicate Application Data.
  2. Right-click a Replication Set and select Properties.
  3. If you will be backing up Recovery Points, see Configure CDR for Backups of Recovery Points.
  4. Click OK to save your changes.
  5. It is recommended that you also see Space Check for the Quick Recovery and ContinuousDataReplicator Agents and configure the Disk Space Low alert to provide warning that the destination computer, and the cache volume in particular, is running out of disk space, which will ultimately cause all recovery points to be deleted.
  6. For UNIX, CDR software automatically recognizes the File Systems configured on the destination computer and detects the appropriate snap engine. For more information on supported snap engines, see Snapshot Engines - Support.


Create a Recovery Point Using CDR

Before You Begin

Required Capability: See Capabilities and Permitted Actions

To create a Recovery Point:

  1. From the CommCell Browser, right-click a Replication Set, and select Create Recovery Points.
  2. From the Create Recovery Point dialog box, select the type, and whether to create the Recovery Point immediately or schedule it. See Scheduling for general information.
  3. In addition, you can select the option of backing up Recovery Points. If you select this option, click Enter Backup Details to select the type of backup as well as any Advanced Options.
  4. When you are finished, click OK.
  5. If you opted to schedule Recovery Point creation, the Schedule Details dialog will appear. Specify the details for your schedule; click Options for additional choices. When you are satisfied, click OK.

Create a Recovery Point Using CDR in a Fan-In Configuration

Related Topics:

Before You Begin

Required Capability: See Capabilities and Permitted Actions

To create a Recovery Point for a Fan-In configuration:

  1. From the CommCell Browser, right-click the destination client, and select Browse Destination Volumes.
  2. In the Browse Destination Volumes window, right-click a destination volume, and select Create Recovery Point.
  3. From the Create Recovery Point dialog box, select whether to create the Recovery Point immediately or schedule it. See Scheduling for general information.
  4. In addition, you can select the option of backing up Recovery Points. If you select this option, click Enter Backup Details to select the type of backup as well as any Advanced Options.
  5. When you are finished, click OK.
  6. If you opted to schedule Recovery Point creation, the Schedule Details dialog will appear. Specify the details for your schedule; click Options for additional choices. When you are satisfied, click OK.

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.

Configure CDR to Replicate Application Data

Related Topics:

Required Capability: Capabilities and Permitted Actions

To configure CDR to replicate application data:

  1. In the CommCell Browser, right-click the ContinuousDataReplicator icon of the source machine, and select Properties.
  2. Select the Authentication tab of the Agent Properties screen, and select one of the following:
  3. Click OK to save your changes.
note.gif (292 bytes) To create a Replication Pair for application data, see Add or Edit a Replication Pair.

Configure Network Bandwidth Throttling

Related Topics:

Required Capability: Capabilities and Permitted Actions

To configure throttling for replication activities:

  1. In the CommCell Browser, right-click the agent icon of the source computer, and select Properties.
  2. In the Operational Parameters tab of the Properties screen, specify any of the following:
  3. Click OK to save your changes.

Switch from Continuous Replication to Remote Backup

Before You Begin

  1. Ensure that the source and the destination computers are upgraded to the current release version. See Upgrades for upgrade information.
  2. Stop all replication activities in the source computer. See Abort Data Replication Activity for instructions.
  3. In the Replication Set Properties (General) tab, change the Replication Type to Remote Backup.
  4. Start the backup job. It is recommended that the first backup in the Remote Office is a Full Backup; subsequent backups can be Incremental or Full, as required. See Start a Full/Incremental Backup for instructions.

Back to Top