1. Home
  2. Docs
  3. How It Works
  4. Command Line Interface

Command Line Interface

The scheduled jobs in SQLBackupAndFTP can be launched through the program interface. This is handled by the utility SqlBak.Job.Cli.exe, which is installed along with the application and usually located here: C:\Program Files (x86)\SQLBackupAndFTP\.

SqlBak.Job.Cli.exe -runJob -jobName "<job-name>" -backupType "<backup-type>"
  • <job-name> is the name of a job you want to run (as it shown in the left pane of SQLBackupAndFTP’s window)
  • <backup-type> specifies what backup type you need to make this time, it can be one of the following values:
    • Full: full backup
    • FullCopy: full copy-only backup
    • Diff: differential backup
    • TranLog: transaction log backup
    • TranLogCopy: transaction log copy-only backup