diff options
Diffstat (limited to 'files/backup/CentOS/mysql_backup.cron')
-rw-r--r-- | files/backup/CentOS/mysql_backup.cron | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/files/backup/CentOS/mysql_backup.cron b/files/backup/CentOS/mysql_backup.cron new file mode 100644 index 0000000..fed14fb --- /dev/null +++ b/files/backup/CentOS/mysql_backup.cron @@ -0,0 +1 @@ +00 01 * * * root /usr/bin/mysqldump --all-databases --all | gzip > /var/lib/mysql/mysqldump.sql.gz && chmod 600 /var/lib/mysql/mysqldump.sql.gz |