SQL Safe provides you with CLI commands to help you manually create virtual databases.
To perform operations use the following commands:
| Commands | Description |
|---|---|
| SQLvdbCmd <action> [options] | Perform an action. |
| SQLvdbCmd help <action> | Display detailed help for an action. |
| SQLvdbCmd -ArgsFile <filename> | Perform the action defined within an argument file. |
Where:
| Action | Description |
|---|---|
| <action> | A keyword that tells SQLsafe what to do. |
<filename> | Specifies the file that contains command line arguments. |
When you use the sqlvdbcmd command, the following actions can be performed:
| Action | Description |
|---|---|
Create a new virtual database. | |
Delete a virtual database. | |
Cleanup unused virtual database temporary files. | |
| EncryptWindowsPassword | Encrypt plain-text password for Windows logins. |
| EncryptSqlPassword | Encrypt plain-text password for SQL Server logins. |
| EncryptRestorePassword | Encrypt plain-text password for encrypted restores. |
| Map | Generate maps (for InstantRestore or SQL virtual database). |
Display more detailed help. |
For detailed descriptions and available options, see the CLI Help (SQLvdbCmd help).