Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions web-ui/hub_administration/backup-and-restore.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```