Click here for "Error Codes for Commercial Air Conditioners".

AlmaLinux 8.6 : System Backup and Restore

1. Website data backup

1-1. Backup under /var/www/html

①Create backup script file

backup_html.shの内容

➁authorization

➂Create save directory
④Periodic execution
Add settings to cron for periodic backups

2. MySQL database backup

①Creating backup script files

➁authorization

➂Create save directory
④Periodic execution
Add settings to cron for periodic backups

3.Restore backup files under html

① Store HTML backup files in "/" (root) directory

➁Expand file

4. Restore Mysql Backup Files

①Save the database backup file to any directory
(In the example, the directory is "/var/www/backup/db_bak".)
Unzip data

➁Restore MySQL
タイトルとURLをコピーしました