Difference between revisions of "Help:Wiki Maintenance"
From Beyond Social
Line 30: | Line 30: | ||
databases = beyondsocial2019 beyondsocialcargo | databases = beyondsocial2019 beyondsocialcargo | ||
</code> | </code> | ||
+ | |||
+ | == Backup frequency == | ||
+ | when = Monday at 01:00 | ||
+ | |||
+ | |||
+ | == Configuration files/dirs == | ||
+ | |||
+ | logfile = /var/log/backupninja.log | ||
+ | |||
+ | configdirectory = /etc/backup.d | ||
+ | |||
+ | |||
==Remote backups== | ==Remote backups== | ||
− | + | <code> | |
+ | when = Monday at 04 | ||
+ | |||
+ | keep = 180D #6month | ||
+ | |||
+ | include = /var/backups | ||
+ | |||
+ | [dest] | ||
+ | type = remote | ||
+ | |||
+ | directory = /home/andre/backup/beyond-social | ||
+ | |||
+ | host = chichi | ||
+ | |||
+ | user = andre | ||
+ | </code> |
Revision as of 09:49, 4 May 2019
Wiki Backups
Backups are performed by backupninja
Configurations can be checked/edited/tested with sudo ninjahelper
Backups actions:
1 beyondsocial.tar
when = Monday at 01
backupname = beyond-social
backupdir = /var/backups/tar/beyond-social
compress = bzip
includes = /var/www/html/wiki/LocalSettings.php /var/www/html/wiki/images
2 beyondsocial.tar
sqldump = yes
backupdir = /var/backups/mysql
databases = beyondsocial2019 beyondsocialcargo
Backup frequency
when = Monday at 01:00
Configuration files/dirs
logfile = /var/log/backupninja.log
configdirectory = /etc/backup.d
Remote backups
when = Monday at 04
keep = 180D #6month
include = /var/backups
[dest]
type = remote
directory = /home/andre/backup/beyond-social
host = chichi
user = andre