<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false"><div><div>Hi all - happy new year!</div><div><br></div><div>I am trying to backup a Docker cluster with the scripts provided at </div><div>https://github.com/GeoNode/geonode-project#backup-and-restore-from-docker-images</div><div><br></div><div>I think I successfully ran the backup for the django app, but I am not sure how could I backup all the other running containers? </div><div>I am mainly interested in the DB container and the Geoserver container.</div><div><br></div><div>I've run this command:</div><div><br></div><div>docker exec -it django4myOwnProject2020 sh -c 'SOURCE_URL=$SOURCE_URL TARGET_URL=$TARGET_URL ./myOwnProject2020/br/backup.sh $BKP_FOLDER_NAME'</div><div><br></div><div>And I can see in the output logs the script has done something. </div><div><br></div><div dir="ltr" data-setdir="false">See here from inside the container:</div><div><br></div><div>docker exec -it django4myOwnProject2020 sh -c 'ls -lah /backup_restore'</div><div>total 40M</div><div>drwxr-xr-x 2 root root 4.0K Jan  2 15:08 .</div><div>drwxr-xr-x 1 root root 4.0K Dec 31 15:18 ..</div><div>-rw-r--r-- 1 root root  723 Jan  2 15:08 2021-01-02_150751.ini</div><div>-rw-r--r-- 1 root root   70 Jan  2 15:08 2021-01-02_150751.md5</div><div>-rw-r--r-- 1 root root  40M Jan  2 15:08 2021-01-02_150751.zip</div><div><br></div><div>and here in the file system of my laptop:</div><div><br></div><div>sudo ls -lah /var/lib/docker/volumes/myOwnProject2020-backup-restore/_data</div><div>total 40M</div><div>drwxr-xr-x 2 root root 4.0K Jan  2 15:08 .</div><div>drwxr-xr-x 3 root root 4.0K Dec 30 15:00 ..</div><div>-rw-r--r-- 1 root root  723 Jan  2 15:08 2021-01-02_150751.ini</div><div>-rw-r--r-- 1 root root   70 Jan  2 15:08 2021-01-02_150751.md5</div><div>-rw-r--r-- 1 root root  40M Jan  2 15:08 2021-01-02_150751.zip</div><div><br></div><div>But that script "./myOwnProject2020/br/backup.sh" is not for example in the DB container or the Geoserver container? </div><div>Why is it not there?</div><div><br></div><div>Also I am not sure if and how I should populate those two environment variables SOURCE_URL and TARGET_URL.</div><div>Looking at the docs it seems I should put in there "localhost" (I am running the cluster locally on my laptop), but the script seems to have backed up the django container anyway so I am not sure if I need to touch them at all. </div><div>Should I change those variable? What should I put in there?</div><div><br></div><div>Thank you</div><div><br></div></div><br></div></div></body></html>