security-settings

security-settings

This command manages permissions for executing SQL and Shell scripts specified in a Job.

Subcommands

get

Displays the current script execution permissions for jobs configured on SqlBak.com.

Syntax:

sqlbak security-settings get

Parameters:

--save-to-file=<path> – Save the application security settings to a file. Use this argument to specify the path to a file where the application security settings will be written.
--confirm – Confirm the changes to the application general settings or file overwriting.

set

Sets script execution permissions.

Syntax:

sqlbak security-settings set --load-from-file=<path>

Parameters:

--load-from-file=<path> – Load the application security settings from a file. Use this argument to specify the path to a file with the application security settings.

reset

Reset the application security settings.

Syntax:

sqlbak security-settings reset

Parameters:

--confirm – Confirm the changes to the application general settings or file overwriting.