You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i found this project useful, as my watchtower containers sometimes fail to create containers after the update, so i have to backup the compose files to redeploy afterwards..
if you wanna use the python file itself, this is what i use for my daily cron job
the files are backed up into the same folder where the python file is, you can change this with:
autocomposedir : where the autocompose python file is
yamlbackupdir : what name you wish to give the folder
and the output captures all containers but each container is grouped individually into (in order):
date
container name
container ID (in case you re deploy a container and it changes ID but retains the name)
time
and at the end, it generates a timelog of when the cron job completes
if you want a version that you manually start, and has a progress bar with rclone backup: check out my other fuller fledged file at: backup-container-configs.sh , just place the file where the python autocompose file is
Just my 2cents on a way to execute docker-autocompose:
The text was updated successfully, but these errors were encountered: