Linux to OneDrive via Synology

I run Home Assistant and a number of other things from a small Linux PC that acts as my server. It’s not storing much critical data but it would be a pain if I lost all of the configuration…