summaryrefslogtreecommitdiff
path: root/files/backup
diff options
context:
space:
mode:
Diffstat (limited to 'files/backup')
-rw-r--r--files/backup/CentOS/mysql_backup.cron1
l---------files/backup/mysql_backup.cron1
2 files changed, 2 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
diff --git a/files/backup/mysql_backup.cron b/files/backup/mysql_backup.cron
new file mode 120000
index 0000000..7241624
--- /dev/null
+++ b/files/backup/mysql_backup.cron
@@ -0,0 +1 @@
+CentOS/mysql_backup.cron \ No newline at end of file