/backup Arguments

This topic gives detailed description of command line switches, required to perform database backup with the help of command line.

Command Line Usage

schemacompare.com /backup [/switch1 [:value : [parameter1:value paprameter2: value..]] 
/switch2..]

Arguments

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 /backup /?

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>
/database This switch is used to specify a database to backup. It overrides the database specified in backup project or in the connection string.
/outputfile This switch is used to specify file name for storing the backup. It overrides the database specified in backup project.
/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>
/projectfile This switch is used to specify a backup project to use. The project file is created in Database Backup Wizard and contains backup settings, some of which can be overridden by the switches above.