Skip to content

Commit b927d60

Browse files
Update restore-selective.md
1 parent ba8d71f commit b927d60

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/usage/restore-selective.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Percona Backup for MongoDB allows you to perform selective restore of databases
4040

4141
!!! warning
4242
- The `--with-users-and-roles` flag applies only to users and roles defined within the database being backed up or restored. Global users and roles defined at the cluster level **are not included**.
43-
- If applications rely on roles or privileges that span multiple databases, a selective restore of a single database may not fully reestablish access-control. Always verify dependencies before restore.
43+
- If applications rely on roles or privileges that span multiple databases, a selective restore of a single database may not fully reestablish access control. Always verify dependencies before restore.
4444
- Restoring users and roles will overwrite existing definitions in the target database. Review current role configurations before restore to avoid accidental loss of custom changes.
4545

4646

@@ -68,7 +68,8 @@ where:
6868
```sh
6969
pbm restore --ns="invoices.*" --with-users-and-roles 2025-03-10T10:44:52Z
7070
```
71-
This command restores all collections in the `invoices` database and restores the users and roles defined in `invoices` from the backup `2025-03-10T10:44:52Z`.
71+
72+
This command restores all collections in the `invoices` database, along with the users and roles defined `in invoices`, from the backup `2025-03-10T10:44:52Z`.
7273

7374
#### Use cases
7475

@@ -78,7 +79,7 @@ This command restores all collections in the `invoices` database and restores th
7879
=== "Roll back access control changes"
7980
A recent modification to custom roles in `mydb` introduced permission failures. Applications that rely on those roles can no longer perform required operations.
8081

81-
To ensure full recovery, you need to restore not just the data but also the users and roles tied to the database’s access-control.
82+
To ensure complete recovery, you need to restore not only the data but also the users and roles tied to the database’s access controls.
8283

8384
### Restore a collection under a different name
8485

0 commit comments

Comments
 (0)