Reseed-SmBackup
Contributors
Suggest changes
Restores the particular database and joins it back to the Availability Group.
Syntax
Reseed-SmBackup [-PluginCode] <PluginCode> [-AppObjectId] <String> [-BackupName] <String>
Detailed Description
Restores the particular database and joins it back to the Availability Group. This operation is supported only with the database of secondary replica.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
PluginCode |
false |
false |
||
AppObjectId |
true |
false |
||
BackupName |
false |
false |
Examples
Example 1: Reseed Secondary Database of an availability Group
Reseed-SmBackup -AppObjectId CHAN-New\INST4\Auto_DB_CHAN_ESX7_INST1_MDML_1
This example syntax reseeds the secondary copy of the database mentioned by the appobjectId and brings it to sync with primary database and joins the database back to Availability Group.