SQL Safe provides you with CLI commands to help you manually copy policies.
To copy policies use the following commands:
- SQLsafeCmd Copy-Policy <policy_name> <OriginalPolicyName>_yyMMdd_hhmmss
Where:
Action | Description |
---|---|
<policy_name> | Name of the new policy. |
<OriginalPolicyName> | Name of the existing policy from which you are creating the copy. |
_yyMMdd_hhmmss | Date and time of the existing policy. |