You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uupdates the documentation with new content for monitoring metrics and enhances the backup/restore instructions for the OpenRemote database.
- Added a comprehensive metrics table for various container components in the user guide
- Enhanced backup instructions with additional options and removed outdated steps in the developer guide
- Introduced a new Bash section demonstrating how to set up an SSH tunnel for accessing HAProxy stats
* Optional: Exclude datapoint records from the backup using the following command: `docker exec or-postgresql-1 pg_dump -Fc openremote -f /tmp/db.bak --exclude-table-data='_timescaledb_internal._hyper_*'`
44
45
* Copy to the Docker host: `docker cp or-postgresql-1:/tmp/db.bak ~/`
45
-
* SCP the backup off the source server onto the destination server
46
+
* Remove the backup from within the container: `docker exec or-postgresql-1 rm /tmp/db.bak`
47
+
* SCP the backup off the source server onto the destination server: e.g. `scp <HOST>:~/db.bak .`
46
48
* On the destination server stop the manager and Keycloak containers and any project specific containers that are using the DB: `docker stop or-manager-1 or-keycloak-1`
47
49
* Copy backup into the postgresql container: `docker cp db.bak or-postgresql-1:/tmp/`
48
50
* Drop existing DB: `docker exec or-postgresql-1 dropdb openremote`
@@ -139,6 +141,13 @@ mv -v data/old/* $PGDATA
139
141
rm -r data/new data/old
140
142
```
141
143
144
+
## Bash
145
+
### SSH tunnel for proxy stats
146
+
HAProxy stats web page is only accessible on localhost in our default config, this can be tunnelled to your local machine to allow access at http://localhost:8404/stats:
0 commit comments