To prevent data loss, periodically back up the data server files to a backup directory.
If there is a problem with the computer on which the data server resides or if the files become corrupted, you can roll back to a previous version by using the backup files. You can also store snapshots of knowledge bases and decision plans in the backup directory. If the current knowledge base or decision plan is corrupted, you can replace it with a backed up copy.
To configure periodic backups, use the DataServerParameters -Register command with these parameters:
You can view the current backup parameters before you change them. The output displays the data server directory, the data server port, the backup directory, the number of hours that elapse between backups, how many generations (snapshots) of the knowledge bases and decision plans are to be maintained, and the number of days that elapse between knowledge base and decision plan generations.
DataServerParameters -View
./DataServerParameters.sh -View
If you change the parameters for backing up the data server, you must restart the server for your changes to take effect.
DataServerParameters.bat -Register data_server_directory data_server_port_number backup_directory hours_between_backups generation_count generation_days
For example: DataServerParameters -Register C:\IBM\ContentClassification\dserverdir 18086 D:\Backup 2 5 4
./DataServerParameters.sh -Register data_server_directory data_server_port_number backup_directory hours_between_backups generation_count generation_days
For example: ./DataServerParameters.sh -Register /usr/IBM/ContentClassification/dserverdir 18086 /usr/IBM/ContentClassification/Backup 2 5 4
DataServerParameters -Register data_server_directory data_server_port_number none 0 0 0
./DataServerParameters.sh -Register data_server_directory data_server_port_number none 0 0 0