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

  1. Pause web writers and run pg_dump -Fc -f guacamole.dump <source_db> with the deployed connection details.
  2. Archive GUACAMOLE_HOME custom config/extensions or Docker environment and mounted files. Inventory recording or transfer paths separately if configured; the JDBC dump is not a recording archive.
  3. Run pg_restore --exit-on-error -d guacamole_test guacamole.dump in 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.

Official documentation

Have Pilae operate Apache Guacamole

We agree what to monitor, how to recover and who responds when something breaks. Bring your existing deployment or start with a new one.