Mount samba NAS shares through autofs or fstab

general info: https://osmc.tv/wiki/general/file-sharing-with-a-nas,-media-server,-windows-share-or-other-device/ I wasn't unable to use NFS because Be aware: NFS mounting under FSTAB does not allow for a username and password to be set. The NFS share

Export mysql database when facing GTID_PURGED error

I was facing ERROR 3546 (HY000): @@GLOBAL.GTID_PURGED cannot be changed when restoring previously exported mysql database. The solution is to add --set-gtid-purged=OFF setting when exporting.