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
Replace the `pbmuser:secretpwd` with the credentials of [the user who owns the pbm process](../install/configure-authentication.md#create-the-pbm-user)
@@ -86,28 +86,28 @@ Specify new values in MongoDB connection URI string as follows:
pbm status --mongodb-uri "mongodb://pbmuser:secretpwd@mongocsvr1:27017,mongocsvr2:27017,mongocsvr3:27017/?replicaSet=configrs&authSource=admin&readConcernLevel=local&w=1"
Note that you must first obtain the ticket for the `pbm` user with the `kinit` command before you start the **pbm-agent**:
139
139
140
-
```{.bash data-prompt="$"}
141
-
$ sudo -u {USER} kinit pbm
140
+
```bash
141
+
sudo -u {USER} kinit pbm
142
142
```
143
143
144
144
Note that the `{USER}` is the user that you will run the `pbm-agent` process.
@@ -147,7 +147,7 @@ Note that the `{USER}` is the user that you will run the `pbm-agent` process.
147
147
148
148
For [authentication and authorization via Native LDAP :octicons-link-external-16:](https://docs.percona.com/percona-server-for-mongodb/latest/authorization.html#authentication-and-authorization-with-direct-binding-to-ldap), you only create roles for LDAP groups in MongoDB as the users are stored and managed on the LDAP server. However, you still define the `$external` database as your authentication source:
Copy file name to clipboardExpand all lines: docs/details/azure.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,32 +26,32 @@ For either method you need a storage account.
26
26
1. Install the [Azure CLI :octicons-link-external-16:](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli). After the installation, the `az` is available for you.
27
27
2. Sign in to Azure CLI:
28
28
29
-
```{.bash data-prompt="$"}
30
-
$ az login
29
+
```bash
30
+
az login
31
31
```
32
32
33
33
3. Create a Resource group if it's not created for you:
34
34
35
-
```{.bash data-prompt="$"}
36
-
$ az group create --name <your-resource-group> --location <your-location>
35
+
```bash
36
+
az group create --name <your-resource-group> --location <your-location>
Copy file name to clipboardExpand all lines: docs/features/multi-storage.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,14 +38,14 @@ storage:
38
38
39
39
To upload the configuration profile to PBM, use the [`pbm profile add`](../reference/pbm-commands.md#pbm-profile-add) command and specify the path to the profile.
To show the information about the external backup storage, use the [`pbm profile show`](../reference/pbm-commands.md#pbm-profile-show) command:
46
46
47
-
```{.bash data-prompt="$"}
48
-
$ pbm profile show <profile_name>
47
+
```bash
48
+
pbm profile show <profile_name>
49
49
```
50
50
51
51
See the full list of the configuration profile management commands in the [pbm commands](../reference/pbm-commands.md) reference.
@@ -54,8 +54,8 @@ See the full list of the configuration profile management commands in the [pbm c
54
54
55
55
To make a backup to an external backup storage, pass the profile name with the `--profile` flag for the `pbm backup` command. For example, to run a physical backup and store it in the MinIO storage defined via the `minio` configuration profile, run the following command:
56
56
57
-
```{.bash data-prompt="$"}
58
-
$ pbm backup -t physical --profile=minio --wait
57
+
```bash
58
+
pbm backup -t physical --profile=minio --wait
59
59
```
60
60
61
61
??? example "Sample output"
@@ -76,8 +76,8 @@ Before you start, make sure that `pbm-agents` have the read permissions to backu
76
76
77
77
1. List backups by running the `pbm list` or `pbm status` commands.
78
78
79
-
```{.bash data-prompt="$"}
80
-
$ pbm list
79
+
```bash
80
+
pbm list
81
81
```
82
82
83
83
The output shows the backup names and timestamps. External backups are marked with an asterisk:
@@ -96,8 +96,8 @@ Before you start, make sure that `pbm-agents` have the read permissions to backu
96
96
97
97
2. To make a point-in-time restore, you must explicitly pass the backup name for the `pbm restore` command:
If you allow partial restores (default value), PBM finalizes the restore. Once the cluster is up and running, the failed node receives the necessary data from other members through an initial sync.
0 commit comments