Sunil Mohan Adapa 90df34df86
zoph: Include dbconfig configuration file in backup
- This will ensure that dbconfig is every triggered and regenerates the
configuration/setup, everything is consistent.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-03-31 20:48:11 -04:00

25 lines
490 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
from django.utils.translation import gettext_lazy as _
clients = [{
'name': _('Zoph'),
'platforms': [{
'type': 'web',
'url': '/zoph/',
}]
}]
backup = {
'data': {
'files': ['/var/lib/plinth/backups-data/zoph-database.sql'],
'directories': ['/var/lib/zoph/']
},
'secrets': {
'files': [
'/etc/zoph.ini',
'/etc/dbconfig-common/zoph.conf',
],
}
}