Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: thinbackup-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.454
    • Similar Issues:

      Description

      Hi there,

      First off, thinBackup is a super plugin. Just what I need.

      I'd like to request that you add support for backing up the "userContent" folder as well. If you don't want to hard code this path then could you at least give me a new option such as "Additional files included in backup (regular expression)" where I can specify the folder myself?

      Regards,
      Tom.

        Attachments

          Activity

          Hide
          tofuatjava Thomas Fürer added a comment -

          send via e-mail from sarchule@hotmail.com on March 13th, 2012:

          Hi Thomas, Matthias,

          From the thinBackup web page:

          "Please let us know if you would have another option or feature for this plugin by simply enter an issue or write us an email. THANKS"

          I've been using your thinBackup client and it's worked out great. We're now starting to take advantage of Jenkins built-in web server whose content is stored in the JENKINS_HOME\userContent folder. I'd like to request a feature such that content within this folder could optionally be included in the backup. The entry field for the settings might work similar to other plugins which allow a list of files (and wildcards) to be specified, but this is simply a suggestion.

          For example:
          Files within userContent folder to backup: index.html, topic1\foo.html, topic2\myfile.txt => backup specific files

          or

          Files within userContent folder to backup: ** => backup all folders and files, recursively

          or

          Files within userContent folder to backup: **.html => backup all .html files, recursively

          In keeping with the spirit of a "thin" backup, it would be sufficient to simply backup files directly under userContent or perhaps only specific files (first example above). However, obviously, it would be much more flexible if it could include any content (files or folders) within userContent.

          Thanks for considering this new feature,
          Steve

          Show
          tofuatjava Thomas Fürer added a comment - send via e-mail from sarchule@hotmail.com on March 13th, 2012: Hi Thomas, Matthias, From the thinBackup web page: "Please let us know if you would have another option or feature for this plugin by simply enter an issue or write us an email. THANKS" I've been using your thinBackup client and it's worked out great. We're now starting to take advantage of Jenkins built-in web server whose content is stored in the JENKINS_HOME\userContent folder. I'd like to request a feature such that content within this folder could optionally be included in the backup. The entry field for the settings might work similar to other plugins which allow a list of files (and wildcards) to be specified, but this is simply a suggestion. For example: Files within userContent folder to backup: index.html, topic1\foo.html, topic2\myfile.txt => backup specific files or Files within userContent folder to backup: ** => backup all folders and files, recursively or Files within userContent folder to backup: **.html => backup all .html files, recursively In keeping with the spirit of a "thin" backup, it would be sufficient to simply backup files directly under userContent or perhaps only specific files (first example above). However, obviously, it would be much more flexible if it could include any content (files or folders) within userContent. Thanks for considering this new feature, Steve
          Hide
          tfields Thomas Fields added a comment -

          Cool, another developer wanting the same thing as me. That's 3 votes now

          Show
          tfields Thomas Fields added a comment - Cool, another developer wanting the same thing as me. That's 3 votes now
          Hide
          tfields Thomas Fields added a comment -

          Is there any chance the "userContent" backup could be added to the thinBackup plugin? I think it would be a good addition.

          Show
          tfields Thomas Fields added a comment - Is there any chance the "userContent" backup could be added to the thinBackup plugin? I think it would be a good addition.
          Hide
          tfields Thomas Fields added a comment -

          I see that progress has started on this issue. Is there an ETA for when the work will be complete?

          Thanks,
          Tom.

          Show
          tfields Thomas Fields added a comment - I see that progress has started on this issue. Is there an ETA for when the work will be complete? Thanks, Tom.
          Hide
          tfields Thomas Fields added a comment -

          Sorry to be pushy....has any progress been made?

          Show
          tfields Thomas Fields added a comment - Sorry to be pushy....has any progress been made?
          Hide
          tfields Thomas Fields added a comment -

          Any progress made on this issue?

          Show
          tfields Thomas Fields added a comment - Any progress made on this issue?
          Hide
          tofuatjava Thomas Fürer added a comment -

          the work is almost done, but I need some time to test it. and I would also finish some other changes to release it. so please hold on...

          Show
          tofuatjava Thomas Fürer added a comment - the work is almost done, but I need some time to test it. and I would also finish some other changes to release it. so please hold on...
          Hide
          tofuatjava Thomas Fürer added a comment -

          Integrated in thinBackup #33
          fix for JENKINS-13059: Backup userContent folder too (Revision 40550)

          Result = SUCCESS
          tofuatjava : 40550
          Files :

          • /trunk/hudson/plugins/thinBackup/pom.xml
          • /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupMgmtLink.java
          • /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPeriodicWork.java
          • /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPluginImpl.java
          • /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java
          • /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/utils/Utils.java
          Show
          tofuatjava Thomas Fürer added a comment - Integrated in thinBackup #33 fix for JENKINS-13059 : Backup userContent folder too (Revision 40550) Result = SUCCESS tofuatjava : 40550 Files : /trunk/hudson/plugins/thinBackup/pom.xml /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupMgmtLink.java /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPeriodicWork.java /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPluginImpl.java /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java /trunk/hudson/plugins/thinBackup/src/main/java/org/jvnet/hudson/plugins/thinbackup/utils/Utils.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: tofuatgit
          Path:
          pom.xml
          src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupMgmtLink.java
          src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPeriodicWork.java
          src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPluginImpl.java
          src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java
          src/main/java/org/jvnet/hudson/plugins/thinbackup/utils/Utils.java
          http://jenkins-ci.org/commit/thin-backup-plugin/b5c183abe7ea46db1290c2e77f0654361641519c
          Log:
          fix for JENKINS-13059: Backup userContent folder too

          git-svn-id: https://svn.jenkins-ci.org/trunk/hudson/plugins/thinBackup@40550 71c3de6d-444a-0410-be80-ed276b4c234a

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: tofuatgit Path: pom.xml src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupMgmtLink.java src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPeriodicWork.java src/main/java/org/jvnet/hudson/plugins/thinbackup/ThinBackupPluginImpl.java src/main/java/org/jvnet/hudson/plugins/thinbackup/backup/HudsonBackup.java src/main/java/org/jvnet/hudson/plugins/thinbackup/utils/Utils.java http://jenkins-ci.org/commit/thin-backup-plugin/b5c183abe7ea46db1290c2e77f0654361641519c Log: fix for JENKINS-13059 : Backup userContent folder too git-svn-id: https://svn.jenkins-ci.org/trunk/hudson/plugins/thinBackup@40550 71c3de6d-444a-0410-be80-ed276b4c234a

            People

            • Assignee:
              tofuatjava Thomas Fürer
              Reporter:
              tfields Thomas Fields
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: