Tag: mysql

a nullvoid blog

MySQL/MariaDB Backup Cron 1-liner

Here’s a quick one-liner you can put in your crontab to dump and compress a MySQL or MariaDB database and keep the previous backup. Adjust accordingly. This will run at 5AM every day, rename the old backup filename and dump and gzip the new backup. Note there is no space between -p and your password.…
Read more