[JIRA] (JENKINS-10947) Can full backups include the plugins folder?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] (JENKINS-10947) Can full backups include the plugins folder?

JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-10947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161095#comment-161095 ]

Zac Campbell commented on JENKINS-10947:
----------------------------------------

I second the feature to automatically install plugins during the install.

I've been trialling this plugin and having to install the plugins manually is a pain but I have some experiences to share with other users.

The most difficult part is that the string saved in installedPlugins.xml (//plugins/entry/string) does not represent the plugin name in the Jenkins Plugin manager. You have to correlate the name between this field and the Plugin ID on the plugin's page.

(As an aside the name in the Available plugins changes to a different field when it becomes listed in Installed plugins too)

I have however ascertained that you can restore your backed up config, install the plugins (via the Plugin Manager) and the job will retain the backed up settings provided the job has not modified and saved inbetween those two steps.
               

> Can full backups include the plugins folder?
> --------------------------------------------
>
>                 Key: JENKINS-10947
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-10947
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: thinBackup
>    Affects Versions: current
>            Reporter: William Zhang
>            Assignee: Thomas F├╝rer
>
> Can full backups include the plugins folder? it only back users and jobs folder
> {quote}
> ls -ltr /var/jenkins/backup/FULL-2011-09-09_05-00/
> -rw-r--r--  1 jenkins jenkins  215 Aug 24 16:10 hudson.triggers.SCMTrigger.xml
> -rw-r--r--  1 jenkins jenkins   76 Aug 24 16:10 hudson.tasks.Shell.xml
> -rw-r--r--  1 jenkins jenkins  132 Aug 24 16:10 hudson.tasks.Maven.xml
> -rw-r--r--  1 jenkins jenkins  514 Aug 24 16:10 hudson.tasks.Mailer.xml
> -rw-r--r--  1 jenkins jenkins  128 Aug 24 16:10 hudson.tasks.Ant.xml
> -rw-r--r--  1 jenkins jenkins  666 Aug 24 16:10 hudson.scm.SubversionSCM.xml
> -rw-r--r--  1 jenkins jenkins  179 Aug 24 16:10 hudson.scm.CVSSCM.xml
> -rw-r--r--  1 jenkins jenkins  353 Aug 24 16:10 hudson.plugins.skype.im.transport.SkypePublisher.xml
> -rw-r--r--  1 jenkins jenkins  188 Aug 24 16:10 hudson.plugins.mercurial.MercurialInstallation.xml
> -rw-r--r--  1 jenkins jenkins  713 Aug 24 16:10 hudson.plugins.ircbot.IrcPublisher.xml
> -rw-r--r--  1 jenkins jenkins  698 Aug 24 16:10 hudson.maven.MavenModuleSet.xml
> -rw-r--r--  1 jenkins jenkins  694 Sep  5 18:22 backup.xml
> -rw-r--r--  1 jenkins jenkins  526 Sep  6 11:57 thinBackup.xml
> -rw-r--r--  1 jenkins jenkins 5399 Sep  6 18:08 config.xml
> -rw-r--r--  1 jenkins jenkins  159 Sep  7 10:50 hudson.model.UpdateCenter.xml
> -rw-r--r--  1 jenkins jenkins  907 Sep  7 10:50 nodeMonitors.xml
> drwxr-xr-x 19 jenkins jenkins 4096 Sep  9 05:00 jobs
> drwxr-xr-x  4 jenkins jenkins   34 Sep  9 05:00 users
> -rw-r--r--  1 jenkins jenkins 2010 Sep  9 05:00 installedPlugins.xml
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira