Skip to content

Commit cdcbd78

Browse files
committed
chore: logs
1 parent d588326 commit cdcbd78

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api/src/dump.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const dump = async (dumpKey: string, _name?: string) => {
5959
for (const db of dbs.databases.map(db => db.name).filter(db => !config.mongo.ignoreDBs.includes(db))) {
6060
debug(`work on db ${db}`)
6161
const tmpFile = await tmp.file({ dir: config.tmpdir })
62+
debug(`created tmp file ${tmpFile.path}`)
6263
const tmpPath = tmpFile.path
6364
let cmd = `mongodump --uri ${config.mongo.url}/${db}?readPreference=${config.mongo.readPreference} --gzip --archive=${tmpPath}`
6465
if (config.mongo.dumpParams && config.mongo.dumpParams[db]) {

0 commit comments

Comments
 (0)