9

I tried to restore mongo backup files from atlas.

It's containing some wt files. How to restore.

Backup downloaded from Daily Snapshots from atlas.

Thanks in advance.

Ashwanth Madhav
  • 1,084
  • 1
  • 9
  • 21

1 Answers1

6

Solved this.

link

Atlas compresses the snapshot into a .tar.gz file. This archive includes the snapshot and the mongod logs.

Once extracted, you can access the data files by starting a mongod instance on the host and pointing it at the extract directory using the --dbpath option.

Ashwanth Madhav
  • 1,084
  • 1
  • 9
  • 21
  • 3
    For anyone like me looking to read them locally, in the terminal, you want to run `mongod --dbpath ../path/to/folder` and then once it says something like `Listening on 127.0.0.1` you open a new tab in the terminal and type `mongo 127.0.0.1` – Bart S Dec 16 '20 at 18:13
  • Link is broken.. – Kurt J Jul 10 '23 at 16:49