Scheduling Automatic Backups

Previous Topic: Restoring a Database

You can schedule automated backups of your ServiceCEO database using command-line options. Before you begin, please read the Backing up the Database topic.

Note!

Note:
The instructions below were written for Windows XP. They may vary slightly depending on the Operating System you are running. For additional assistance using the Windows Task Scheduler, see your Windows documentation.

To schedule an automated backup:

  1. On the server computer, select Start > Programs > Accessories > System Tools > Scheduled Tasks. The Scheduled Tasks dialog box appears.

  1. Double-click Add Scheduled Task. The Scheduled Task Wizard appears.

  2. Click Next. The second page of the Scheduled Task Wizard appears.

  1. Scroll down and select ServiceCEO Backup and Restore.

  2. Click Next. The third page of the Scheduled Task Wizard appears.

  1. Select the option button corresponding to the frequency in which you want to back up your ServiceCEO database.

  2. Click Next. The fourth page of the Scheduled Task Wizard appears.

  1. Define the time, frequency, and any other options for the automatic backup.

  2. Click Next. The fifth page of the Scheduled Task Wizard appears.

  1. Type the Windows user name and password of the Windows user that you want to run the backup. It is a good idea to use a Windows user with administrative privileges here

  2. Click Next. The sixth page of the Scheduled Task Wizard appears.

  1. Select the Open advanced properties for this task when I click Finish check box.

  2. Click Finish. The Task tab of the Backup and Restore Database dialog box appears.

  1. In the Run field, type the following text, including the quotation marks: "C:\Program Files\Insight Direct\Database Management Tools\BackupAndRestore.exe" -backuppath "backuppath" -servername "servername" -databasename "databasename"

    replacing the following values with your actual data. All replaced values should be in quotes.

    The resulting command line will look similar to the following:
    "C:\Program Files\Insight Direct\Database Management Tools\BackupAndRestore.exe" -backuppath "C:\Backup\ServiceCEO Backups" -servername "MyServer" -databasename "ServiceCEO"

Tip!

Tip:
If this command doesn't work for you, try making these adjustments:

  • You may need to add a backslash "/" after the end of the backup path.

  • If your SQL Server is installed as a named instance, then you'll need to add the database instance to the server name.

  1. Click OK to save the parameters. The Scheduled Tasks dialog box appears, displaying the automatic backup you just created.

Note these conditions of the automatic backup:

Next Topic: The Database Library

Did you find this topic useful? Yes
No
I don't know
Why?