From 5fc2ae12fec7dffa604a8e025108633445f8e77d Mon Sep 17 00:00:00 2001 From: Jamil Date: Fri, 24 Jun 2022 16:47:31 -0700 Subject: [PATCH] Update running-sql-queries.md --- docs/docs/administer/running-sql-queries.md | 29 ++++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/docs/docs/administer/running-sql-queries.md b/docs/docs/administer/running-sql-queries.md index 571b6a4e0..cc2db20fb 100644 --- a/docs/docs/administer/running-sql-queries.md +++ b/docs/docs/administer/running-sql-queries.md @@ -20,19 +20,6 @@ used from the local shell like so: -c "SQL_STATEMENT" ``` -In addition, the `pg_dump` utility is also bundled; this can be used to take -consistent backups of the database. To dump a copy of the database in the -standard SQL query format execute it like this (replace `/path/to/backup.sql` -with the location to create the SQL file): - -```shell -/opt/firezone/embedded/bin/pg_dump \ - -U firezone \ - -d firezone \ - -h localhost \ - -p 15432 > /path/to/backup.sql -``` - This can be useful for debugging or troubleshooting purposes. It can also be used to modify Firezone configuration data, but **this can have unintended consequences**. We recommend using the UI (or upcoming API)