Comments (1)
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:
- Stopping container
- Performing backup
- 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)
- [Feature request] Add appropriate script description in README.md file
- [Feature request] Conditional messages - depend if script success or not
- [Feature request] Release version to download (in which file format?)
- [Feature request] Gotify notifications
- [Feature request] Testing / debug mode
- [Bug report] Cloud backup cleaner is missing HOT 1
- [Bug report] Gotify notify in the base of dev parameters in non dev mode?
- [Bug report] Unnecessary associative array of Docker Volumes in Configuration file
- [Feature request] Add "exclusions" for backing up local folders HOT 2
- [Feature request] Add "daily-cleaner" configuration option
- [Feature request] Backups-cleaner option
- [Bug report] Empty folders in remote directory after Cleaning
- [Feature request] Remove 'dev' type by increasing configurability of `instant` and `daily` types
- [Feature request] Documentation on restoring backup HOT 2
- [Bug report] False (?) error during daily-backup cleaner
- [Feature request] Backup size comparator
- [Feature request] Custom App Backup solutions implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-server-backup.