Thank you! You've given to me the answer.
Yes, I'm using:
mariadb:
image: linuxserver/mariadb
I didn't remember I had added this container when I created my custom docker-compose.yml.
So, this is why I couldn't find the db on nextcloud container: I have to look for it into the mariadb container
Hello,
I'm trying to migrate Linuxserver NextCloud to another server.
I usually have everything as bind mount and it's usually so simple as running this from the destination server:
sudo rsync -arlvh --delete-after [email protected]:/home/myuser/nextcloud-docker/ /home/myuser/nextcloud-docker/
But, in this case, DATABASE is not transferred, because it seems it ISN'T a bind mount.
Mariadb database is usually stored: :/var/lib/mysql
I have gone into the linuxserver/nextcloud container (sudo docker exec -it nextcloud bash) and this folder doesn't exist there.
So, where is the database stored? How can I transfer it to the new server?
Please, I need your help.