Syncthing system folders?

Hello,

I’ve installed easily and successfully Syncthing on my desktop (my main computer) and a laptop I use when I go out, both runnig Debian Bullseye (Debian 11). I want to just need to sync it before going out and sync back when I go home. I could sync personal folders I need easily. However, there are 1 file 2 other folders I’d like to be able to sync and I don’t know how to do so (1 file and 1 folder belonging to root user and 1 folder to mysql user) :

/etc/hosts

/etc/nginx

/var/lib/mysql

Thank you for your help.

Best regards,

Since they are owned by other users, you can’t properly sync them using your user account. If you created 2 other individual Syncthing instances, running under the ‘mysql’ and ‘root’ users, it might work. But the added complexity for separate processes and the requirement for individual network ports for each process makes this not advisable. And running an additional root process?? Good luck.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.