Automate KeePass database sync with Google Drive on Linux

I’ve been using KeePass as my preferred Password Manager for a long time. Using the same KeePass database file on multiple devices (Computer, Tablet, Phone) I was in need to find a location to put the KeePass database file in the cloud to be used as a source. I choose Google Drive.

Besides Linux, for all other operating systems, there where easy solutions to automatically sync the KeePass database file with my device. Unfortunately for Linux that was not the case 🙁

I was close giving up on getting my KeePass database file automatically synced with Google Drive on Linux when I came across a Reddit post. User „xcheet“ described how he/she managed to get the KeePass database file synced automatically on Linux.