Plugin Information
Backup plugin allows archiving and restoring your Jenkins (and Hudson) home directory.
DescriptionThe Backup plugin adds a new Backup manager item in the Manage Jenkins page. This item allows (cf. screenshot below):
Version historyVersion 1.6.1 (08/04/2011)
Version 1.6 (12/10/2010)
Version 1.5 (07/01/2010)
Version 1.4.1 (02/21/2010)
Version 1.4 (02/11/2010)
Version 1.3
Version 1.2
Version 1.1
Version 1.0 (04/10/2009)
|
Backup Plugin
Skip to end of metadata
Go to start of metadata


Comments (16)
Nov 25, 2009
David Aldrich says:
Thanks for providing this plugin. I'm running 1.3 and get an error when I try t...Thanks for providing this plugin.
I'm running 1.3 and get an error when I try to backup to a mapped drive:
[ INFO] Full backup file name : H:\HudsonBackup\backup_20091125_1202.zip
ERROR org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: H:\HudsonBackup\backup_20091125_1202.zip (The system cannot find the path specified) (and the archive is probably corrupt but I could not delete it)
org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: H:\HudsonBackup\backup_20091125_1202.zip (The system cannot find the path specified) (and the archive is probably corrupt but I could not delete it)
at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:91)
at org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:85)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: H:\HudsonBackup\backup_20091125_1202.zip (The system cannot find the path specified) (and the archive is probably corrupt but I could not delete it)
at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd(BackupEngine.java:80)
at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:336)
at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:89)
... 2 more
[ INFO] Cancel hudson shutdown mode
[ INFO] Backup end at [11/25/09 12:02:50]
[ INFO] 5.922s
Also, I noticed that the help text on the plugin interface doesn't work.
David
Dec 22, 2009
boy.pockets says:
It seems that your todo list already has an item to schedule a back up (I think ...It seems that your todo list already has an item to schedule a back up (I think that is what "Backup planification" is supposed to mean
). Either way, it would be nice to have a weekly backup or something similar. Or maybe there is already a way to do this?
Thanks for the extension :)
Jan 17, 2010
calid - says:
Some issues in 1.3: In the setup menu under 'Backup Content' I am getting a ...Some issues in 1.3:
Otherwise great plugin, very useful!
Thanks
Feb 09, 2010
Alexander Popov says:
David Aldrich, I got this problem, when I tried to backup to map network disk. B...David Aldrich, I got this problem, when I tried to backup to map network disk. Backup to local disk executed successfully.
Apr 22, 2010
Jan De Bleser says:
The schedule the backup, I have created a job in hudson that runs every week fol...The schedule the backup, I have created a job in hudson that runs every week following command:
wget http://<hudson address>/backup/launchBackup &
Aug 19, 2010
Alan K says:
I just upgraded to 1.5 from 1.2 and get this error every time. [ INFO] Backup s...I just upgraded to 1.5 from 1.2 and get this error every time.
[ INFO] Backup started at [08/19/10 17:21:11]
[ INFO] Setting hudson in shutdown mode to avoid files corruptions.
[ INFO] Waiting all jobs end...
[ INFO] Number of running jobs detected : 0
[ INFO] All jobs finished.
[ INFO] Full backup file name : D:\TransferDataFolder\Hudson Backup_20100819_1721.zip
ERROR org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file
org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file
at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:91)
at org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:64)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file
at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd(BackupEngine.java:80)
at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:336)
at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:89)
... 2 more
[ INFO] Cancel hudson shutdown mode
[ INFO] Backup end at [08/19/10 17:21:17]
[ INFO] 6.031s
What is going on?
Aug 30, 2010
Romain Seguy says:
Don't you have any antivirus software which would access the zip file while it's...Don't you have any antivirus software which would access the zip file while it's being created?
Aug 26, 2010
David Aldrich says:
Hi I am running Hudson 1.373 with Backup plugin 1.5. I found today that i...Hi
I am running Hudson 1.373 with Backup plugin 1.5. I found today that if a backup is started from IE8, the backup file is written but the browser window stalls after:
[ INFO] Backup started at [08/26/10 09:54:30]
[ INFO] Setting hudson in shutdown mode to avoid files corruptions.
[ INFO] Waiting all jobs end...
[ INFO] Number of running jobs detected : 0
The browser never shows the backup as completed.
The browser commentary is correct when using Firefox 3.6.8.
Best regards
David
Dec 08, 2010
Henri Gomez says:
What about version 1.6 release ? Also I wonder if you plan to add backup profi...What about version 1.6 release ?
Also I wonder if you plan to add backup profiles (named).
ie defining one for backuping configuration files and another for full contents.
And allow user to backup using one of defined profils :
http://<hudson address>/backup/launchBackup?profile1
http://<hudson address>/backup/launchBackup?profile2
...
Regards
Dec 08, 2010
Romain Seguy says:
Yep, I'll release it on Friday. For the notion of profile, please open a JIRA is...Yep, I'll release it on Friday.
For the notion of profile, please open a JIRA issue to track your request. If you implement it, that would be good as I don't have much time for that.
Dec 08, 2010
Henri Gomez says:
Good news for 1.6 release. Jira created : http://issues.jenkins-ci.org/browse/...Good news for 1.6 release.
Jira created :
http://issues.jenkins-ci.org/browse/JENKINS-8256
Dec 10, 2010
Romain Seguy says:
Release 1.6 delivered today.Release 1.6 delivered today.
Apr 14, 2011
Ed Randall says:
Please please please Will you "Backup plugin", "thinBackup plugin", "Exclusive ...Please please please
Will you "Backup plugin", "thinBackup plugin", "Exclusive execution plugin" and others get together and make a single fully-functional backup plugin.
It's just too confusing for the rest of us ...
Thanks!
Apr 14, 2011
Romain Seguy says:
+1 Cf. the Before starting a new plugin page I've added.+1
Cf. the Before starting a new plugin page I've added.
Sep 05, 2012
rafik d says:
hello, I installed backup plugin and I could generate the backup with backup no...hello,
I installed backup plugin and I could generate the backup with backup now but when I want to check with restore I have this message error:
[ INFO] Restore started at []
[ INFO] Working into /var/lib/jenkins_restore directory
[ INFO] A old restore working dir exists, cleaning ...
ERROR Unable to delete /var/lib/jenkins_restore
I had another error message before and I thought that was permission problem so I change the owndership of that directory to "jenkins" user and group (creating the jenkins_restore directory). I am not sure what I am missing
[ INFO] Restore started at []
[ INFO] Working into /var/lib/jenkins_restore directory
[ INFO] Uncompressing archive file...
org.jvnet.hudson.plugins.backup.utils.compress.ArchiverException: Unable to created directory /var/lib/jenkins_restore
at org.jvnet.hudson.plugins.backup.utils.compress.AbstractUnArchiver.unArchive(AbstractUnArchiver.java:52)
at org.jvnet.hudson.plugins.backup.utils.RestoreTask.run(RestoreTask.java:94)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Unable to create directory /var/lib/jenkins_restore
at org.apache.commons.io.FileUtils.forceMkdir(FileUtils.java:1488)
at org.jvnet.hudson.plugins.backup.utils.compress.AbstractUnArchiver.unArchive(AbstractUnArchiver.java:48)
... 2 more
ERROR Error uncompressing archive : Unable to created directory /var/lib/jenkins_restore
I need to make backup and also testing to migrate that to other jenkins instance in other server (more easy way to create different instance with same configuration)Thank you in advance!
Jun 09, 2014
SHINGO Furuyam says:
It seems that the link for Subversion is already out of dated. https://gith...It seems that the link for Subversion is already out of dated. https://github.com/jenkinsci/backup-plugin may correct.
Add Comment