MongoDB Database Backup: Best Practices & Expert Tips
Percona
MAY 2, 2023
example.net --port=27017 --username=user --authenticationDatabase=admin --db=demo --collection=events --out=/opt/backup/mongodump-2011-10-24 Note : If we don’t specify the DB name or Collection name explicitly in the above “mongodump” syntax then the backup will be taken for the entire database or collections, respectively.
Let's personalize your content