I want to backup my nextcloud-data to Storj via Duplicati. How can I get my data-directory into my home directory (home/myname/Documents/nextcloud/) instead of in /var/lib… I’m using docker-compose. See config below. Thanks in advance for your help.
That would probably work fine on a new installation, but I’m not sure it would copy the files if you make that change on an existing container. He might just end up with an empty data folder.
Would a symlink be sufficient? Keep in mind you MUST NOT change the file permissions or ownership, in either case.
Thanks, but… That helped (a little). Data-files (and all other) are now inside home-dir. But I can’t make a backup because the access to the data-directory is denied. My login-user is not aan super-user. I guess it is not wise to chown / chmod?