17

Is there a way to extract data from that archive without mongorestore?

alex_1948511
  • 6,073
  • 2
  • 20
  • 21
  • 1
    Duplicate of [what is mongodb archive format?](https://stackoverflow.com/questions/56512192/what-is-mongodb-archive-format), which has a more thorough answer. – Dan Dascalescu May 01 '20 at 14:12
  • @DanDascalescu thanks for the useful link! A "duplicate" is usually called something created later ) – alex_1948511 May 03 '20 at 05:34
  • [The SE policy](https://meta.stackexchange.com/a/147651/150034) on duplicates is based on [quality.](https://meta.stackexchange.com/a/240431/150034). – Dan Dascalescu May 03 '20 at 07:20

1 Answers1

14

It's a kind of custom tar multiplexed archive where the only spec is the code : https://github.com/mongodb/mongo-tools-common/blob/7c66b71dc6036ef84bf3c2c93cf2e50f730853fc/archive/archive.go

grmartin
  • 1,399
  • 2
  • 12
  • 23
zerodeux
  • 3,533
  • 1
  • 20
  • 11