I'd like to duplicate the various equipment profiles I already use on one Raspberry Pi onto a second one by copying files across. Ideally I would also like Geographical location and GUI settings to be copyable without having to enter the details or set up the selections manually. Could someone please inform me which folders and files are involved?
For kstars, without Stellarsolver additions, I think the main things are:
~/.config/kstarsrc (I'm not sure of the difference between the single file ~/.config/kstarsrc and the directory ~/config/kstars so take both)
~/.local/share/kstars/userdb.sqlite
~/.indi (whole directory)
I wrote this down a longer time ago and scripted the task: I also like to back up all files in the home directory. I find rsync the most appropriate solution, because it copies only those files, that really changed. And thus I can back up via network. Though it is very powerful, it can also destroy a lot, you should carefully define the target directory. But, if you keep a backup, this is no problem.
Be careful not to overwrite the ekoslive directory. This can lead to trouble with the registration of the machine.
Since this is Debian based, you can also clone your installation packages with the super cow power of apt. This way I keep two stellarmate appliances, one is a StellarMateX (Intel ThinClient) and one is a Stellarmate OS (Raspberry Pi 4) in sync.