Vault store backup mode cmdlet syntax

Article:HOWTO37617  |  Created: 2010-12-24  |  Updated: 2012-06-27  |  Article URL http://www.symantec.com/docs/HOWTO37617
Article Type
How To


Subject


Vault store backup mode cmdlet syntax

The syntax is the same for all three vault store backup mode cmdlets. For example:

Clear-VaultStoreBackupMode [-Name] <String> [-EVServerName] <String> [-EvObjectType] <EVObjectType> [<CommonParameters>]

The following examples show how Clear-VaultStoreBackupMode is used to decrement the backup mode count on vault stores and vault store groups:

  • Clear-VaultStoreBackupMode VS1 EVServer VaultStore

    This command decrements the backup mode count on vault store VS1.

  • Clear-VaultStoreBackupMode VSG1 EVServer VaultStoreGroup

    This command decrements the backup mode count on all the vault stores in vault store group VSG1.

  • Clear-VaultStoreBackupMode Site1 EVServer Site

    This command decrements the backup mode count on all the vault stores in Site1.

In all cases you must provide the name of the server that owns the vault stores or site, and specify the object type. These parameters allow the cmdlet to find the correct ID.

You must provide the parameters in the order that is shown if you omit the parameter names. However, if you provide parameter names, you can use them in any order. For example:

Clear-VaultStoreBackupMode -EVServerName EVServer -EVObjectType VaultStore -Name VS1

If you know the ID of the vault store, vault store group or site, you can use the following syntax to decrement the backup mode count:

Clear-VaultStoreBackupMode -EntryId <String> [<CommonParameters>]

For example:

Clear-VaultStoreBackupMode -EntryId 1F3C7910CD579234AB8EB207F0ECEBCE91210000EVServer.Domain1.local

This command decrements the backup mode count on the object that has the specified ID. Specify the ID of a vault store to decrement the backup mode count on that vault store. Specify the ID of a vault store group or a site to decrement the backup mode count on all its associated vault stores.

Clear-VaultStoreBackupMode uses the same syntax to decrement the backup mode count on vault stores. It also has an additional parameter which you can use to forcibly clear backup mode from vault stores. For example:

Clear-VaultStoreBackupMode Server-Win2k3 -ForceClearBackupMode 1

This command forcibly clears backup mode from all the vault stores associated with server Server-Win2k3. Clear-VaultStoreBackupMode ignores the existing backup mode count and sets it to 0.

Get-VaultStoreBackupMode also uses the same syntax to report current backup mode settings.

See About Enterprise Vault backups

See Generating PowerShell backup commands for your environment


Legacy ID



v17809241_v34981136


Article URL http://www.symantec.com/docs/HOWTO37617


Terms of use for this information are found in Legal Notices