This shows you the differences between two versions of the page.
| 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: | ||
| </ | </ | ||
| + | **Make sure that you have made backup of the files** | ||
| + | < | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| + | **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. | ||
| < | < | ||
| - | pg_dump --verbose --inserts --file=aim.dump aim | + | ~~codedoc: |
| - | pg_dump --verbose --inserts --file=provider.dump provider | + | ~~codedoc: |
| </ | </ | ||
| + | [<>] | ||