If both the original FineOps server and the project servers fail and you cannot restore the project through the original FineOps instance, you, the admin, can use a full backup of the containerized project to create a project on the target nodes and restore service. This process does not depend on the project or node records stored in the original FineOps instance.
Disaster recovery requires a complete backup saved before a failure occurs. You cannot create a backup from servers that have already failed.
Regularly perform full backups of the containerized projects you need to protect. After each backup is complete, package all its files and accompanying metadata into an archive and store a separate copy. This ensures that a complete backup is available for restoration if a problem occurs.
1. Log in to the target FineOps instance as the admin and go to Project Management.
2. Click Setting and switch to Advanced Setting.
3. Enable Disaster Recovery and click Save.
1. Log in to the target FineOps instance as the admin, go to Project Management, and select the project you want to back up.
2. Choose Maintenance > Backup Management, tick Image Backup, and click Start Backup.
You can also use Automatic Backup to back up the project on a schedule. For details, see Project Backup.
1. Check the backup storage location on the Backup Management page.
2. On the FineOps server, go to the backup storage location and inspect the folder created for this backup.
The folder must contain a readable backup_files_metadata.json file and every backup file listed in it. Do not modify the file contents, file list, or checksums.
This JSON file records the source FineOps version, nodes, container configurations, and file list. FineOps uses this information to recreate the project and verify file integrity.
3. Package the entire backup folder into a .tar.gz or .tgz archive.
Go to the backup directory:
cd /home/ops/fanruan_188c48a4/ops/resources/backup/
Package the backup folder:
tar -czvf Backup file folder name.tgz Backup file folder name
4. Store the backup archive off-site.
You are advised to store the backup on a secure server that is independent of both the project and FineOps. This ensures that you can still use it to restore the project if the project servers or the FineOps server fail.
Before uploading a backup to restore a project after a failure, manually check the backup and target environment as the admin.
The current FineOps version must exactly match the version of FineOps used to create the backup.
The current FineOps image repository must contain, or be able to obtain, all images required by the backup. The project servers must be able to pull these images and communicate with the target FineOps instance.
Missing images cause backup validation to fail. Connectivity issues affect deployment.
Prepare a corresponding server for each node in the backup.
For example, if the backed-up project has two main application nodes and one component node, prepare three servers as project nodes before starting disaster recovery.
Prepare servers with CPU architectures that match the corresponding nodes in the backup.
For example, if a backed-up project node uses amd64, you cannot use an arm64 server to restore that node.
For example, if the Redis component in the backed-up project uses port 8089, you must ensure port 8089 is available for disaster recovery.
You are advised to prepare the servers according to the server resource requirements for deploying a project.
Check the server memory, CPU, disks, data directories, host addresses, SSH ports, and authentication information, among other requirements.
Reserve additional disk space for extracting the backup and storing the restored data. Do not size the disks based solely on the archive size.
2. Click Disaster Recovery and check the upload location for disaster recovery files.
3. Upload the complete backup archive prepared in the "Packaging and Storing the Backup" section to this location.
1. After the file transfer is complete, return to the Disaster Recovery dialog and click Refresh List.
2. Available backups appear in the list with their archive names, sizes, and backup times.
3. Select the backup and click Start Validation. FineOps checks backup compatibility, file integrity, and image availability.
All validation checks must pass. If any condition is not met, validation fails. You can proceed to Node Configuration only after every check has passed.
If this metadata is missing or corrupted, the backup cannot be used. Obtain another complete full backup that includes disaster recovery information.
The current FineOps version must exactly match the FineOps version in use when the backup was created.
If the versions differ, use a target FineOps instance that matches the source version and supports disaster recovery.
Application node IDs and component node IDs in the backup must not conflict. Every node referenced by a container must exist, and every declared node must be used by a container.
If this check fails, the backup cannot be used. Obtain another backup or contact technical support for assistance.
Each source node in the backup must have a recognizable architecture value.
FineOps recognizes x86_64 and x64 as amd64, and aarch64 as arm64.
No backup files may be missing, and no extra files may be present. The file count, sizes, and SHA-256 digest must match the metadata. Missing checksums also cause validation to fail.
If this check fails, transfer the original complete backup again. Do not modify the file list or digest.
The images referenced by the backup must be available in the current image repository.
If any images are missing, ask the image repository admin to add them, then validate the backup again.
1. Go to the Node Configuration step. Based on the original project configuration in the backup, the page shows how many nodes are still needed and the role and CPU architecture of each source node.
2. Click Add Node to open Node Setting.
3. Enter the target node information according to the source node you want to restore.
4. Click Test Connection.
5. After the connection succeeds, check the mounting paths in the prompt and click OK.
6. Repeat these steps for each remaining source node to complete the node configuration.
7. Check the target IP addresses, ports, node types, and Source Node Slot values in the list. Ensure that each source node has exactly one target host.
8. Click Next to submit the node configuration.
FineOps checks again that all nodes have been mapped, no target host is used more than once, CPU architectures match, and the required component ports can be bound on the target hosts.
The restoration task is ready to run only after the entire node configuration passes validation. A successful connection test for one node does not mean that the full node configuration has passed.
1. Go to the Restoration step and enter a project name. The name can contain Chinese characters, uppercase and lowercase letters, and digits, with a maximum length of 50 characters.
2. Check the project components to be restored.
3. Click Restore and wait for the project to be restored. You can view the task progress and logs during restoration.
FineOps deploys O&M agents on the target nodes, pulls images, transfers and extracts the backup, and recreates and starts the containers.
The O&M plugin updates the project's identity and confirms the update with the target FineOps instance.
Go to Project Management as the admin to view the newly restored project.
The project retains the login information, templates, configurations, and required data from the backed-up project.
The project receives a new project ID, application ID, container prefix, and communication key.
Carefully check the restored project and ensure that it is usable.
1. Does having a full backup guarantee that disaster recovery is possible?
Not necessarily.
You can proceed with disaster recovery only if the full backup contains complete disaster recovery information, passes file and image validation, and was created with the same FineOps version as the target instance.
Older backups may not appear in the disaster recovery backup list even if they can be used for standard restoration.
2. Can I merge multiple source nodes onto one target server?
No.
Each source node slot must be assigned a unique target host. You cannot use the same host for multiple slots.
Each target node must also match the role and CPU architecture of its corresponding source node.
3. Does disaster recovery overwrite the original project or reuse its identity?
Disaster recovery creates a project with a new identity. It does not overwrite the source project or reuse the application IDs of the backed-up project.
4. Does closing the window stop the restoration task?
Closing the wizard does not stop the background task. Reopen the wizard to view the current task status and logs.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy