Difference between revisions of "MariaDB"
Line 2: | Line 2: | ||
= Database Maintenance and Monitoring script = | = Database Maintenance and Monitoring script = | ||
+ | |||
+ | == Backup & Restore == | ||
+ | <pre> | ||
+ | sudo mariabackup --backup \ | ||
+ | --user=root \ | ||
+ | --password=P@ssw0rdINDO7Kali \ | ||
+ | --target-dir=/home/backup/db | ||
+ | |||
+ | sudo mariabackup --prepare \ | ||
+ | --target-dir=/home/backup/db | ||
+ | </pre> | ||
== Monitor Index status dan size for optimization == | == Monitor Index status dan size for optimization == |
Revision as of 05:32, 17 April 2022
Contents
Introduction
Database Maintenance and Monitoring script
Backup & Restore
sudo mariabackup --backup \ --user=root \ --password=P@ssw0rdINDO7Kali \ --target-dir=/home/backup/db sudo mariabackup --prepare \ --target-dir=/home/backup/db