I've started with the migration from SnapManager for Exchange to SnapCenter 4. After some minor issues with VSS providers the backups now run successfully, but I have some troubles setting up the retentions and snapvault update. If I create the policies in the web GUI I do not have any options for setting up Replication, Snapvault updates or snapmirror labels. When I try to add them with powershell (e.g. Set-SmPolicy -PolicyName "Some Policy" -PolicyType Backup -PluginPolicyType SCE -SceBackupType FullBackupAndLogBackup -UpdateSnapVaultAfterbackup -SnapVaultLabel Daily) I then lose the schedules and retention settings in the policy. Next step was to create the entire policy with powershell with this command:
PS C:\> Add-SmPolicy -PolicyName "Some Policy" -PolicyType Backup -PluginPolicyType SCE -Description "Some Description" -SceBackupType FullBackupAndLogBackup -BackupCopiesOnServer -UtmType CountBase -UtmCounts 2 -UtmDays 0 -UpdateSnapVaultAfterbackup -MirrorVaultUpdateRetryCount 3 -SnapVaultLabel Daily -ScheduleType Daily -RetentionSettings @{"BackupType"="DATA";"ScheduleType"="Daily";"RetentionCount"="0";"RetentionDays"="14"}
If I attach this policy to a resource group the backup runs fine, but I get an error on the 'Registering Backup and Applying Retention' step: "Nullable object must have a value" and again there is no snapmirror-label and therefore no snapvault update. Also I cannot find a good formatting in powershell to apply multiple RetentionSettings (for example for LOG backuptype) in the hashtable.
Does anyone has any experience in successfully setting up a backup with snapvault update?