Difference between revisions of "Help:Wiki Maintenance"

From Beyond Social
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
  
  
'''Backups actions:'''
+
== Backups actions: ==
  
1 beyondsocial.tar
+
'''1 beyondsocial.tar'''
  
 
<code>
 
<code>
Line 21: Line 21:
 
</code>
 
</code>
  
2 beyondsocial.tar
+
'''2 beyondsocial.tar'''
  
 
<code>
 
<code>
Line 30: 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

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