Copy files and modify database

Hi there,

I run a Nextcloud (20.0.5) server on a Raspberry Pi. About 280GB of data is stored on this server.
When I set up a new computer running Windows, I usually copied these 280GB through LAN from the server to the new client. Then I modified the database files under /AppData/Roaming/Nextcloud/nextcloud.cfg and everything was in sync. I did this because synching 280GB through internet would take forever.

Now I have purchased a MacBook and I am trying to do the same here. Unfortunately I cannot find any equivalent to nextcloud.cfg.

Can anyone point me into the right direction? Any help is appreciated!