Skip to main content
SnapCenter 5.0 cmdlets

Restore-SmServerBackup

Contributors

Restores an existing SnapCenter Server backup.

Syntax

Restore-SmServerBackup [-BackupPath]  <String>  [-BackupName]  <String>  [-SkipSMSURLUpdateInHosts]  <SwitchParameter>

Detailed Description

Restores an existing SnapCenter Server backup.

Parameters

Name Description Required? Pipeline Input Default Value

BackupPath

Specify the path where the SnapCenter Server backup is stored.

true

true (ByPropertyName)

BackupName

Specify the name of the SnapCenter Server backup that needs to be restored.

true

true (ByPropertyName)

SkipSMSURLUpdateInHosts

Skip SnapCenter Server URL update in all hosts

false

false

Examples

Example 1: Restoring a SnapCenter Server backup

 Restore-SmServerBackup -BackupPath E:\Data -BackupName smhv-rx200-8.HNK2.COM_08-30-2023_19.34.55.0827

This example restores the SnapCenter Server backup from the specified path and updates the new SnapCenter URL in all the hosts.

Name: Restore SnapCenter Server backup
Id  : 60
StartTime   : 8/30/2023 8:24:19 PM
EndTime : 8/30/2023 8:24:20 PM
IsCancellable   : False
IsRestartable   : False
IsCompleted : False
IsVisible   : True
IsScheduled : False
PercentageCompleted : 100
Description :
Status  : Running
Owner   :
Error   :
Priority: None
Tasks   : {Prepare for restore job}
ParentJobID : 0
EventId : 0
JobTypeId   : 1
ApisJobKey  :
ObjectId: 0
PluginCode  : NONE
PluginName  : NONE
HostId  : 0
RoleId  :
JobIds  : {}
ScsJobId:

Example 2: Restoring a SnapCenter Server backup

 Restore-SmServerBackup -BackupPath E:\Data -BackupName smhv-rx200-8.HNK2.COM_08-30-2023_19.34.55.0827 -SkipSMSURLUpdateInHosts

This example restores the SnapCenter Server backup from the specified path and skips updating the new SnapCenter URL in all the hosts

Name: Restore SnapCenter Server backup
Id  : 60
StartTime   : 8/30/2023 8:24:19 PM
EndTime : 8/30/2023 8:24:20 PM
IsCancellable   : False
IsRestartable   : False
IsCompleted : False
IsVisible   : True
IsScheduled : False
PercentageCompleted : 100
Description :
Status  : Running
Owner   :
Error   :
Priority: None
Tasks   : {Prepare for restore job}
ParentJobID : 0
EventId : 0
JobTypeId   : 1
ApisJobKey  :
ObjectId: 0
PluginCode  : NONE
PluginName  : NONE
HostId  : 0
RoleId  :
JobIds  : {}
ScsJobId: