cancel
Showing results for 
Search instead for 
Did you mean: 

Powershell backup

Peable
Level 6
Employee Accredited Certified

Hi everyone,

in the article http://support.veritas.com/docs/312327 there are procedures mentioned about setting the server in backup-mode. Question: Does one need to execute two commands to set both Vault Stores/Group AND Indexes in backup mode???

To have a consistent back-up, would it be sufficient to just set the vault store groups? Then, the indexes couldn't be changed by EV?!

Thanks, Jochen.

1 ACCEPTED SOLUTION

Accepted Solutions

Judy_Glazier
Level 6
Partner

You must use two commands:

To set backup mode for Storage Group = example

powershell -psconsolefile "C:\Program Files\Enterprise
Vault\EVShell.psc1" -command "& {set-vaultstorebackupmode -name
'Express Vault Store Group' -evservername server1 -evobjecttype
vaultstoregroup}"
 

To set backup mode for Indexes = example

powershell -psconsolefile "C:\Program Files\Enterprise
Vault\EVShell.psc1" -command "& {Set-IndexLocationBackupMode EVserver1}"

Then to put them back to normal after a backup you change the "set" to"clear" for both commands.

Change the names accordingly for your vault store group and vault server before testing them out. 

 judy

 

View solution in original post

2 REPLIES 2

Judy_Glazier
Level 6
Partner

You must use two commands:

To set backup mode for Storage Group = example

powershell -psconsolefile "C:\Program Files\Enterprise
Vault\EVShell.psc1" -command "& {set-vaultstorebackupmode -name
'Express Vault Store Group' -evservername server1 -evobjecttype
vaultstoregroup}"
 

To set backup mode for Indexes = example

powershell -psconsolefile "C:\Program Files\Enterprise
Vault\EVShell.psc1" -command "& {Set-IndexLocationBackupMode EVserver1}"

Then to put them back to normal after a backup you change the "set" to"clear" for both commands.

Change the names accordingly for your vault store group and vault server before testing them out. 

 judy

 

Peable
Level 6
Employee Accredited Certified

Thanks Judy,

Symantec goes on in the backup doc on what levels one can manually set the backup mode, but using the cmdlets, one has to be not even be rather specific but even run two commands. Only when running both commands, VS data and the Index are in backup-mode. This could be done better in the future... at least I know what to tell the backup guys.

Keep well,
Jochen.