Skip to content

Settings ​

The Settings page holds what applies to the whole instance: its name and clock, the system tasks, the notifications, the records DBackup keeps of itself, the configuration backup, how people sign in and what a password needs. Looking at it needs settings:read, changing anything needs settings:write.

The Page ​

The parts sit on the left in three groups, System, Data and Security. Beside each name stands its state when it has one, like how many notification events are on, the size of the database, a configuration backup that is Off or the days a certificate has left. A state in amber or red needs a look.

The search above the parts finds a setting by the start of its words, so backup finds Include the history of the configuration backup but not every mention of DBackup. The parts without a hit are dimmed, and a click on a hit opens its part and marks the setting for a moment. A system task or a notification event opens its Edit dialog right away.

Changes wait in a bar at the foot of the part, which names each change with its value before and after. Save changes saves the whole part, Discard goes back to what is saved. Leaving a part with changes that are not saved asks first.

On a phone the parts are a list with their state, and a part opens as a page of its own with an arrow back to the list.

Someone who may only read the settings sees every value and a line on top that says why nothing can be changed.

General ​

SettingWhat it doesDefault
NameShown on top of the sidebar and in the browser tab as DBackup | Name. Empty shows DBackup alone.Empty
Time zoneThe clock of every schedule, of the file names and of the retention. The line below it says what 03:00 there is in UTC.UTC
Runs at the same timeHow many backups run at once. A running restore or integrity check takes a run too.1
Fail a run that stops reporting afterFails a backup or restore that reports no progress for this long, so it gives its run back. Never turns it off.6 hours
Look for new versionsAsks GitHub for the newest release, marks a new version with a blue dot on the right of the header and reports it once a day. Off, DBackup never asks.On
Show Quick Setup in the sidebarKeeps Quick Setup in the sidebar. It shows by itself while no database is set up.Off

See Timezones for how the time zone of the scheduler and the one of your profile work together.

System Tasks ​

What DBackup does by itself, each on its own schedule in the time zone of General.

TaskScheduleOn by defaultFollows
Health checksEvery minuteYes
Stuck run watchdogEvery 5 minutesYesFail a run that stops reporting after under General
Database versionsEvery hourYes
Storage statisticsEvery hourYes
Backups page cacheEvery hourYes
Clean old dataEvery day at 00:00Yes
Check for updatesEvery day at 00:00YesLook for new versions under General
SuperAdmin permissionsEvery day at 00:00Yes
Configuration backupEvery day at 03:00NoBack up the configuration under Configuration backup
Integrity checkSundays at 04:00No
Optimize the databaseThe 1st of the month at 05:00Yes

A task that follows a setting has one switch, the one of that setting. Switching the task off sets it off there too, and the other way round. Switching the stuck run watchdog on again brings back the timeout of 6 hours.

The list shows each schedule in words with the next run, and the last run with how long it took or what it did, like 2,418 removed or v3.4.0 is current. A run that needs a look shows in amber, and A problem above the list shows only those tasks. The switch of a row turns a task on and off at once.

A click on a task opens its Edit dialog:

  • Run on the schedule and Run when DBackup starts. A task set to run at start runs once, ten seconds after DBackup started, and only while it is on.
  • Schedule, picked like the schedule of a job: hourly, daily, weekly, monthly or a cron expression, with the next runs below it.
  • For the integrity check, What it checks (the backups of jobs or every file of every destination), Skip backups that passed, Only backups newer than and Skip files larger than. See Backup Verification.

Run now starts a task at once and does not wait for it. The row shows it running and its outcome when it ends. A run of the integrity check opens in History.

Notifications ​

Every event DBackup reports as a row with the channels it goes to, its reminder and its switch. The Default channels strip on top names where every event goes unless it has its own, and Change picks them.

  • A click on an event opens its Edit dialog: Report it, Send it to the default channels or its own, Tell the user too for the sign-in events and Remind while it lasts for events that last. Send a test in its foot sends a sample.
  • Ticked events go on, off or to other channels together with Switch on, Switch off and Send to.
  • An event that is on without a channel to go to says Nowhere yet in amber, and the part shows how many there are.

