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
$ pg_restore -d test -h localhost -U postgres /tmp/hub.dump
59
63
----
60
-
64
+
+
61
65
. Get into the Crunchy Postgres pod.
62
-
.Example: Get into the `test-instance1-m7hh-0` pod
66
+
.Example: Get into the `test-instance1-m7hh-0` pod
63
67
+
64
68
[source,terminal]
65
69
----
@@ -71,22 +75,22 @@ sh-4.4$ psql -U postgres
71
75
psql (14.4)
72
76
Type "help" for help.
73
77
----
74
-
78
+
+
75
79
. Find the `pg_hba.conf` file.
76
80
+
77
81
[source,terminal]
78
82
----
79
83
postgres=# SHOW hba_file;
80
-
hba_file
84
+
hba_file
81
85
--------------------------
82
86
/pgdata/pg14/pg_hba.conf
83
87
(1 row)
84
88
85
89
postgres=#
86
90
----
87
-
91
+
+
88
92
. Exit from the database.
89
-
93
+
+
90
94
. Check if the `pg_hba.conf` file has the entry `host all all 0.0.0.0/0 md5`, which is necessary for accessing all incoming connections. If necessary, add the entry at the end of the `pg_hba.conf` file.
91
95
+
92
96
.Example: `pg_hba.conf` file
@@ -103,7 +107,7 @@ host all "_crunchyrepl" all reject
103
107
hostssl all all all md5
104
108
host all all 0.0.0.0/0 md5
105
109
----
106
-
110
+
+
107
111
. Save the `pg_hba.conf` file and reload the database.
0 commit comments