rakkad
asked on
MongoDB backup and restore script
A script that will backup MongoDB:-
1. Backup the db at 00:01 (cron job..)
2. Compress the backup file
3. Remove backups after 2 days
4. Alert by email of backups successful or fail
A script that will be used to restore the MongoDB
1. Backup the db at 00:01 (cron job..)
2. Compress the backup file
3. Remove backups after 2 days
4. Alert by email of backups successful or fail
A script that will be used to restore the MongoDB
ASKER
Hi thanks, but it doesn't cover the complete solution am after as per the question. Can you assist further ?
Thanks
Thanks
Hello
Yes of course I can help, I'm telling you
regards..
Yes of course I can help, I'm telling you
regards..
ASKER
In that case can you look at the areas I identified in my original question ?
ASKER
Can someone please help as I have not had a solution to the question ?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Attach the following link as a reference, to make a backup and restore in Mongo:
https://tecadmin.net/backup-and-restore-mongodb-database/
https://docs.mongodb.com/manual/tutorial/backup-and-restore-tools/
regards..