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
Copy file name to clipboardExpand all lines: docs/content/architecture/user-management.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ While the above defaults may work for your application, there are certain cases
45
45
46
46
## Custom Users and Databases
47
47
48
-
Users and databases can be customized in the `spec.users` section of the custom resource. These can be adding during cluster creation and adjusted over time, but it's important to note the following:
48
+
Users and databases can be customized in the [`spec.users`]({{< relref "/references/crd#postgresclusterspecusersindex" >}}) section of the custom resource. These can be adding during cluster creation and adjusted over time, but it's important to note the following:
49
49
50
50
- If `spec.users` is set during cluster creation, PGO will **not** create any default users or databases except for `postgres`. If you want additional databases, you will need to specify them.
51
51
- For any users added in `spec.users`, PGO will created a Secret of the format `<clusterName>-pguser-<userName>`. This will contain the user credentials.
Copy file name to clipboardExpand all lines: docs/content/tutorial/disaster-recovery.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,13 @@ Let's look at how we can perform different types of restore operations. First, l
18
18
As of v5.0.5, PGO offers the ability to restore from an existing PostgresCluster or a remote
19
19
cloud-based data source, such as S3, GCS, etc. For more on that, see the [Clone From Backups Stored in S3 / GCS / Azure Blob Storage](#cloud-based-data-source) section.
20
20
21
-
Note that you cannot use both a local PostgresCluster data source and a remote cloud-based data
21
+
Note that you **cannot** use both a local PostgresCluster data source and a remote cloud-based data
22
22
source at one time; if both the `dataSource.postgresCluster` and `dataSource.pgbackrest` fields
23
23
are filled in, the local PostgresCluster data source will take precedence.
24
24
25
25
{{% /notice %}}
26
26
27
-
There are several attributes on the custom resource that are important to understand as part of the restore process. All of these attributes are grouped together in the `spec.dataSource.postgresCluster` section of the custom resource.
27
+
There are several attributes on the custom resource that are important to understand as part of the restore process. All of these attributes are grouped together in the [`spec.dataSource.postgresCluster`]({{< relref "/references/crd#postgresclusterspecdatasourcepostgrescluster" >}}) section of the custom resource.
28
28
29
29
Please review the table below to understand how each of these attributes work in the context of setting up a restore operation.
30
30
@@ -231,7 +231,19 @@ you can start accessing your database from that specific point in time!
231
231
232
232
## Restore Individual Databases
233
233
234
-
You can restore individual databases using a spec similar to the following:
234
+
You might need to restore specific databases from a cluster backup, for performance reasons
235
+
or to move selected databases to a machine that does not have enough space to restore the
236
+
entire cluster backup.
237
+
238
+
pgBackRest supports this case, but it is important to make sure this is what you want.
239
+
Restoring in this manner will restore the requested database from backup and making it
240
+
accessible, but all of the other databases in the backup will **not** be accessible after restore.
241
+
242
+
For example, if your backup includes databases `test1` and `test2`, and you request that `test2`
243
+
be restored, the `test1` database will not be accessible. Please review the pgBackRest documentation
244
+
on the [limitations on restoring individual databases](https://pgbackrest.org/user-guide.html#restore/option-db-include).
245
+
246
+
You can restore individual databases from a backup using a spec similar to the following:
235
247
236
248
```yaml
237
249
spec:
@@ -246,7 +258,6 @@ spec:
246
258
247
259
where `--db-include=hippo` would restore only the contents of the `hippo` database.
248
260
249
-
Please review the pgBackRest documentation on the [limitations on restoring individual databases](https://pgbackrest.org/user-guide.html#restore/option-db-include).
0 commit comments