email: Backup/restore aliases and mailboxes

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2022-01-29 11:40:56 -08:00 committed by James Valleroy
parent 2c044db25c
commit 3b5091cbc3
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -62,13 +62,15 @@ clients = [
backup = {
'data': {
'files': ['/etc/aliases', ],
'directories': [
'/var/lib/plinth/mailsrv',
'/var/spool/postfix/fbx-managed',
'/etc/postfix',
'/etc/dovecot',
'/etc/rspamd',
'/var/lib/rspamd',
'/var/spool/postfix/fbx-managed/',
'/etc/postfix/',
'/etc/dovecot/conf.d/',
'/etc/rspamd/',
'/var/lib/postfix/freedombox-aliases/',
'/var/lib/rspamd/',
'/var/mail/',
]
},
'services': ['postfix', 'dovecot', 'rspamd']