Backup and Restoration

  • Last update: April 09, 2025
  • iconNote:

    For FanRuan projects deployed via FineOps, FineOps provides the Backup Management function, which supports one-click backup, automatic backup, and off-site backup.

    The Backup & Restoration function introduced in this document is not suitable for FanRuan projects deployed via FineOps.

    You are advised to back up and restore projects in FineOps.One-click backup, automatic backup, and off-site backup are supported.One-click restoration and downtime restoration are supported.


    Overview

    Version Description

    VersionFunctional Change

    4.0.13

    Supported backup and restoration of scheduled tasks.

    Application Scenario

    • To ensure sound system upgrades and resource security, you need to back up the system resources.

    • During daily development, you may want scheduled backups of a single scheduled task or all scheduled tasks.

    Function Description

    You can back up and restore platform configurations, FineDataLink tasks, JAR packages, and plugins. You can also update and upgrade the server project online, as shown in the following figure.

    1.3-1.png

    Global Setting

    Log in to the FineDataLink system as the super admin, choose System Management > Intelligent O&M > Backup & Restoration, and click the xx1.pngicon, as shown in the following figure.

    iconNote:
    The xx1.pngicon is only visible to the super admin.

    1744168199299495.png

    The following table describes the setting items.

    Setting Item
    Description

    Backup Path

    The default path is .../backup. The backup file folder exists only in the webroot folder.If you remove the characters (../) when modifying the backup storage path, the backup file folder will be stored only in the WEB-INF folder.

    Backup Frequency

    The default frequency is Every One Week Automatic Backup Once, with the auto backup time set to 2:00 AM.

    Maximum Records

    The default maximum number of automatic backup records per module is five.

    If the maximum number is reached, the system will delete the earliest automatic backup to store the latest backup.

    Backup Capacity

    By default, the maximum disk space occupied by automatic backup records per module is 1024 MB.

    If the disk capacity is full, the system will delete the earliest automatic backup to store the latest backup.

    iconNote:
    Modifications to the maximum number of automatic backup records and backup capacity do not take effect until the next backup is triggered and an automatic detection is performed.

    Content and Location of Backup Files

    Backup files are stored in the /webapps/webroot/backup path of the FineDataLink project, and their specific locations are shown in the following table.

    Folder
    Backup Content

    config

    Platform configuration

    jar

    JAR package

    plugins

    Plugin

    dpworks

    Scheduled task files

    iconNote:

    1. Scheduling configurations are excluded from the backup. If you want to back up and restore scheduled tasks, back up platform configurations at the same time.

    2. After the restoration is complete, the existing scheduled tasks on the platform will be merged with the scheduled tasks in the backup, and the same tasks will be overwritten with the tasks in the backup.

    Take Platform Configuration as an example. The backup files are stored in the /webapps/webroot/backup/config path of the FineDataLink project. The folder name is consistent with the backup method, as shown in the following figure. (The manual folder stores manual-backup files while the auto folder stores auto-backup files.)

    3-1.png

    Platform configuration

    Manual Backup

    Click Manual Backup, customize the backup name in the pop-up dialog box, and click OK to start the manual backup, as shown in the following figure.

    4.1.png

    Auto Backup

    Customize settings such as Backup FrequencyMaximum Records, and Backup Capacity in Global Setting. For details, see section "Global Setting."

    Restoration

    Select a backup file in Manual Backup or Auto Backup, click the QQ20250409-115123.pngicon, and click OK. A prompt saying “Restoration is successful. Restart the server for the restoration to take effect.” will be displayed. You can restart the FineDataLink server, as shown in the following figure.

    4.3.png

    iconNote:

    1. After restoration, the restored version disappears, and the current version is automatically backed up.

    2. Ensure that the server is shut down normally before you restart the server. You cannot forcefully shut down the server, for example, by directly closing the running window in the Tomcat server.

    Deleting Previous Backup

    Select backups to be deleted, click Delete, and click OK to delete previous backups. Deletion operations for automatic backups and manual backups are the same, as shown in the following figure.

    4.4.png

    FDL Task

    The steps to backup and restore tasks are the same as the steps to backup and restore platform configurations. For details, see section "Platform Configuration."

    Backup

    You can back up DP files of scheduled tasks.

    Scheduled tasks are backed up as files in the dpworks folder created in the globally set backup folder (defaulted to the backup folder in the /webapps/webroot path).

    5.1-1.png

    Manual backup path: backup/dpworks/manual.

    Auto backup path: backup/dpworks/auto.

    5.1-2.png

    Restoration

    You can restore DP files of scheduled tasks.

    The system can restore the selected backup task files from the backup directory to .../WEB-INF/dpworks.

    5.2.png

    After restoration and restart:

    • Tasks in the backup but not in the current project will be added to the current project.

    • Tasks in the backup will overwrite the same tasks in the current project.

    • Tasks in the current project but not in the backup will be retained in the project.

    iconNote:

    1. Scheduling configurations are excluded from the backup of scheduled task files. If you want to back up and restore scheduled tasks, back up platform configurations at the same time.

    2. After the restoration is complete, the existing scheduled tasks on the platform will be merged with the scheduled tasks in the backup, and the same tasks will be overwritten with the tasks in the backup.

    JAR package

    The steps to backup and restore JAR packages are the same as the steps to backup and restore platform configurations. For details, see section "Platform Configuration."

    All the JAR packages in the /webapps/webroot/WEB-INF/lib path will be backed up.

    Plugin

    The steps to backup and restore plugins are the same as the steps to backup and restore platform configurations. For details, see section "Platform Configuration."

    Plugin backup and restoration do not require a restart.

     

    Update and Upgrade

    iconNote:
    The function of pushing update and upgrade messages is only applicable to FineOps with the JAR package released on or after 2019-05-20.

    Setting the Message Push

    Automatic Update Push is enabled by default, as shown in the following figure.

    8.1.png

    Update and Upgrade

    1. Log in to the server after a new version is released, view and process the pushed messages, as shown in the following figure.

    8.2-1.png

    2. Click Update Now to update the platform, as shown in the following figure.

    8.2-2.png

    Restarting the FineDataLink Server

    After the update is completed, restart the FineDataLink server.

     


    附件列表


    主题: System Management
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy