Difference between revisions of "Help:Wiki Maintenance"
From Beyond Social
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Configurations can be checked/edited/tested with <code>sudo ninjahelper</code> | Configurations can be checked/edited/tested with <code>sudo ninjahelper</code> | ||
| − | |||
| − | + | == Backups actions: == | |
| − | 1 beyondsocial.tar | + | '''1 beyondsocial.tar''' |
<code> | <code> | ||
| Line 22: | Line 21: | ||
</code> | </code> | ||
| − | 2 beyondsocial.tar | + | '''2 beyondsocial.tar''' |
<code> | <code> | ||
| Line 31: | Line 30: | ||
databases = beyondsocial2019 beyondsocialcargo | databases = beyondsocial2019 beyondsocialcargo | ||
</code> | </code> | ||
| + | |||
| + | == Backup frequency == | ||
| + | * 3 beyondsocial.tar: Monday at 01:00 | ||
| + | * 2 beyondsocial.tar: Monday at 01:00 | ||
| + | * 1 backup2remote.rdiff: Monday at 04: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> | ||
Latest revision as of 09:53, 4 May 2019
Contents
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
- 3 beyondsocial.tar: Monday at 01:00
- 2 beyondsocial.tar: Monday at 01:00
- 1 backup2remote.rdiff: Monday at 04: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