[BACKUP COMMAND]: mongodump -u username -p password -d database --port port -o output path.
[ISSUE]: error writing data for collection to disk: error reading collection: Closed explicitly.
The storage requirements of my MongoDB database are constantly increasing. So far the database is using 20 GB of disk space and I am encountering errors when I want to dump the database. It always fails and the above issue is displayed in the terminal shell when I use the above mongodump command. I have to reissue the mongodump command again and again until the backup of the database finishes.
So my questions are:
- Is there a good alternative database backup tool/command for MongoDB?
- Is there a stable and fast backup command for large-scale MongoDB databases?
- Am I using the correct procedure?