Edit

Restore-NetworkControllerOnFailoverCluster

Restores the NetworkController from a Backup.

Syntax

Default (Default)

Restore-NetworkControllerOnFailoverCluster
    [-BackupPath] <String>
    [[-IsSfNcBackup] <Boolean>]
    [<CommonParameters>]

Description

Restores the NetworkController state from a previous Backup. This performs the following tasks.

  • Extracts the REST resources form the Backup.
  • Cleans up the state of all the MicroServices and restarts the services .
  • Replays the REST resources.

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Parameters

-BackupPath

The Folder path where the NetworkController Backup is stored.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IsSfNcBackup

True if this is a Service Fabric Based backup.

Parameter properties

Type:Boolean
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.