MSOnlineBackup Module

These are the PowerShell cmdlets for the MSONLINE module, which are used for backup, and are installed as part of the MARS Agent Installer.

MSOnlineBackup Cmdlets

Cmdlet 说明
Add-OBFileSpec

Adds the OBFileSpec object, which specifies the items to include or exclude from a backup, to the backup policy (OBPolicy object).

Get-OBAllRecoveryPoints

Shows the user a list of recovery points for each successful backup that was completed from a specific server.

Get-OBAlternateBackupServer

Gets the array of OBAlternateBackupServer objects.

Get-OBCertificateListFromLocalStore

Gets the list of certificates from the local computer certificate store.

Get-OBFileSpec

Gets the list of OBFileSpec objects associated with the specified backup policy (OBPolicy object).

Get-OBJob

Gets a list of operations from a server as OBJob objects.

Get-OBMachineSetting

Gets the OBMachineSetting object for the server.

Get-OBMachineUsage

Gets the amount of storage consumed on Microsoft Azure Backup by data backed-up from this server.

Get-OBNotification

Gets array of OBNotification objects which are applicable for the server.

Get-OBPolicy

Gets the current backup policy set for the server.

Get-OBPolicyState

Gets the PolicyState of the current backup policy. The state can be either Valid or Paused.

Get-OBRecoverableItem

Gets the array of OBRecoverableItem objects associated with the server.

Get-OBRecoverableSource

Get the list of datasources recoverable from this server or the specified OBBackupServer object.

Get-OBRecoveryService

Gets the list of available vaults.

Get-OBRetentionPolicy

Gets the current retention policy for backups from the backup policy (OBPolicy object).

Get-OBSchedule

Gets the OBSchedule object, which includes the days of the week and times of day to create daily backups, for the specified OBPolicy object.

New-OBFileSpec

Creates a new OBFileSpec object based on the parameters that are specified.

New-OBPagingContext

Creates a new OBPagingContext object that is used in the Get-OBRecoverableItem cmdlet during searching and browsing through paginated recoverable items.

New-OBPolicy

Generates an empty OBPolicy object.

New-OBRecoverableItem

Creates a new OBRecoverableItem for the given path.

New-OBRecoveryOption

Specifies the recovery options that will apply to all the recoverable items during recovery.

New-OBRetentionPolicy

Creates a new OBRetentionPolicy specifying the number of days that the backup needs to be retained.

New-OBSchedule

Creates a new OBSchedule object based on the days of the week and times of day to create daily backups.

Remove-OBFileSpec

Removes the list of items to include or exclude from a backup, as specified by the OBFileSpec object, from a backup policy (OBPolicy) object.

Remove-OBPolicy

Removes or pauses the currently set backup policy (OBPolicy object).

Rename-OBVolume

Maps a backed up volume to its new name after the operating system has been reinstalled on the backed up server.

Set-OBMachineSetting

Sets a OBMachineSetting object for the server.

Set-OBPolicy

Sets the OBPolicy object as the backup policy that will be used for scheduled backups.

Set-OBPolicyState

Sets the PolicyState of the current backup policy object. The state can be either Valid or Paused.

Set-OBRetentionPolicy

Sets the retention policy for the backup policy (OBPolicy object).

Set-OBSchedule

Sets the OBSchedule object, which includes the days of the week and times of day to create daily backups, for the backup policy (OBPolicy object).

Start-OBBackup

Starts a one-time backup operation based on the specified OBPolicy.

Start-OBRecovery

Recovers the array of OBRecoverableItem objects with the specified recovery options in the OBRecoverableOptions object.

Start-OBRegistration

Registers the current computer to Microsoft Azure Backup.

Stop-OBJob

Stops the specified backup or recovery job.