This topic gives detailed description of command line switches, required to perform database restore with the help of command line.
schemacompare.com /restore [/switch1 [:value : [parameter1:value paprameter2: value..]]
/switch2..]
To get more information on switches related to schema comparison in the command line interface, you can type:
C:\Program Files\Devart\dbForge Schema Compare for MySQL>schemacompare.com /restore /?
The following command line switches are available for backup operation:
Argument | Action and Usage | |
---|---|---|
/connection | This switch is used to specify a connection string. Command usage looks like:/connection<connection_string> |
|
/createdatabase | This switch is used to specify that if the database specified in /database switch does not exist, it will be created. |
|
/database | This switch is used to specify a database to backup. It overrides the database specified in backup project or in the connection string. | |
/encoding | This switch is used to specify encoding which should be applied to open and execute the script. Command usage looks like:/encoding:<codepage | encoding name> |
|
/inputfile | This switch is used to specify SQL or ZIP file with a database script to restore. | |
/password | This switch is used to specify a server password. It overrides the password specified in the connection string. Command line usage looks like:/password:<pw> |