From 83de94b2fde46586a6ff011e517954c667f86ef7 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Thu, 29 Jan 2026 10:30:17 -0600 Subject: [PATCH] Adjusted backup and restore commands to use long arguments and dbname where needed (cherry picked from commit 9a0dab57a2ab3be100f24cfcac9225520cde29e9) --- .../hub_administration/backup-and-restore.markdown | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web-ui/hub_administration/backup-and-restore.markdown b/web-ui/hub_administration/backup-and-restore.markdown index 4b24d95c4..ff5db0b89 100644 --- a/web-ui/hub_administration/backup-and-restore.markdown +++ b/web-ui/hub_administration/backup-and-restore.markdown @@ -42,13 +42,13 @@ restore the history of policy outcomes you must backup and restore. **Backup:** ```command -pg_dump -Fc cfdb > cfdb.bak +pg_dump --format=c cfdb > cfdb.bak ``` **Restore:** ```command -pg_restore -Fc cfdb.bak +pg_restore --format=c --dbname=cfdb cfdb.bak ``` ### Mission Portal @@ -59,13 +59,13 @@ pg_restore -Fc cfdb.bak **Backup:** ```console -# pg_dump -Fc cfmp > cfmp.bak -# pg_dump -Fc cfsettings > cfsettings.bak +# pg_dump --format=c cfmp > cfmp.bak +# pg_dump --format=c cfsettings > cfsettings.bak ``` **Restore:** ```console -# pg_restore -Fc cfmp.bak -# pg_restore -Fc cfsettings.bak +# pg_restore --format=c --dbname=cfmp cfmp.bak +# pg_restore --format=c --dbname=cfsettings cfsettings.bak ```