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

OracleLinux8.6 : 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

④scheduled execution

Add settings to cron for periodic backups

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
タイトルとURLをコピーしました