I am a casual coder, just for fun, and I got owncloud running on my Raspberry Pi 4 (arm64) using docker. The problem is understanding how to get the container to be persistent and write the files to me specified directory.
In the yml file I changed the data directory but I can’t see files loaded into that file.
volumes: - files:/mnt/data (I change this to an external disk)
According to this link https://doc.owncloud.com/server/admin_manual/installation/docker/ it says I need to do this:
All files stored in this setup are contained in Docker volumes, rather than a physical filesystem tree. It is the admin’s responsibility to persist the files. Use, e.g.,
docker volume ls | grep ownclouddockerserverto inspect the volumes. Use e.g.,
docker run -v ownclouddockerserver_files:/mnt ubuntu tar cf - -C /mnt . > files.tarto export the files as a tar archive.
I have no idea what this means.It’s asking me to make a tar when all I need is to write files to my chosen disk. Can someone simplify this for me?