PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 29th of December, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[09:07:41] <cloudbud> hi
[09:07:50] <cloudbud> how can I restore a dump
[09:08:01] <cloudbud> like I created a dump in a directory
[09:08:08] <cloudbud> how can i restore that dump
[09:20:26] <cloudbud> how to restore using --drop plugin
[09:20:28] <cloudbud> switch
[16:07:16] <GothAlice> Questions like that hurt me physically.
[16:07:22] <GothAlice> https://lmgtfy.com/?q=mongodb+mongorestore
[16:09:01] <GothAlice> Even a less targeted search like https://lmgtfy.com/?q=mongo+restore+database+backup strikes gold on the first result.
[16:12:08] <GothAlice> Heck. http://lmgtfy.com/?q=I+created+a+mongo+dump+how+can+I+restore+it+please ← even rolling up like a grandmother works.
[18:16:44] <robertparkerx> how can I find all the columns in a collection?
[18:30:32] <GothAlice> That's a bit of a tough one. Even more so given there are no such things as columns. What you ultimately would require is a recursive process of "key collection", identifying the key/value "attribute names" from within the top-level document, and any embedded documents, or arrays of embedded documents, however deep the dataset may be.
[18:31:05] <GothAlice> Which may vary from record to record not at all, or completely, or anything in-between.
[18:38:25] <robertparkerx> It is odd. Someone said they added the column source_db to customer collection to separate the customerr
[18:38:28] <robertparkerx> but when I
[18:38:30] <robertparkerx> db.customer.findOne({"number":"999884"});
[18:38:39] <robertparkerx> I don't see the column source_db
[18:39:22] <GothAlice> 😑
[18:39:46] <robertparkerx> oh no such thing as columns
[18:39:56] <robertparkerx> Well it's what I understood it
[18:43:25] <robertparkerx> I think I found it
[18:43:32] <robertparkerx> I don't know much about mongo
[18:43:45] <robertparkerx> but this customer has the source_db key/value pair
[18:43:58] <robertparkerx> no other customer seems to have it but one