Encrypting the database

Another newbie question: How do I encrypt the database?

There are a few way to do this, and they are described here:
https://docs.duplicati.com/detailed-descriptions/the-server-database#securing-the-database

If the descriptions are not clear enough, let me know, and I will add more examples.

1 Like

Thank you! I’ve bookmarked “Duplicati Documentation” this time!

1 Like

Me again, sorry. I did read the relevant section of the documentation — more than once — but am still stuck. For instance:

To supply the field-level encryption password, start the Server, TrayIcon, or Agent with the commandline option --settings-encryption-key=<key> .

I start the server by double-clicking on an icon, so I don’t know how to add a commandline option. I do know how to access the commandline once Duplicati has started, but then where would I type --settings-encryption-key=<key> ? In the commandline argument box? And what would the command itself be? And is <key> to be replaced by our choice of password/key?

If you don’t have time to help me further (you’ve already helped me a lot), just forget it; my laptop never leaves my room anyway, so I probably don’t need the additional safety of an encrypted database.

The easiest way is to create a shortcut to that file.
Just right click somewhere and create a shortcut to the server executable.
Then edit the shortcut and add the commandline option to the shortcut arguments.

(If the icon you are double-clicking is already a shortcut, just edit that)

Now, when you start it, use the shortcut instead of the executable.

Should it look like this?

"C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe" --settings-encryption-key=<key>