Difference between revisions of "Help:Wiki Maintenance"
From Beyond Social
(Created page with "=Wiki Backups= Backups are performed by backupninja Configurations can be checked/edited/tested with <code>sudo ninjahelper</code> Or edited manually with <code>???</code>...") |
|||
(3 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''' | ||
− | |||
<code> | <code> | ||
when = Monday at 01 | when = Monday at 01 | ||
+ | |||
backupname = beyond-social | backupname = beyond-social | ||
+ | |||
backupdir = /var/backups/tar/beyond-social | backupdir = /var/backups/tar/beyond-social | ||
+ | |||
compress = bzip | compress = bzip | ||
+ | |||
includes = /var/www/html/wiki/LocalSettings.php /var/www/html/wiki/images | includes = /var/www/html/wiki/LocalSettings.php /var/www/html/wiki/images | ||
</code> | </code> | ||
− | 2 beyondsocial.tar | + | '''2 beyondsocial.tar''' |
+ | |||
<code> | <code> | ||
sqldump = yes | sqldump = yes | ||
+ | |||
backupdir = /var/backups/mysql | backupdir = /var/backups/mysql | ||
+ | |||
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