Previous Topic: Run a BMR Batch JobNext Topic: Verify the Recovery Points are Usable


Replicate and Manage Backup Sessions

You can create a script to replicate your backup sessions so that you can recover your data when your original backup data is corrupted. The backup sessions include all the recovery points that were backed up. You can protect your backup sessions by replicating your backup sessions to a replication destination.

After you have replicated your backup sessions, you can then manage your replication destination by adding the destination to the Arcserve UDP Agent (Linux) interface.

Replicating and managing backup sessions is a three part process. It includes the following three parts:

Replicating the Backup Sessions

You can leverage the Pre/Post Scripts Settings feature in the Backup Wizard to replicate the backup sessions to the replication destination. You can choose any option, such as File Transfer Protocol (FTP), Secure Copy (SCP), or the cp command, to replicate the backup session.

Follow these steps:

  1. Log into the Backup Server as a root user.
  2. Create a pre/post script to replicate the backup sessions.
  3. Place the script at the following location:
    /opt/CA/d2dserver/usr/prepost
    
  4. Log into the Arcserve UDP Agent (Linux) web interface.
  5. Open the Backup Wizard and navigate to the Advanced page.
  6. In the Pre/Post Scripts Settings option for Run on backup server, select the replication script from the After job is over dropdown list.
  7. Submit the backup job.

The backup session is replicated to the backup destination.

Create or Update the Recovery Point Configuration Files

After you replicate the backup sessions, you create and configure the recovery points configuration file. This file is used to identify the recovery points when you perform the restore operation from the Arcserve UDP Agent (Linux) interface.

Follow these steps:

  1. Log into the Backup Server as a root user.
  2. Navigate to the following location:
    /opt/CA/d2dserver/bin
    
  3. Enter the following command to create or update the recovery points configuration file:
    ./d2drp --storagepath=/backupdestination --node=node_name --session=session_name
    

    If you provide only the --storagepath and --node information, then the command updates all the backup sessions for the selected node. If you provide the --session information, then the command updates the specific session information.

    Note: For more information about the d2drp command, see Understanding the Scripting Utilities.

The recovery points configuration file is created or updated depending on the status of the file.

Add the Replication Destination

Add the replication destination to the Arcserve UDP Agent (Linux) interface to manage the destination. After you add the replication destination, you can see the available free space in that destination and manage your data accordingly.

Follow these steps:

  1. Log into the replication destination.
  2. Create a file named Settings and enter the following code in the Settings file:
    RecoverySetLimit=n
    

    n indicates the number of recovery sets that you want to retain in the replication destination.

  3. Place the file in the node folder of the replication destination.

    For example, /backup_destination/node_name/Settings

  4. Log into the Arcserve UDP Agent (Linux) web interface.
  5. Add the replication destination from the Backup Storage menu.

The replication destination is added to the Arcserve UDP Agent (Linux) web interface.

The backup sessions are successfully replicated and managed.