Apache Guacamole backup and restore
Preserve JDBC-managed accounts, permissions and connections plus the deployment’s configuration and any file-based recording or transfer content.
Last updated
On this page (5)
Apache Guacamole · Backup and restore
Before you start
- Guacamole using PostgreSQL JDBC authentication.
- Matching Guacamole/JDBC versions.
- Fresh test database and an isolated endpoint allowlist.
Procedure
- Pause web writers and run
pg_dump -Fc -f guacamole.dump <source_db>with the deployed connection details. - Archive
GUACAMOLE_HOMEcustom config/extensions or Docker environment and mounted files. Inventory recording or transfer paths separately if configured; the JDBC dump is not a recording archive. - Run
pg_restore --exit-on-error -d guacamole_test guacamole.dumpin an empty database with matching roles. Restore config and mounts and point the test web app at the recovery DB and test guacd; do not run the JDBC initialization scripts over the restored database.
Verify the result
- Check users, groups, connection definitions and permissions against known values.
- Use a designated recovery-only connection for a test session; confirm no production destinations can be reached.
