Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Component/s: thinbackup-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.642.2, thinBackup 1.7.4
    • Similar Issues:

      Description

      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?

        Attachments

          Activity

          Hide
          lswithenbank Luke Swithenbank added a comment -

          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.

          Show
          lswithenbank Luke Swithenbank added a comment - 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.
          Hide
          trojanc Charl Thiem added a comment -

          Yes please! This could have saved us a week figuring out why passwords don't work when testing a restore.

          Show
          trojanc Charl Thiem added a comment - Yes please! This could have saved us a week figuring out why passwords don't work when testing a restore.
          Hide
          trojanc Charl Thiem added a comment -

          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.

          See screenshot
          ]

          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.

          https://github.com/jenkinsci/thin-backup-plugin
          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?

          Show
          trojanc Charl Thiem added a comment - 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. See screenshot ] 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. https://github.com/jenkinsci/thin-backup-plugin 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?
          Hide
          tofuatjava Thomas Fürer added a comment -

          should be part of 1.8.0

          Show
          tofuatjava Thomas Fürer added a comment - should be part of 1.8.0
          Hide
          chetan_sharma Chetan Sharma added a comment -

          This regex works form me -
          (.\.xml)|(secrets|.\.key|.\.KEY|.\.Secret|.\.secret|.\.mac|.\.MAC|.\.seed|.\.crumbSalt|.\.consoleAnnotator|.\.serverCookie|.-switch|whitelisted-callables\.d|.\.conf|filepath-filters\.d|.\.conf)$

          Show
          chetan_sharma Chetan Sharma added a comment - This regex works form me - (. \.xml)| (secrets|. \.key|. \.KEY|. \.Secret|. \.secret|. \.mac|. \.MAC|. \.seed|. \.crumbSalt|. \.consoleAnnotator|. \.serverCookie|. -switch|whitelisted-callables\.d|. \.conf|filepath-filters\.d|. \.conf)$

            People

            • Assignee:
              tofuatjava Thomas Fürer
              Reporter:
              pmr Philipp Moeller
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: