Entire configuration backup

We have discussed this quite a bit before, both @renestac and @agrajaghh have suggested different ways to accomplish this.

Storing it is already implemented. Simply add the advanced (and undocumented) option --store-task-config=all (or --store-task-config=this). There is not a way to extract the configurations, but the code to do so is implemented in ListControlFiles.cs and RestoreControlFiles.cs.

The problem is that the database contains sensitive information (logins etc) and if you store the database with all backups, you are really spreading the sensitive information to many different sources, some which may be unencrypted.

When it comes to restoring the configuration, you need to enter: encryption passphrase, destination and credentials. After this the configuration can be downloaded, but you just entered most of the information that is stored. The rest of the information (paths etc) are unlikely to have meaning on the system you are restoring on.

1 Like