Back up and restore content data

User Role: Administrator

Back up

To ensure that you always have current copies of the data that the IDOL Server stores, we recommend that you back up the IDOL Server at regular intervals.

For content servers, you can enable scheduled backup. To do this, go to the corresponding .cfg files of the content servers, locate the [schedule] section, and then insert the following lines:

[Schedule]
Backup=true
BackupCheckIndexUpdates=TRUE
BackupCompression=true
BackupTime=00:00
BackupInterval=24
BackupMaintainStructure=true
BackupRetryAttempts=3
BackupRetryPause=5
NumberOfBackups=3
BackupDir0=E:\DataIndex_Backup0
BackupDir1=E:\DataIndex_Backup1
BackupDir2=E:\DataIndex_Backup2

Then, restart the content servers.

Note  

  • Modify the values if needed.
  • If you set NumberOfBackups to 7, the first 7 backup schedules create a new backup file. The 8th backup operation overwrites the first backup, the 9th backup operation overwrites the second backup, and so on.

Restore

If you want to restore the data from a backup, you can use the RestoreServer action, which restores a server’s state from a backup created by the BackupServer action. To restore backed up data, use the command RestoreServer as follows:

http://IdolContentServe:aciport/action=RestoreServer&filename=E:/DataIndex_Backup2/filename.zip

Example:

http://localhost:30010/action=RestoreServer&filename=C:/backups/filename.zip

Note  

  • This command sends the action to content servers.
  • This is an administrative action that can only be sent from IDOL Server's AdminClients (which are set in the IDOL Server configuration file's [Server] section).
  • This restore command should be executed in SAA (Smart Analytics Assistant).