Giter Club home page Giter Club logo

Comments (7)

subkanthi avatar subkanthi commented on July 3, 2024

Hi @itaymmguardicore , I am thinking of working on this feature, can u please guide me on what you are expecting?

from monkey.

itaymmguardicore avatar itaymmguardicore commented on July 3, 2024

Hey @subkanthi
First of all thank you for contributing to this project and sorry it took a while to get back to you.

Some general guidelines to what we're expecting for the feature:

  • Add a button on one of the island's pages which will download the exported DB.
  • Add a button on one of the island's pages which will upload an exported DB and import it (all previous data should be removed. Warn the user before performing this operation) - recommended but optional.
  • All data in DB must be exported.
  • The exported DB should be easy and conveniently readable by a free widely-used tool.
  • The exported DB is in a human readable format - recommended but optional.
  • The exported DB is lightweight - recommended but optional.
  • Encrypted fields should stay encrypted (credentials).

With all that being said, I think the best way to go is to use the mongodump tool, or a python equivalent.

Please let me know if you have any further questions.

from monkey.

sladyn98 avatar sladyn98 commented on July 3, 2024

Hey I would like to work on this issue can you guide me on how to proceed. I read the requirements can you guide me a bit more.

from monkey.

danielguardicore avatar danielguardicore commented on July 3, 2024

I think we want an option to export the Island DB in a way we can later import it into another instance of the Island.
So we should probably run on the Island some command to dump the database in a standard format, omitting the "boring" DBs like admin and local, and an equivalent import command that will read this file and insert it into the DB

from monkey.

sladyn98 avatar sladyn98 commented on July 3, 2024

from monkey.

VakarisZ avatar VakarisZ commented on July 3, 2024

The best would be to be able to import the exported mongodump. However I couldn't figure out how to solve credential encryption problem. Since each mongo instance seems to have a distinct key, other mongo instances can't decrypt credentials and monkey throws errors.

from monkey.

VakarisZ avatar VakarisZ commented on July 3, 2024

Relatively complex for the value it would bring. We'd have to solve the issues of credential encryption, but this feature could be useful internally for debugging.

from monkey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.