- Backup of MariaDB/MySQL-database.
- Ping-checker for connectivity testing/verifying.
- Config for NTP
- For utilities regarding OL events, OLA and MeOS see INSTALL
- To download the files, see https://github.com/sdaaish/OL-event/releases
Takes a backup of a MariaDB or MySQL database with regular intervals. <mysqldb-backup.cmd>
shell> mysqldump db1 > dump.sql
shell> mysqladmin create db2
shell> mysql db2 < dump.sql
You can load the dump file back into the server like this:
shell> mysqldump db_name > backup-file.sql
shell> mysql db_name < backup-file.sql
mysqldump -u username -p -all-databases > file.sql
mysqldump -u username -p -all-databases | gzip > file.sql.gz
mysql -u username -p < file.sql