Skip to main content
The backups service lets you store and retrieve arbitrary configuration data on the BlueBubbles Server. It exposes two independent backup categories: settings and themes. You define the shape of the data — the server stores it by name and returns it on demand. This is useful for syncing client app configuration across multiple devices without needing your own storage backend. Access the service through client.backups.

Settings backups

getSettings()

Returns all settings backups saved to the BlueBubbles Server. Signature
Example

saveSettings()

Saves a settings configuration to the server under a given name. The name and data fields are required. The structure of data is up to your client — the server stores it as-is. Signature
Request body parameters
string
required
A unique display name for this settings backup. Recommended format: "SettingsBackup - YYYY/MM/DD".
object
required
Your client’s configuration data as a plain object. The server does not validate the shape — any JSON-serializable object is accepted.
Example
If you save a backup with a name that already exists, the server will overwrite the previous entry. Use distinct names (e.g., date-stamped) to retain multiple snapshots.

deleteSettings()

Deletes a settings backup by name. Signature
Example
Deletion is permanent. Retrieve the backup with getSettings() and confirm the name before calling this method.

Theme backups

getThemes()

Returns all theme backups saved to the BlueBubbles Server. Signature
Example

saveTheme()

Saves a theme configuration to the server under a given name. Like settings backups, the name and data fields are required and the shape of data is defined by your client. Signature
Request body parameters
string
required
A unique display name for this theme. Example: "OLED Dark".
object
required
Your theme’s configuration as a plain object. Include whatever color, font, and layout values your client understands.
Example

deleteTheme()

Deletes a theme backup by name. Signature
Example
Use getThemes() to list available theme names before deciding which one to delete.