Git Product home page Git Product logo

Comments (1)

gromoslaw-kroczka avatar gromoslaw-kroczka commented on May 31, 2024

Backup of Docker Volumes includes stopping containers by design - you don't have to configure it separately.

Backup of Docker Bind Mounts on the other hand by default don't stop the containers - assuming that those data aren't interrupting containers work. If for any reason you would like to stop the container for the time of the backup, even for Bind Mounts, you can do it by listing those containers in bindDockerStop array.

Above you can find hyperlinks to corresponding paragraphs of the Script Documentation explaining exactly what kind of data is needed for that.


Procedure of backup (assuming stopping container) will be as follow:

  1. Stopping container
  2. Performing backup
  3. Starting container

Order of containers will be as you listed them in configuration file. Volume Backups first, Bind Mounts after that.


I am aware that currently script requires a lot of data to be input manually (for each Docker Volume exact path for example) and my goal is to automate it in the future, but first I have to figure out how.


Regarding docker compose it should be relatively easy to include that script packed in docker image, to interact with other containers but for environments like mine, where I have currently 28 containers declared by 15 stacks (Portainer docker composes) it won't be suitable. Maybe you have idea / concept of the path to resolve that issue?


Thank you for contributing in that project! If you have any further questions / comments / ideas don't hesitate to write it! 😃

from home-server-backup.

Related Issues (18)

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.