Click here for "Error Codes for Commercial Air Conditioners".(Japanese Version)

OracleLinux8.8 ; System Backup and Restore

1.Website data backup

1-1 Backup under /var/www/html

Creating backup script files

Contents of backup_html.sh

authorization

Create save directory

Create save directory

2.MySQL database backup

Creating backup script files

authorization

➂Create save directory

④scheduled execution
Add settings to cron for periodic backups

3.Restore backup files under html

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

Expand files

4.Restoring Mysql Backup Files

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

Restore MySQL database

[su_divider divider_color="#0e0474" size="4"

Copied title and URL