Adding commands to the backup and restore configuration

Contributors akseldavis Download PDF of this page

Occasionally, a backup or restore operation might need to run a command that is not available in Snap Creator. On Window hosts using FC or iSCSI, for example, you might prefer to use SnapDrive commands for backups instead of native Snap Creator commands, to ensure file system consistency at the OS level.

Where to run supplemental commands

By default, supplemental commands run on the Snap Creator Agent. You can run a supplemental command on the Server by prepending the command with the text SERVER, followed by a colon (:). For example, SERVER:C:\myscript.bat.

If you want to run a supplemental command on the Agent, you must explicitly permit the command to be executed by including it in the allowed_commands.config file on the Agent. There is no requirement to allow supplemental commands on the Server.

Where to add supplemental commands

You can use either the Snap Creator GUI or the Snap Creator CLI to add commands to your backup and restore configuration.

This guide shows how to use the GUI to add commands. For information on how to use the CLI, see the Snap Creator Framework 4.1.2 Administration Guide.

Related information