Page tree
SQL Safe provides you with CLI commands to help you manually create new policies.

To create policies use the following command:
  • SQLsafeCmd Create-Policy <policy_type> <policy_name> [options]


Type of the policy.

Valid types: Restore, Backup, LogShipping.


 Name of the policy.

Advanced Options

The following advanced options help you create policies:

-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:

For detailed descriptions and available options, see the CLI Help (SQLsafeCmd help Create-Policy).