User Tools

Site Tools


maintenance:update:02-backup

Backup configuration

Stop the services

systemctl stop tomcat9.service
systemctl stop aducid-aaa.service
systemctl stop httpd.service

Backup the following files and directories

/opt/tomcat/conf/ADUCID.properties
/opt/tomcat/webapps/*.*
/opt/aaa/conf/*.*

Make sure that you have made backup of the files

/opt/aaa/conf/aducid-aaa.conf
/opt/aaa/conf/aducid-aim.conf

at least, because these files are replaced by the upgrade process.

Backup database

Example of backup PostgreSQL database. Console is connected directly to the DB server.

pg_dump --verbose --inserts --file=aim.dump aim
pg_dump --verbose --inserts --file=provider.dump provider

maintenance/update/02-backup.txt · Last modified: 2020/03/26 08:11 by mpospisek