Status: Resolved (View Workflow)
Jenkins ver. 1.642.2, thinBackup 1.7.4
When trying to restore a backup on a fresh install, I've noticed that the secrets are missing and password cannot be encrypted. I understand why some users would not want to backup secrets, but in some cases this is really useful.
Could you add an option to backup the secrets folder as well?
Yes please! This could have saved us a week figuring out why passwords don't work when testing a restore.
So this weekend I wanted to see if I can write this feature for this plugin, then when I got the master branch running, I say the functionality is already there. I just hasn't been released to be available on the jenkins plugin store.
With this configuration I could backup all the keys there are in the secrets directory. With some tweaking of the regex you could probably match all the files in the secrets directory.
The source code for this has been done more than a year ago. Is there any plans to make this available from the plugin manager?
This regex works form me -
Sorry for the necro but chetan_sharma how did you come up with that regex? How come secrets/.* doesn't work?
Because of another bug, JENKINS-64490.
The whole point of the backup process is to be able to DR a new Jenkins. The secrets folder needs to be backed up for this to happen.