Commit Graph
2 Commits
Author SHA1 Message Date
Kenneth Skovhede a522e251db Reworked logic for the option to minimize chances that someone accidentially chooses to store unencrypted passphrases.
To reduce logic bugs a separate ResolvedTaskConfigMode extracts the 3 different dimensions of the selection, and a test is added to ensure it behaves as expected.
2026-06-17 16:03:06 +02:00
Kenneth Skovhede dcaba2fbcd Store configuration with backup
This PR revives the `store-task-config` option that was never shown in the user interface and extends the feature to allow more flexibility in exporting the configurations.

The `Auto` setting is now on by default. For encrypted backups, this will store the backup configuration of the current backup with the backup for easy restore of a configuration.

For unencrypted backups, nothing will be stored by default.

To manually pick the what backup configurations are stored, the following options are also available:
- None: no configuration is stored
- Self: The configuration of the current backup is stored
- All: The configurations of all backups are stored

If the backup is not encrypted, the data is stored without any secrets (encryption keys, passphrases, passwords, api-keys, etc).

To override this, the following two options are also present:
- SelfWithForcedSecrets
- AllWithForcedSecrets

Using one of these when encryption is enabled has no additional effects, but for unecrypted backups this will include all secrets in the backups in plain-text.

This fixes #6256
This fixes #3073
2026-06-17 12:04:43 +02:00