бэкапы

This commit is contained in:
2026-08-03 00:24:06 +04:00
parent c25304919c
commit 9e36265f81
8 changed files with 335 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
15 0,8,16 * * * root /root/moonwell-web/scripts/backup-databases.sh >> /var/log/moonwell-database-backup.log 2>&1
+10
View File
@@ -0,0 +1,10 @@
/var/log/moonwell-database-backup.log {
weekly
rotate 8
compress
delaycompress
missingok
notifempty
copytruncate
create 0640 root adm
}