Skip to content

Commit

Permalink
add snapshot to doku
Browse files Browse the repository at this point in the history
  • Loading branch information
drscream committed Oct 10, 2024
1 parent fef1e75 commit ad46b71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/sogo-upgrade-to-pgsql-14.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ Please follow these steps to backup, restore and upgrade your SOGo database sche
su - sogo
pg_dump > /var/pgsql/backup/dump.sql

3. Stop PostgreSQL and delete the complete databases.
3. Stop PostgreSQL, create snapshot and delete the complete databases.

svcadm disable postgresql
zfs snapshot zfs snapshot zones/$(mdata-get sdc:uuid)/data/pgsql@migrate-to-pgsql14
rm -rf /var/pgsql/data

4. Reprovision with the latest image contains PostgreSQL version 14. If a dump.sql file exists in the backup folder no SOGo service will start!
Expand Down

0 comments on commit ad46b71

Please sign in to comment.