Reseed-SmDagReplicaCopy
Contributors
Suggest changes
This command will restore or reseed the failed copy of the database.
Syntax
Reseed-SmDagReplicaCopy [-ReplicaHost] <String> [-Database] <String> [-BackupHost] <String> [-PreScriptCommand] <String> [-PreScriptArguments] <String> [-PostScriptCommand] <String> [-PostScriptArguments] <String> [-ScriptTimeOut] <Int32>
Detailed Description
Restores an unhealthy replica by using either the most recent copy on the same host or the most recent copy from an alternate host.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
ReplicaHost |
true |
false |
||
Database |
true |
false |
||
BackupHost |
false |
false |
||
PreScriptCommand |
false |
true (ByPropertyName) |
||
PreScriptArguments |
false |
true (ByPropertyName) |
||
PostScriptCommand |
false |
true (ByPropertyName) |
||
PostScriptArguments |
false |
true (ByPropertyName) |
||
ScriptTimeOut |
false |
true (ByPropertyName) |
Examples
Example 1: Reseed a replica
reseed-SmDagReplicaCopy -ReplicaHost "mva-rx200.netapp.com" -Database execdb -BackupHost "mva-rx201.netapp.com"