Skip to content

Instantly share code, notes, and snippets.

View regain001's full-sized avatar
❤️
Do you ever ask yourself what's the meaning of life? visit : shorturl.at/iozP2

A BELIEVER (Hossain Mukbul) regain001

❤️
Do you ever ask yourself what's the meaning of life? visit : shorturl.at/iozP2
View GitHub Profile
@regain001
regain001 / cron-sendy-backup
Created December 22, 2022 23:16 — forked from nickjj/cron-sendy-backup
An example of creating a database backup and restore script for MySQL, MariaDB and PostgreSQL. It is focused on backing up and restoring a Sendy database (working example from https://www.youtube.com/watch?v=kbCytSYPh0E) but you can apply it for any database with slight modifications.
30 0 * * * root /usr/local/bin/sendy-backup > /dev/null 2>&1