I have a server with MongoDB 4 500GB database. I have a very short backup window to create a copy of the database on the same server, mongodump/mongorestore work pretty slow. I can copy mongo data folder, but I don't know what should I do next to create a clone of the existing database. Can I somehow create a copy of the existing database by files manipulation or with some wild tiger utility?

  • Take a snapshot of the underlying storage, and backup from the snapshot. – Michael Hampton Mar 7 at 1:20
  • Ok. I have database1 in /data folder and database1 in /data.bak folder. Folders are the same. How to create database2 in /data folder which is clone of database1? – Alexey Ryazhskikh Mar 7 at 1:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.