You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

SQL Safe provides you with CLI commands to help you manually create a new policy.

 

To create a policy use the following command:

  • SQLsafeCmd Create-Policy <policy_type> <policy_name> [options]

 

Where:

ActionDescription
<policy_type>

Type of the policy. Valid types: Restore, Backup, LogShipping.

<policy_name>

 Name of the policy.

Advanced Options

The following advanced options help you perform RestoreHeaderOnly operations:

Options
Description
-ArgsFile <filename>

The path to a file containing command-line arguments.

<filename> - specifies the file that contains the command line arguments.

For detailed descriptions and available options, see the CLI Help (SQLsafecmd help create-policy).

SQL Safe is a high-performance backup and recovery solution for your SQL Servers. Learn more > >
  • No labels