SQL Safe provides you with CLI commands to help you manually edit your policies.
To edit policies use the following commands:
- SQLsafeCmd Edit-Policy <policy_name> [options]
- SQLsafeCmd Edit-Policy <policy_GUID> [options]
Where:
Action | Description |
---|---|
<policy_name> | Name of the policy. |
<policy_GUID> | GUID of the policy. |
Advanced Options
The following advanced options help you edit policies:
Options | Description |
---|---|
-ArgsFile <filename> | The path to a file containing command-line arguments. <filename> - specifies the file that contains the command line arguments. |
The following topics are included in this section:
- Edit Backup Policies CLI Commands
- Edit Log Shipping Policies CLI Commands
- Edit Restore Policies CLI Commands
For detailed descriptions and available options, see the CLI Help (SQLsafeCmd help Edit-Policy
).