Hi.
I’m trying to run Duplicacy from inside a docker container.
I run several containers, and each of them has a directory inside a directory called backuproot/appdata/docker-containers/
I’m trying to backup a single container of these (binhex-code-server), and I have tried the following commands:
docker exec -it -w /backuproot/appdata/docker-containers/binhex-code-server/ Duplicacy /config/bin/duplicacy_linux_x64_3.2.3 backup -stats
docker exec -it Duplicacy sh -c “cd /backuproot/appdata/docker-containers/binhex-code-server && /config/bin/duplicacy_linux_x64_3.2.3 backup -stats”
And running commands like:
docker exec -it -w /backuproot/appdata/docker-containers/binhex-code-server/ Duplicacy pwd
gives the output:
/backuproot/appdata/docker-containers/binhex-code-server
So it DOES change working directory as intended
But when the backup starts, I see this
Skipped non-regular file backuproot/appdata/docker-containers/binhex-code-server/code-server/user-data/code-server-ipc.sock
Skipped non-regular file backuproot/appdata/docker-containers/binhex-qbittorrentvpn/qBittorrent/config/ipc-socket
Which leads me to believe that Duplicacy tries to backup the complete backuproot/appdata/docker-containers folder
But why?
What am I missing here?
Thanks
EDIT:
An update here.
Even running Duplicacy from within the folder makes it go outside the working directory.
cd /backuproot/appdata/docker-containers/swag/
/config/bin/duplicacy_linux_x64_3.2.3 backup -stats
Shows Skipped non-regular file backuproot/appdata/docker-containers/binhex-qbittorrentvpn/qBittorrent/config/ipc-socket after a time
Personally I think it would be more intuitive to tell Duplicacy what folder to backup instead of having to cd into it.