lihaibh / ditto

NPM library that helps managing MongoDB snapshots easily and efficiently
https://www.npmjs.com/package/mongodb-snapshot
MIT License
50 stars 6 forks source link

I want to create a subfolder "backups" that will contain all the backups #30

Open HamzaMihfad opened 3 years ago

HamzaMihfad commented 3 years ago

in dumpMongo2Localfile function:

  connection: {
    path:  `./backups/backup ${moment().format("DD-MM-YYYY HH.mm.ss")}.tar`,
  },

it doesn't work, I don't know why!

lihaibh commented 3 years ago

@HamzaMihfad what is the error that you are getting?