Verify that your environment meets the system requirements for granular restores for MongoDB.
Install the NFS client:
If the MongoDB node is installed on Ubuntu 16.04 and more recent versions and Debian 10 and more recent versions, install the NFS client using the following commands:
sudo apt update
sudo apt install nfs-commonIf the MongoDB node is installed on Red Hat Enterprise Linux/CentOS 7.x with glibc 2.17.x and more recent versions, install the NFS client using the following command:
sudo yum install nfs-utils
The user account that you authenticate with must have one of the following role or roles on the admin database:
The root role. This is a superuser role.
A set of roles (backup, restore, clusterMonitor, hostManager). If you do not want to assign the superuser role to the database user, then use these roles.