InterFormNG2 use as default an embedded database to store processed for
input forms, the
job logs,
email log,
printer queues and
time-limited stores. The files related to the embedded database cannot be backed up while the InterFormNG2 service is running. One way to do a backup is to stop the InterFormNG2 service, do the backup and then start the InterFormNG2 service again.
It is however possible to do a backup and restore of the objects mentioned above in the embedded database.
Setup of backup
You can setup InterFormNG2 to do backups to an internal folder at regular intervals. That is possible if you sign on to InterFormNG2 as a system administrator. Then you see this in the top ribbon:
As shown above you here select General Settings and then Database Backup, which will scroll to this section of the general settings:
If you want to enable a regular backup you first enable the backup and then you select the Backup interval and the time from which the backups should start.
Backup interval
Here you set how often the backup folder is updated with the backed up data. The possible intervals are:
Every 3 hours
Every 6 hours
Every 8 hours
Every 12 hours
Every 24 hours
Starting from
Here you state at what time of the day, on which the first backup should be done. From then on the objects above will be backed up to the backup folder.
Please note:
- The directory where the backups are stored is: {InterFormNG2_Home}\profiles\default\db_backups. On Windows that is as default: C:\ProgramData\InterFormNG2\profiles\default\db_backups
- The backup will always overwrite the previous backup.
- You can do backups from the {InterFormNG2_Home}\profiles\default\db_backups to your own backup system to e.g. keep older versions.
Restore from a backup
If you want to restore one or more object types from the backup, then you need to sign on as a system administrator and then select Admin followed by Backup as shown below:
Now you can see the latest backup with the timestamp from when it was done:
If you want to restore a backup, which was previously copied from the {InterFormNG2_Home}\profiles\default\db_backups folder, then you should first copy the backup files back into the same folder and the screen above should be updated to show the timestamp of the backup. You might need to refresh the screen with <CTRL>+F5.
As you can see the backup is divided into 4 parts:
Input forms, Job logs (which also includes the email log), the printer queue and the time-limited stores. You can restore each of these objects individually and you do that by pressing this icon on the very right next to the object, that you want to restore:
If you click this icon, then InterFormNG2 first asks you to confirm the restore with this pop-up window:
Here you can click Cancel to not do the restore or Revert to go ahead with the restore.