Durchsuchen nach
Schlagwort: mongoexport

MongoDB Export a collection (general)

MongoDB Export a collection (general)

MongoDB is a NoSQL database, that stores information in documents instead of tables, and it can store a lot of information. It looks like that: test> db.test.find()[ { _id: ObjectId(’69edadcfb6b4cff75744ba89′), name: ‚Morgentest‘ } ] You see MongoDB follows the JSON standard for documents. Ok, MongoDB stores this for human-readable information, but there is a special format that is called BSON that MongoDB uses, but this is not the subject of this blog entry. If you have a full database (or…

Weiterlesen Weiterlesen

Fedora 42 Backup script for MongoDB database

Fedora 42 Backup script for MongoDB database

What is the advantage of this script? What is MongoDB? MongoDB is a document-oriented NoSQL database that stores data in flexible, JSON-like documents, allowing for easy storage and retrieval of structured, semi-structured, and unstructured data. Unlike traditional relational databases that use tables and rows, MongoDB uses collections and documents, making it more adaptable to changing data structures. It was designed to handle large volumes of data and is known for its scalability, flexibility, and ease of use. MongoDB is open-source and has a wide range…

Weiterlesen Weiterlesen

MongoDB Export von einer Datenbank ins JSON-Format

MongoDB Export von einer Datenbank ins JSON-Format

Was ist MongoDB? MongoDB ist wie eine sehr große, flexible Schubladenkommode für deine Daten. Stell dir vor, jede Schublade ist eine Art Ordner, den wir „Collection“ nennen. In diese Ordner kannst du Informationen ablegen, die zusammengehören, zum Beispiel alle Kundendaten oder alle Produktinformationen. Das Besondere ist, dass du in diese „Ordner“ nicht nur Zettel mit immer gleichen Feldern legen musst. Jeder „Zettel“ (wir nennen ihn „Dokument“) kann ganz anders aussehen und unterschiedliche Informationen enthalten. Das macht MongoDB sehr flexibel, wenn…

Weiterlesen Weiterlesen