#!/bin/sh # Credentials for a MariaDB user with the following grant: # GRANT SELECT, LOCK TABLES, SHOW VIEW, SHOW DATABASES, EVENT, TRIGGER, EXECUTE ON *.* TO 'user'@'localhost'; mariadb_user="username" mariadb_pass="password" # Path to where to storage the finished archives. Obviously you should move these to a more permanent location afterwards. db_backups_depot="/path/to/backup/storage"