You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@p0ria
I think i know what is the problem it one of the bugs of this library.
In my organisation we had a collection that contains documents with sensitive property keys such as: person.fullname
Mongodb cant handle insertion of documents with properties that contains the dot character.
Unfortunately even if 1 document has an issue the insertion of the whole collection fails and you wont receive any error.
I use this library inside my nest.js service.
Collection folders get created but they are all empty.
This is my code:
`var backup = require('mongodb-backup');
import { Injectable, Logger } from "@nestjs/common";
@Injectable()
export class BackupDbService {
private readonly logger = new Logger(BackupDbService.name);
mongoUrl = 'mongodb://localhost:27017/admin';
} `
The text was updated successfully, but these errors were encountered: