Hello, I installed the above application so I can backup to my NAS. I've gone to the dashboard but its asking for a password. I've never set one and I cant find it anywhere in the logs. Appreciate the info!
6 replies
tomspark wrote:
SparkBox auto-generates the Duplicati password at install time — you don't have to set one. Two ways to find it: 1. Dashboard tile method: SparkBox dashboard → Backups tile → click the credentials icon (key shape) → reveals the password. 2. Terminal: sudo grep '^DUPLICATIPASSWORD=' /opt/sparkbox/.env | cut -d= -f2- Either path returns the same value. Username on Duplicati's login is admin. Heads up: the same value is also the encryption key for any backups you create, so save it somewhere safe — without it you can't restore an encrypted backup.
waffle38930 wrote:
Great thanks! What do you recommend backing up? The entire system or a specified path?
tomspark wrote:
For backups, path-by-path is the way — whole-system is overkill. The two SparkBox dirs that matter: /opt/sparkbox/state/ (passwords + license, tiny) and /opt/sparkbox/.env (your config). Add your MEDIAROOT only if you don't want to re-download your library after a rebuild — most folks treat media as replaceable. Skip /opt/sparkbox/modules//config/ unless you've heavily customized (Pi-hole rules, Vaultwarden vault). Also — just shipped v1.6.108. After sudo sparkbox update, the Backups tile's credentials icon shows the Duplicati password directly, no more grepping .env.
waffle38930 wrote:
Error while running SparkBox Server Backup aborted since the source path /opt/sparkbox/state/ does not exist. Please verify that the source path exists, or remove the source path from the backup configuration, or set the allow-missing-source option. What might be causing this? Thanks for taking the time going through it with me
tomspark wrote:
Ah, that's on me — those are host paths, but Duplicati only sees what's mounted into its container. Same paths inside Duplicati: - /source/sparkbox-state (= host /opt/sparkbox/state) - /source/sparkbox-modules (= host /opt/sparkbox/modules, optional) - /source/data (= your MEDIAROOT, optional) For the essential backup, point Duplicati at /source/sparkbox-state. Honest gap: /opt/sparkbox/.env isn't currently mounted into Duplicati, so you can't include it from the UI. Quick workaround until I ship the fix — copy it into the state dir which IS mounted: sudo cp /opt/sparkbox/.env /opt/sparkbox/state/env.backup sudo chmod 600 /opt/sparkbox/state/env.backup Patching the mount in the next release.
tomspark wrote:
Heads up — just shipped 1.6.109 with the .env mount fix. Run sudo sparkbox update && sudo sparkbox restart backup, then in Duplicati's job add /source/sparkbox-env as a source alongside /source/sparkbox-state. Your .env will be in the next backup run.