External Backup & Restore
Prepare a second YMP server on standby, then make a schedule and copy the backup files manually to an external place. When the primary YMP server breaks down, you can restore backup data to the secondary YMP server.
Scenarios
If a natural disaster occurs in the region where the YMP server and SBC server are set up, you can restore data to a preprepared secondary server in a safe region.
External Backup planning
Prerequisite:
Scheduling local backup on the YMP web interface is a required step before you start to export backup files to another place.
- Prepare a secondary YMP server and a secondary SBC server in a different region.Note: The YMP server should meets the YMP system requirements; The SBC server should meets the SBC system requirements.
- Contact Yeastar to examine the two servers and install an inactivated YMP to the YMP server.
- Make a plan, and export the backup files from YMP server regularly.
- Log in YMP server via SSH.
- Check the backup files.
sudo cd /cloudpbx/backup/system/
- Compress the target backup file. Note: Replace {backup_name} with your target backup file name.
sudo /ysdata/server/yscore/script/coldback.sh /home/coldback.tar.gz /cloudpbx/backup/system/{backup_name}
- Export the compressed file.
sudo sz /home/coldback.tar.gz
- Choose a path to save the file.
Restore a backup to a secondary server
When the primary YMP server breaks down, perform the following operations:
- Place the backup file to the secondary YMP server.
- Contact Yeastar and provide the following information, Yeastar support will
restore the backup.
- SSH user name and password of the secondary YMP serverNote: The user should have
sudo
permission. - Web name and password of the primary YMP server
- SSH user name and password of the secondary YMP server