Link Search Menu Expand Document

SqlBak-CLI documentation

config command

This command provides the requested permissions to temporary directories that are used during the backup and restore process.

That command must be run as the root user.

For Linux

When this command is called, the SqlBak-CLI user group will be created. In this group, the user on behalf of which SQL Server runs (mssql) will be included, as well as the currently logged in user. All users who need to run SqlBak-CLI must be specified in the user parameter.

Note that after executing this command, you have to execute the user session relogin.

Invocation Syntax

sudo sqlbak-cli config [ARG...]

Optional arguments

--user

A user on behalf of whom the run-backup and run-restore commands will be launched.

Examples

Reconfiguration for user mike under Linux:

sudo sqlbak-cli config --user=mike