A change here saves at once, without the bar at the foot. See Notifications for every event and what it reports.

Data ​

Data retention and Database are described in Data Retention & Database, Recently deleted in Recently Deleted and Configuration backup in System Backup.

Sign-in ​

SettingWhat it doesDefault
Login pageWhat the left of the login page shows beside the name of the instance: the logos of every adapter in rows that drift, or a picture of your own. A picture is a PNG, JPG or WebP up to 5 MB, best at least 1600 px wide. Everyone who opens the login page sees it, and it is part of the configuration backup.DBackup logos
Sessions lastHow long someone stays signed in. A new length applies from their next sign-in.7 days
Sign in with a passkeyThe passkey button on the login page. A passkey as second factor keeps working either way.On

A picture is kept the moment it is dropped and shows once Your own image is saved. Remove deletes it, and the login page shows the logos again. The logos stand still for anyone whose system asks for reduced motion.

DISABLE_EMAIL_LOGIN=true on the container turns the password sign-in off, and the part shows whether it is. While it is off and no sign-in provider is on, a passkey is the only way in, so its button cannot be turned off. The sign-in providers are set up under Users & Groups, see SSO / OIDC.

Passwords ​

What a new password needs: the one of a new user, one an admin sets, the change of one's own and the first account. Strength picks a level that fills in the rules below it, and changing a rule makes it Custom.

LevelA new password needs
Basic8 characters or more, nothing else. What DBackup asked before the rules.
Standard12 characters or more, an upper and a lower case letter and a number, and not the name or the email. The level of a new instance.
Strong16 characters or more, an upper and a lower case letter, a number and a special character, and not the name or the email.
RuleWhat it does
Minimum lengthFrom 8 to 128 characters.
Upper case letters, Lower case letters, NumbersAt least one of each that is on.
Special charactersAt least as many as set, from 1 to 8. Every character that is no letter, number or space counts, like # or €.
Not the name or the emailRefuses a password that holds a word of the name or of the email before the @, from 3 letters on.

Below the rules they stand in one sentence, beside a password Generate would make. Generate makes 16 characters, or the minimum length when it is longer, and its special characters are only ! @ * - _ ., which every keyboard has and no shell or URL trips over.

The fields of a new password tick off each rule as it holds, and the server refuses a password that breaks one, whichever way it comes in. Passwords that are set stay valid, the rules apply from their next change. An instance that ran before the rules keeps Basic after the update.

HTTPS ​

The certificate DBackup answers with, from /data/certs: who it is issued to and by, until when it is valid, its SHA-256 fingerprint and the names it is valid for. From 30 days before its end the part warns.

  • Upload certificate takes a certificate and its private key in PEM format. RSA, EC and Ed25519 keys are checked against the certificate before anything is replaced.
  • Make a new self-signed one makes a certificate for a year. The old one stays when that fails.

A new certificate applies after a restart of DBackup. DISABLE_HTTPS=true on the container turns HTTPS off, for example behind a proxy that encrypts the way to it.

Rate Limits ​

How many requests one address may make in a time window. See Rate Limits.

Privacy ​

Name who started a backup in its metadata writes the name of the person or the API key that started a backup into the .meta.json beside it. That file is not encrypted, so anyone who reads the destination reads it. Off, the file only says whether a schedule, a person or an API key started the backup. On by default.

Who May Change What ​

  • settings:read shows the page, settings:write changes it, starts the system tasks, sends test notifications and optimizes the database.
  • New channel under Notifications also needs notifications:write.
  • Only a SuperAdmin restores a configuration backup and downloads the database, see Groups & Permissions.
  • Every change writes an entry to the Audit Log with the values before and after.

Released under the GNU General Public License. | Privacy · Legal Notice