
mongoDB
Using Cron Jobs in Ubuntu to Schedule Backup and Restore MongoDB Database
Prerequisite: Installing MongoDB Database Tools To backup MongoDB database, you need the mongodump utility, which is part of the mongodb-database-tools package. Step 1: Check if mongodb-database-tools is installed: sudo dpkg -l mongodb-database-tools If the package is installed, you’ll see the details. Otherwise, you’ll get an error message like: