Hello Everyone,
i want to create a one script of how to backup and restore MongoDB in C# ?
so please tell me how to write a C# code for backup and restore MongoDB?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Milan Prajapati107 reputationPosted Oct 17, 2016, 3:40 AM EDT
lvcreate --size 1G --name mdb-new vg0 gzip -d -c mdb-snap01.gz | dd of=/dev/vg0/mdb-new mount /dev/vg0/mdb-new /srv/mongodbVatsal Patel3 reputationPosted Oct 17, 2016, 4:10 AM EDT
Ifour milan: i want to create one script like create one page with button and when i click button than all MongoDB database are save in my computer drive.