Skip to main content

Auto Save

July 21, 2025

The following shows the “Auto Save” tab under System Settings > Advanced. Default setting of Auto Save feature is disabled, you can slide the switch to the right to enable it.

Auto Save

When this feature is enabled, the system will automatically save all the settings in this server to the Ahsay License Server daily between 5:00 to 7:00 AM, so you can restore those settings in the future when needed.

  • The Auto Save feature is NOT supported for either Evaluation license keys or expired license keys. If the license is expired, neither backup nor restore will be supported, and there will be “LicenseError” in “Monitoring > Backup / Restore Logs > Activities Log” showing “[disableConfArchival] License maintenance and support period has expired”.
  • Maximum of 30 snapshots will be created and saved in the Ahsay License Server. When over 30, the 31st snapshot will overwrite the 1st one. The size limit for each snapshot uploaded to Ahsay License Server is 50MB, there will be “RoutineJobError” of “The size of “filename” is larger than 50MB.” when the snapshot exceeds the size limit.
  • There are two snapshots created, one configuration and one branding, which will be stored in the local drive with directory of “%AhsayCBS_INSTALL%\AhsayCBS\conf\Backup\dr-YYYY-MM-DD_Branding.zip” and “%AhsayCBS_INSTALL%\AhsayCBS\conf\Backup\dr-YYYY-MM-DD_Configuration.zip”. Maximum of 25 snapshots can be saved in the local drive, so when over 25, the 26th snapshot will overwrite the 1st one. You can check whether there is an automatic delete process by searching the logs for “[ConfigurationArchival.removeLocalBkp] Removed configuration backup file(s) [filename.zip] locally.” in the AhsayCBS web console > Monitoring > Backup/ Restore Logs > Activities Log.
To check the Auto Save daily job status
  1. Click the Backup / Restore Logs under “Monitoring” from your AhsayCBS environment.

    Backup / Restore Logs

  2. Click Activities Log to find the according system log.

    Activities Log

  3. Search for the log message “[Job][CustomDailyJob][ConfigurationArchival] Starting configuration archival” and “[Job][CustomDailyJob][ConfigurationArchival] End: configuration archival” with timestamp being around 05:00:00.

    Auto Save Sample Log Message

  4. If the job is finished with no “RoutineJobError”, the Auto Save job has finished successfully.

The following system configuration files will be saved on the cloud daily by the auto save system job.

Server Configuration
Description Path
Connector setting file /conf/server.xml
CBS option files /conf/afc.opt
/conf/cbs.opt
Runtime setting file /conf/cbssvc.ini
Default certificate files /conf/ca.crt
/conf/ssl.crt
/conf/ssl.key
CBS setting file /conf/cbs.json
Redirector configuration file /conf/lfsConfig.xml
CBS Configuration
Description Path
Backup Server setting file /conf/obs.json
License files /conf/lic.json
/conf/license.xml
CBS option file /conf/cbs.opt
CBS database file /conf/cbs.db
Autoupdate index (pre-v10.1) /conf/autoUpdate.bdb
Replication configuration file /conf/rpsSend.xml
RPS Configuration
Description Path
Replication configuration files /conf/rps.xml
/conf/rpsRecv.xml
/conf/rps-recv.json
/conf/rps.json
RDR Configuration
Description Path
Redirection configuration files /conf/rpdr.xml
/conf/rdr.json
License files /conf/rdr-lic.json
/conf/rdr-license.xml
CBS User Profile
Description Path
Users' profile /conf/users.xml
Others
Description Path
User group definition /system/obs/policies/userGroup.xml
Policy group definition /system/obs/policies/policyList.xml
SSL Certificate directory /conf/cert/*.*
Restore Process
  1. Click the Restore button.

    Restore

  2. Choose which operation you want to make.

    Restore Options

  3. Select the date of the system settings backup from the drop-down list.

    Upload Date

  4. Select the type of configuration that you want to restore.

    Files to Restore

  5. Click Restore to start the restore.
     
    • If Download configuration files is clicked, the configuration file dr-YYYY-MM-DD_Configuration.zip” will be downloaded and you can manually restore the configuration file.

      Configuration File in zip format

      1. Extract the .zip configuration file.

        Extracted zip file

      2. Copy the contents of “conf” folder to “%AhsayCBS_INSTALL%\AhsayCBS\ conf”.
      3. Copy the contents of “policies” folder to “%AhsayCBS_INSTALL%\AhsayCBS\ system\obs\policies”.
      4. Restart the AhsayCBS service.

      Refer to the article Recover users.xml File on AhsayCBS for further details on this feature.

    • If Overwrite existing configuration files is clicked, the backed up configuration file will overwrite the existing configuration file.

      Please kindly note that if Overwrite existing configuration files option is chosen, the backed up configuration file will automatically overwrite the existing configuration file and the process cannot be canceled.
      1. After the restore process, the interface will skip back to the previous page. Click and to save and exit.
      2. Click Administration Logs under "Monitoring".

        Administration Logs

      3. Click Activities Log to find the according system log.
      4. Search for the log message “Starting configuration recovery” and “Finished configuration recovery” with timestamp being starting restore operation time, which means the restore process is finished successfully.
      5. Restart the AhsayCBS service.