Info |
---|
When migrating the CloudCX Application for any reason, it is essential to review this document beforehand to maintain data integrity. The subsequent sections offer comprehensive insights into the necessary preparations and implementation steps. |
...
Info |
---|
The file paths operated by the following commands are all sample paths. Please replace them with the actual installation path when implementing them |
Preparation work
Perform the following commands as root to stop & rm the current CX Docker instance on an older machine (Name as A):
Bash |
...
You can execute the following command on Server-A to view the basic space occupied by the current CX service data.
Bash |
Compress CX data on Server-A to prepare for migration - make sure Server-A has enough disk size to store the new compressed files.
Bash |
...
The following will use the scp
command as an example to illustrate.
Start migration
1. Create the same CX service installation path on Server-B as on Server-A
Bash |
2. Enter the installation path in Server-B and start copying backup files
Bash |
3. Decompress the backup file under the installation path of Server-B
Bash |
4. Run the script on Server-B to start restoring data and services
Bash cd /opt/cloud_cx && docker compose up -d |
5. Done!
Migration has been successfully completed! We invite you to review the updated situation.
...