Restore SQL Data using ProxyHost

Select the desired procedure:

Restore single/multiple SQL databases to the production server in one TSIM restore command

Restore SQL databases to the production server

Restore SQL databases by Synchronizing the BCV group

 

Restore single/multiple SQL databases to the production server in one TSIM restore command

Supported Snapshot Environments:

Before You Begin:

Required Capability: See Capabilities and Permitted Actions

To restore single/multiple SQL databases to the production server in one TSIM restore command:

  1. Restore data/log file system to backup host.
  2. Run the TSIM restore command to restore database.
  3. Split the BCV pair.

Since each tsimsnap_restore command can only specify one database, Steps 2 and 3 have to be repeated again in the same script file to restore multiple databases. Follow the steps below to perform this operation:

  1. Run TSIM restore command to restore database1.
  2. Split the BCV pair1.
  3. Run TSIM restore command to restore database2.
  4. Split the BCV pair2.

It will take a moment for the BCV group to update the status flag to "RESTORED". The "RESTORED" flag is required for the splitting to run.

To improve performance, a flag query command can be inserted between Step 1 and Step 2 (also Step 3 and Step 4). In that way Step 2 or Step 4 will not start until the "RESTORED" flag is received by query command.

The final tsim_restore script structure will contain the following sections:

  1. Run TSIM restore command to restore database1.
  2. Wait for the BCV group1 to update the status flag to "RESTORED".
  3. Split the BCV pair1.
  4. Run TSIM restore command to restore database2.
  5. Wait for the BCV group2 to update the status flag to "RESTORED".
  6. Split the BCV pair2.

 

Restore SQL databases to the production server

Supported Snapshot Environments:

Before You Begin:

Required Capability: See Capabilities and Permitted Actions

To restore SQL databases to the production server:

  1. Detach all SQL databases being restored.
  2. Perform any ProxyHost restore procedure.

    NOTES

  3. When the restore has successfully completed, re-attach all restored SQL databases.

 

Restore SQL databases by Synchronizing the BCV group

Supported Snapshot Environments:

Required Capability: See Capabilities and Permitted Actions

To restore SQL databases by Synchronizing the BCV group:

  1. Perform any ProxyHost restore procedure.

    NOTES

  2. When the restore has successfully completed on the backup host, detach the SQL databases that will be restored.
  3. On the backup host, run the BCV restore command to synchronize the data from the backup host to the primary devices.
  4. When the synchronization has successfully completed, re-attach the SQL databases.