Skip to content
中文

Backup Process

  1. Configuration File Backup

    Backup FinClip configuration file, adjust path according to version

    bash
    cp /data/finclip-installation/<current-version> /data/backup/
  2. Data Backup

    Backup system database and storage services (MySQL and MinIO) by performing the following operations:

    MySQL Database Backup

    bash
    mysqldump -h <mysql_host> -u <user> -p<password> --all-databases > /data/backup/mysql-backup-$(date +%Y%m%d%H%M%S).sql

    MinIO Data Backup

    Use MinIO client (mc) to backup storage data:

    bash
    mc alias set myminio http://<minio_host> <access_key> <secret_key>
    mc mirror myminio/<bucket_name> /data/backup/minio-backup-$(date +%Y%m%d%H%M%S)

Rollback Process

  1. View Historical Versions

    Login to the server containing kubectl and helm tools, execute the following command to view deployment history:

    bash
    helm history finclip -n finclip
  2. Select Rollback Version

    Review the historical version output and find the version number to roll back to, typically the previous version before the current one (version before deployed status).

Rollback

  1. Execute Rollback Operation

    Use the following command to execute rollback:

    bash
    helm rollback finclip <version_number> -n finclip

    Note: Replace <version_number> with the version number to roll back to.

  2. Verify Rollback Result

    Verify Pod status

    bash
    kubectl -n finclip get pod

    Ensure all Pods have STATUS as Running.

Digital Ecosystem Infrastructure.