Question & Answer
Question
How do you restore a legacy backup of an AlwaysOn Availability Group Availability Database (AAG) to an SQL server that does not use AlwaysOn Availability Groups
Answer
In order to restore a legacy database backup from a Data Protection for SQL node that is part of an AlwaysOn AAG configuration to a different SQL server where the Data Protection node is not enabled for AlwaysOn AAGs requires some configuration changes to the target (non-AAG node) as described below.
1) add the ALWAYSONNODE with the correct alwayson node name to the Data Protection for SQL config file (default is tdpsql.cfg) on the target SQL machine.
2) at the IBM Spectrum Protect server grant proxy access to the SQL node on the target server to the alwayson node. (Note: the agent node must be unique to each machine.)
To illustrate these changes assume we have the Data Protection for SQL node that is part of the alwayson config named SQL01_NODE. The alwayson node name used by SQL01_NODE is SQLALWAYSON. The Data Protection for SQL node name on the SQL server that is not part of the alwayson config is SQL_A_NODE
In the tdpsql.cfg configuration file add the line:
ALWAYSONNODE SQLALWAYSON
Then at the IBM Spectrum Protect server grant proxy as below
GRANT PROXYNODE target=SQLALWAYSON agent=SQL_A_NODE
To preform the restore
- On the SQL server that is the target for the restore, start the MMC GUI.
- Select the SQL server instance in the tree view and go to the Recover tab
- In the middle of the pane near the top click the "DP NODE BACKUPS" button to toggle it to show "ALWAYSON NODE BACKUPS" and click refresh.
- The backups for the SQLALWAYSON node should be displayed for restore.
- To see the data originally backed up on SQL_A_NODE toggle the ALWAYSON NODE BACKUPS button back to DP NODE BACKUPS and refresh
Product Synonym
TSM FCM
Was this topic helpful?
Document Information
More support for:
Tivoli Storage Manager for Databases
Software version:
Version Independent
Operating system(s):
Windows
Document number:
237831
Modified date:
17 June 2018
UID
swg21663422