Click here for "Safe Air Conditioner Repair and Proper Freon Recovery".

MiracleLinux8.4 ; System Backup & Restore

Web configuration file (under html) backup

①Create a backup script file under html

Contents of html_backup.sh

Create and authorize backup storage directories

②Execute backup process.
③Add configuration to cron and backup periodically

MySQL database backup

①Create a backup script file
Contents of db_my_backup.sh
Create and authorize backup storage directories

②Execute backup process.
③Add configuration to cron and backup periodically

Restore web configuration files (under html)

① Store the HTML backup files used for the restore in the server's "/ (root)" directory.
(root) directory of the server.

②Extract the file

Restore MySQL data

① Save the database backup file to any directory.
② Restore MySQL
Copied title and URL