Skip to main content
SnapCenter 4.9 cmdlets

Restore-SmRepositoryBackup

Contributors

Restores the SnapCenter database.

Syntax

Restore-SmRepositoryBackup [-HostName]  <String>  [-SMSbaseUrl]  <String>  [-BackupPath]  <String>  [-BackupName]  <String>  [-RestoreFileSystem]  <>

Detailed Description

Restores the SnapCenter database.

Parameters

Name Description Required? Pipeline Input Default Value

HostName

Specifies the SnapCenter database host name. If the SnapCenter database is hosted by a failover cluster instance (FCI), then specify the FCI owner host name.

true

true (ByPropertyName)

SMSbaseUrl

Specifies the SnapCenter Server URL. This URL is required when you are executing the PowerShell command from a database host.

false

true (ByPropertyName)

BackupPath

Specifies the path where the SnapCenter repository is stored.

false

true (ByPropertyName)

BackupName

Specifies the name of the backup to restore.

true

true (ByPropertyName)

RestoreFileSystem

Specifies that the file system can be restored when backups are missing.

false

true (ByPropertyName)

Examples

Example 1: Restoring a database backup

 Restore-SmRepositoryBackup -BackupName MYSQL_DS_SC_Repository_mva-x3550-s09_09-15-2016_10.32.00.4445

This example syntax restores the specified database backup.

You can retrieve -BackupName by using Get-smRepositoryBackups.