Remote Manual Roon BackUp

Hi
Is there a way to create Roon BackUps manually but remotely say through the api or cmd. I’d like to tie my Roon Core BackUps to my smart home. for example only back up if I’m away or asleep. I know I can stop Roon Core and copy the database folder, but I was hoping to trigger Roon internal backup system. Btw I have Roon installed on Ubuntu 24.04 server.

Thanks!

@scott_reynolds, I moved this to the Tinkering category where other users may have ideas regarding your manual backup automation questions.

Hi Scott, you don’t have to do any of that, just setup a scheduled backup on a repeat basis, it keeps the # of backups you want providing you with a rolling backup:

It’s only storage, you can keep one per day for months if you like, I set mine to run nightly at 2am and keep several months:

Hi Yes I know I can do that. But then I HAVE to back up at the same time every time. I don’t keep my Roon server on 24/7. I’d like the flexibility to trigger a backup remotely, at a time that suits what I’m doing.

Leave your Roon server on 24/7 with backups when you are sleeping.

I never shut it off, it’s minimal effort on my part :slight_smile:

1 Like

Fair enough lol. If I’m reading between the lines I think the answer to my question is a resounding NO then.

If switching to ROCK is a possibility for you, it is possible to programmatically turn this on and off.

There is an http call to turn ROCK off, and a WOL packet to turn it on.

I have Home Assistant set up to check late in the evening if any of my endpoints are playing, and if not power down ROCK.

It turns it back on early enough that the backup can run before my alarm starts the radio.

You could configure something like a backup every 8 hours or some such. If the server is shut down or you are playing music at the backup time, it will be skipped automatically

Thanks for your suggestions. I suppose I would like more control over backups. Days of the week and actual times. I try and back up in 2 different places that also adds complexity. I haven’t used the api and so I wondered if there was that function with in it.

At some point it would be nice if Roon did another version of the API - there is quite a lot you can do via the app that isn’t available via the API.

I do quite like the ROCK on / off capacity. Many of my endpoints are Raspberry Pis - and I have most of them on a zwave switch. So when Home Assistant detects that my wife and I are both away - it turns off the Pis and ROCK, and then turns them back on when either of us return.

Yes I do something similar. Roon is installed on a ubuntu server with hqplayer. When I leave or go to sleep it goes into suspend mode via home assistant and ssh. Then it uses wol to start up again when we’re about. I like controlling everything centrally via home assistant.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.