Skip to content

Instantly share code, notes, and snippets.

View tousif1504's full-sized avatar

tousif tousif1504

  • bangalore
View GitHub Profile
@tousif1504
tousif1504 / cron-sendy-backup
Created October 10, 2020 10:37 — 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