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/usage/restore-selective.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Percona Backup for MongoDB allows you to perform selective restore of databases
40
40
41
41
!!! warning
42
42
- 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 accesscontrol. Always verify dependencies before restore.
44
44
- 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.
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`.
72
73
73
74
#### Use cases
74
75
@@ -78,7 +79,7 @@ This command restores all collections in the `invoices` database and restores th
78
79
=== "Roll back access control changes"
79
80
A recent modification to custom roles in`mydb` introduced permission failures. Applications that rely on those roles can no longer perform required operations.
80
81
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.
0 commit comments