chasse20 / Shell-BackupScripts

MySQL FTP backup script designed to be used as a cronjob

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shell-BackupScripts

Backup scripts designed to be used as Cron jobs (tested with Ubuntu 18.04). These scripts will store both local backups and upload via FTP. Includes rotational feature to cycle through and purge older backups.

Invocation must include either "h" for hourly, "d" for daily, "w" for weekly, or "m" for monthly (e.g., sudo ./sql-backup.sh h)

Example Cron Job entry:

0 0 * * 0 /home/cool/sql-backup.sh w

About

MySQL FTP backup script designed to be used as a cronjob

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%