Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
When I run this command from powershell
get-smpolicy | Select-Object SnapVaultLabel, PolicyType, SqlBackupType
My results return the SQLBackupType field as empty for all my policies. Is that good or bad?
I'm trying to modify a policy via powershell like this, but it fails.
set-smpolicy -PolicyName "tier 1 daily sql full and log backup-servername" -SnapVaultLabel "scv_daily_servername"
Does anyone have an example on how I can set the -snapvaultlabel via powershell?
Thanks,
-n00b-
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like the property that contains the backup type is actually called "SmSqlBackupType" and not "SqlBackupType", so that could explain why that property is empty (because it doesn't exist).
What error is generated when you try to run the "Set-SmPolicy" cmdlet to try to specify the SnapVault label?
