Generate backup using API

I have no idea if this still works, but the API for the desktop used to be accessed from
http://127.0.0.1:55667/api
There is a post describing how one gets a password setup.

Perhaps have a search or see if anyone else can get you further.