Enabling or disabling VSS shadow copies for Hyper-V over SMB backups
If you use a VSS-aware backup application to back up Hyper-V virtual machine files stored on SMB shares, VSS shadow copy must be enabled. You can disable the VSS shadow copy if you do not use VSS-aware backup applications. The default is to enable the VSS shadow copy.
About this task
You can enable or disable VSS shadow copies at any time.- Set the privilege level to advanced: set -privilege advanced
- Perform one of the following actions:
If you want VSS shadow copies to be... Enter the command... Enabled vserver cifs options modify -vserver vserver_name -shadowcopy-enabled true Disabled vserver cifs options modify -vserver vserver_name -shadowcopy-enabled false - Return to the admin privilege level: set -privilege admin
Example
The following commands enable VSS shadow copies on SVM vs1:
cluster1::> set -privilege advanced
Warning: These advanced commands are potentially dangerous; use them
only when directed to do so by technical support personnel.
Do you wish to continue? (y or n): y
cluster1::*> vserver cifs options modify -vserver vs1 -shadowcopy-enabled true
cluster1::*> set -privilege admin
Give documentation feedback