User Tools

Site Tools


maintenance:update:02-backup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
maintenance:update:02-backup [2019/08/22 12:05]
mpospisek created
maintenance:update:02-backup [2020/03/26 08:11] (current)
mpospisek
Line 1: Line 1:
 +~~NOCACHE~~
 ====== Backup configuration ====== ====== Backup configuration ======
 Stop the services Stop the services
Line 14: Line 15:
 </codedoc> </codedoc>
  
 +**Make sure that you have made backup of the files** 
 +<codedoc>
 +/opt/aaa/conf/aducid-aaa.conf
 +/opt/aaa/conf/aducid-aim.conf
 +</codedoc>
 +**at least**, because **these files are replaced by the upgrade process**.  
 ====== Backup database ====== ====== Backup database ======
 +Example of backup PostgreSQL database. Console is connected directly to the DB server. 
 <codedoc> <codedoc>
-pg_dump --verbose --inserts --file=aim.dump aim +~~codedoc:clean:pg_dump --verbose --inserts --file=aim.dump aim~~ 
-pg_dump --verbose --inserts --file=provider.dump provider+~~codedoc:clean:pg_dump --verbose --inserts --file=provider.dump provider~~
 </codedoc> </codedoc>
  
 +[<>]
maintenance/update/02-backup.1566475544.txt.gz · Last modified: 2019/08/22 12:05 by mpospisek