Where does RNBO Runner Panel store graph/set preset files on Raspberry Pi?
Hi everyone,
I’m using the RNBO Runner Panel on a Raspberry Pi (with rnbo-runner-panel / rnbooscquery) and I’m trying to figure out where the preset data for graph sets / graph presets is actually stored on disk.
In the web UI I can create and load presets for a graph/set, and I can see OSC messages like:
/rnbo/inst/control/sets/presets/load/rnbo/inst/control/sets/presets/loaded
So the preset system is clearly working, but I’d like to back up my preset list and preset data manually (for example before changing names or updating the system).
I checked the obvious places like:
/home/pi/var/www/opt/usr/share/rnbo-runner-panel/www/
but I couldn’t find a clear presets.json or a preset folder containing the graph preset names.
My question:
Where does RNBO Runner Panel / RNBO OSCQuery store the graph preset files on Raspberry Pi?
More specifically:
Are graph presets stored as files (JSON or similar)?
If yes, in which directory?
Or are they stored internally / dynamically somewhere else?
What is the recommended way to back them up?
Thanks a lot!
The data are store in a SQlite database. If remember right somewhere down the directory tree of /home/pi.
the DB is here: ~/Documents/rnbo/oscqueryrunner.sqlite
where ~ is /home/pi on the pi
Hi everyone,
Sorry for the late reply and thanks a lot for the help! In the meantime, I figured it out and confirmed the path.
For anyone else looking to backup or transfer their presets, here is the workflow I’m using (just replace <TARGET_IP>with your Pi's actual IP address):
1. To BACKUP (from Pi to your Computer)
Run this in your computer's terminal: scp pi@<TARGET_IP>:/home/pi/Documents/rnbo/oscqueryrunner.sqlite ~/Desktop/RNBO_Presets_Backup.sqlite
2. To RESTORE / TRANSFER (from Computer to Pi)
Run this in your computer's terminal: scp ~/Desktop/RNBO_Presets_Backup.sqlite pi@<TARGET_IP>:/home/pi/Documents/rnbo/oscqueryrunner.sqlite
3. RESTART the Service
After uploading, you must restart the RNBO service on the Pi via SSH for the changes to take effect: sudo systemctl restart rnbo-osc-query
One final note: On the target Pi, I had to re-export/re-upload the patches from Max/RNBO once. After doing that, everything worked perfectly and all presets were there!
Thanks again for pointing me in the right direction!
I use service:
sudo service rnbooscquery restart
BTW, we should have "package sharing" available soon for PI users.
Oh nice, thanks!