Script to Stop and Start Containers By Label

Another take on this (done via labels) based on: Pass backup name as variable to before/after script / docker/duplicati at main · Sn00zEZA/docker · GitHub

I needed a way to stop and start containers but couldn’t do it on container name alone so instead doing it by labels.

Readme: GitHub - kramttocs/duplicati · GitHub

Script: duplicati/scripts/stop-start-containers-by-label.sh at main · kramttocs/duplicati · GitHub

I haven’t been using duplicati long so don’t have a lot of backups under my belt but so far it’s performing as expected.

I prefer using dockerproxy whenever I can so was a good fit for it here as well.

Let me know if any issues or questions.