I tried to do this with keepass and google drive and one day found a 0byte keepass file. No idea what happened... luckily google drive had an auto backup from a while ago somehow. it was tedious to set up in the first place and any new device will need some setup again