Troubleshooting Restore - Sybase iDataAgent

Backup Restore  

The following section provides information on troubleshooting restores.

Browse Failures

Point in time Table Browse Failures When you have encryption enabled for the client, point in time table browse operation fails with the following error message:

Pass-phrase protection is on for client [80], but pass-phrase was not specified.

Make sure that the pass phrase is exported to the MediaAgent when encryption is enabled for the client.

  1. From the CommCell Browser, right-click the <Client> and then click Properties.
  2. Click the Encryption tab.
  3. Click Via Pass-Phrase.
  4. Click Export.
  5. In the Destination Computer box, select the MediaAgent.
  6. In the Pass-Phrase box, type the pass-phrase used for encryption.
  7. In the Re-enter Pass-Phrase box, re-type the pass-phrase to confirm.
  8. Click Export.
  9. Click OK.

Restore Failures

Failure of Backups and Restores performed from a remote desktop on windows Currently, backups and restores cannot be performed from a remote desktop on Windows.

Use any one of the following solutions that suits your setup:

  • Login to remote desktop using the following command:

    mstsc /v:winclient /console

  • Use netmeeting
  • Use telnet
  • Use the clients console
Restoring multiple databases in one job may fail Sometimes, restoring multiple databases in one job may fail if different streams are used for data and log backups. If you need to restore multiple databases in one job, use the same streams for data and log backups.

Recovering Data Associated with Deleted Clients and Storage Policies

The following procedure describes the steps involved in recovering data associated with the following entities:

Before you Begin

This procedure can be performed when the following are available:

Recovering Deleted Data

  1. Locate the latest Disaster Recovery Backup which contains the information on the entity (Storage Policy, Client, Agent, Backup Set or Instance) that you are trying to restore.
  2. On a standby computer, install the CommServe software. For more information on installing the CommServe, see CommServe Deployment.
  3. Restore the CommServe database using the CommServe Disaster Recovery Tool from the Disaster Recovery Backup described in Step 1. (See Restore a Disaster Recovery Backup for step-by-step instructions.)
  4. Verify and ensure that the Bull Calypso Client Event Manager Bull Calypso Communications Service (EvMgrS) is running.
  5. If you did not have a CommCell Migration license available in the CommServe when the disaster recovery backup was performed, apply the IP Address Change license and the CommCell Migration license on the standby CommServe. See Activate Licenses for step-by-step instructions.
  6. Export the data associated with the affected clients from the standby CommServe as described in Export Data from the Source CommCell.
    When you start the Command Line Interface to capture data, use the name of the standby CommServe in the -commcell argument.
  7. Import the exported data to the main CommServe as described in Import Data on the Destination CommCell.

    This will bring back the entity in the CommServe database and the entity will now be visible in the CommCell Browser. (Press F5 to refresh the CommCell Browser if the entity is not displayed after a successful merge.)

  8. If you have additional data that was backed up after the disaster recovery backup and before the deletion of the entity, use the procedure described in Import Metadata from a Tape or Optical Media to obtain the necessary information.
  9. You can now browse and restore the data from the appropriate entity.

    As a precaution, mark media (tape and optical media) associated with the source CommCell as READ ONLY before performing a data recovery operation in the destination CommCell.

Resolve and Restore Defective Devices and Suspected Databases

A full Sybase restore may fail if one or more database devices are defective or have been physically deleted and the corresponding databases have therefore been marked as suspected. In such a case, all the databases marked as suspected and the corresponding devices whose files have been lost must be dropped and re-created.

Use the following steps to resolve and restore defective devices and suspected databases:

1. Issue the following command to determine whether the database is "suspected":

sp_marksuspect (<database name>)

Example:

sp_marksuspect (<sybdb1>)

2. Drop the suspected database using the following command:

dbcc dbrepair (<database name>, dropdb)

Example:

dbcc dbrepair (<sybdb1>, dropdb)

3. If the database to be recovered is "sybsystemprocs", use the following command to drop the corresponding device (since stored procedures are not available at this point):

disk release name = <device name>

Example

disk release name = <tempdbdev>

4. If any of the data device files do not exist but the device entry exists in sysdevices, drop those devices using the following command:

sp_dropdevice <device name>

Example:

sp_dropdevice <tempdbdev>

5. Repeat the above procedure for each suspected database.  
6. Resume the restore starting with the first database that was deemed suspected.