Giter Club home page Giter Club logo

Comments (5)

adamstallard avatar adamstallard commented on July 18, 2024

Could be done with a cron in the db container that then puts them in a docker volume

from brightid-node.

adamstallard avatar adamstallard commented on July 18, 2024

There is some intermediate code to support this in this commit b39ad08 . I think in this commit, I started making a second dockerfile so that a node operator could decide whether to run a version that creates automatic backups or not. (Probably not all nodes need to do this).

from brightid-node.

DrewGregory avatar DrewGregory commented on July 18, 2024

Where do you think the backup should be hosted remotely? another node? would it make sense to add functionality so that nodes can create backups and/or download other backups and host backups themselves?

from brightid-node.

adamstallard avatar adamstallard commented on July 18, 2024

I don't know where backups should be publicly hosted. Let's provide node operators with instructions on how to manage the backups that are saved on their node, and they can make that decision for themselves. I think for us (node one), I would host them on cheap cloud storage and have a dns name pointing to it. Maybe ipfs is another option.

At some point, there will need to be a standard way of retrieving and applying the most recent backup for new node operators, and by then there will need to be a recommended way to host backups, but that's not what this issue is about.

from brightid-node.

adamstallard avatar adamstallard commented on July 18, 2024

There could be a new foxx app (not BrightID) just for downloading the (compressed tar) file if that's easier than downloading the file from docker. It would not be public, though. Figuring out how to publicly host these files is beyond the scope of the issue.

from brightid-node.

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.