Durchsuchen nach
Schlagwort: MongoDB

Linux (Fedora 41) Bash Script to do a backup for MongoDB

Linux (Fedora 41) Bash Script to do a backup for MongoDB

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 of deployment options, including cloud-based services like…

Weiterlesen Weiterlesen

MongoDB – NoSQL Database – all locations

MongoDB – NoSQL Database – all locations

In order to find in MongoDB the whole paths, you can go into the mongoshell with mongosh It is possible that you see this message, but you can ignore it: sven@fedora:~$ mongoshCurrent Mongosh Log ID: 68833ee8dc64789649384af8Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.5.6Using MongoDB: 7.0.22Using Mongosh: 2.5.6 For mongosh info see: https://www.mongodb.com/docs/mongodb-shell/ The server generated these startup warnings when booting 2025-07-25T04:36:15.431+02:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted and type the command: db.serverCmdLineOpts() then…

Weiterlesen Weiterlesen

MongoDB Version herausfinden

MongoDB Version herausfinden

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

MongoDB – einfache Abfragen in der Mongoshell

MongoDB – einfache Abfragen in der Mongoshell

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

MongoDB – Pymongo mit Abfragen

MongoDB – Pymongo mit Abfragen

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

error: Content is protected !!