Replies: 1 comment 1 reply
-
The backup command runs inside the docker container and the docker container can not access the host system. You need to map a folder from the host system into the docker container (or use one of the existing volume mappings) and output the backup into the mapped folder. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am running Part-DB in a docker container on my raspberry pi.
I can make a backup by running
docker exec --user=www-data partdb php bin/console partdb:backup --full backup-partdb.zip
But then I find the backup file deep down in /var/lib/docker subfolder.
When I give a file path in the output parameter (e.g.
docker exec --user=www-data partdb php bin/console partdb:backup --full /home/pi/containers/part-db/backup/backup-partdb.zip)
then I get a error message;Even when I add sudo before the backup command- Any idea why I get this?
Beta Was this translation helpful? Give feedback.
All reactions