<< Setup and usage | IBExpertBackupRestore | Backup restore checklist >>

Configuring the database for a backup

After configuring the default task settings, all new tasks will have the same configuration when created. You can of course alter specific options in the individual tasks if wished.

Letís configure IBExpertBackupRestore to backup our database:

  1. Right-click on the IBExpert Backup Restore serviceís item in the SCC. Then click Add task in the popup menu. After that you will see the new task item (Task 0) under the Backup Restore serviceís item. You may rename it when the service is inactive by clicking on the name simultaneously holding the [Ctrl] key down. In the example below you can see a new task, renamed Employee.
Once a task has been created, the HK-Services context-sensitive right-click menu can be used to copy an existing backup configuration, run it immediately or delete it:
  1. Configure the Actions (if any) and the Backup and Restore settings (backup folder, restore folder, page size, backup options and restore options) as shown in the screenshot:
  1. Setup the GBK file compress with the built-in ZIP compressor, as shown on the screenshot below:
Of course you can also specify an external compressor application of your choice. (Further information can be found in the previous chapter.)
  1. Setup the database connection parameters and path to gbak.exe:
  1. Set up the MailNotification and SMTP settings as required:
  1. Set up the schedule for your local time + 5 minutes so that we can see this task running.
  2. Set the Active property to True.
  1. Save the serviceís configuration by pressing the Save button in the SCC:
  1. Run the IBExpertBackupRestore service by pressing the Run button in the SCC:
  1. Now select the task in the HK services list, then switch to the Service runtime info page to see the task-related service activity:

After specifying and starting the service, it runs in the background simply looking into the configuration file which is stored on the local machine, and running the backup according to the schedule specified. If you want to test your configuration immediately, simply right-click on the task name in the left-hand panel and select Run task immediately. The third page, Performance logs when the backup started and finished, and whether there were any errors, and also logs restore information, if a restore has be specified.

Also, if you check your mail for the address configured in the SMTP settings, there should be a report message from the backup/restore service, provided of course that you have specified mail notification of both a successful and unsuccessful backup:

In the backup folder you can find fresh backup and backup/restore log files.

And in the restore folder the restored database.

hkIBRS.exe

The control center is for defining your jobs. What really runs is a small tool that runs as a service:

The IBExpert Server Tools allow you to distribute this software also to your customer. And if you don't want your customer to construct his own tasks and mess around with your structure, you can do it in the following way: use IBExpert BackupRestore, a small tool called hkIBRS.exe (the IBExpertBackupRestore Scheduler). You simply need to install this tool once, with the install flag, and a service is automatically created. The definition of your job is set in a simple text file in the directory, IBExpertBackupRestore\IBExpertBackupRestore.tasks\*.tsk, so it is not necessary to run this application on your customer side.

Furthermore VAR customers can directly change all the information shown in the Control Center display, and even replace the HK logo with their own bitmap, for distribution to customers with their own software.

back to top of page
<< Setup and usage | IBExpertBackupRestore | Backup restore checklist >>