docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec -u sogo sogo-mailcow sogo-tool restore -F ALL /etc/sogo user@example.org

Category: Mail Servers & Postfix

docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec -u sogo sogo-mailcow sogo-tool restore -F ALL /etc/sogo user@example.org

Restore a SOGo user's calendar and contacts

sogo-tool restore imports the backup files found in /etc/sogo for the given user, overwriting that user's current SOGo data. SOGo is the groupware suite providing calendars and contacts in Mailcow. Run the matching backup first and confirm the user is the right one, because the restore is destructive.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.