diff --git a/source/includes/options-mongorestore.yaml b/source/includes/options-mongorestore.yaml index 2117127b35d..3cc50e77e25 100644 --- a/source/includes/options-mongorestore.yaml +++ b/source/includes/options-mongorestore.yaml @@ -224,6 +224,14 @@ args: null description: | Modifies the restoration procedure to drop every collection from the target database before restoring the collection from the dumped backup. + + .. important:: + When ``--drop`` is specified, all users are removed and replaced with + users defined in the dump file to be restored. Therefore if the user + credentials specified as arguments to :program:`mongorestore` do not + correspond to a user that exists in the dump file, the restoration process + will fail, leaving an empty database. + optional: true --- program: mongorestore