Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
debian_common [2024/03/12 08:38] โ [Enable colorful terminal] Jรบne Park | debian_common [2024/03/19 11:30] โ [Watchlist for backup] Jรบne Park | ||
---|---|---|---|
Line 40: | Line 40: | ||
/ | / | ||
</ | </ | ||
- | **MariaDB** '' | ||
+ | **update-motd** | ||
+ | <code bash> | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | **crontab** | ||
+ | <code bash> | ||
+ | sudo crontab -l | ||
+ | sudo -u www-data crontab -l | ||
+ | crontab -l | ||
+ | </ | ||
+ | |||
+ | **MariaDB** '' | ||
=== Backup MariaDB DATABASE === | === Backup MariaDB DATABASE === | ||
Line 50: | Line 62: | ||
---- | ---- | ||
- | ---- | ||
=== Backup using rsync command === | === Backup using rsync command === | ||
Line 64: | Line 75: | ||
---- | ---- | ||
+ | === Remote backup for webpages === | ||
+ | Rsync with '' | ||
+ | <code bash> | ||
+ | sudo -u www-data rsync -azP --exclude ' | ||
+ | </ | ||
+ | Put '' | ||
+ | ---- | ||
==== Configure log files ==== | ==== Configure log files ==== | ||