We don't rely on plugins to backup our Jenkins but rather use our own scripts 
that run directly OS/file system level. Maybe you should do that too?

-----Ursprüngliche Nachricht-----
Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von David Aldrich
Gesendet: Freitag, 29. November 2013 10:05
An: jenkinsci-users@googlegroups.com
Betreff: Jenkins backup problem

Hi

 

We run Jenkins 1.509.4 LTS on Centos 5.9.  We have used the Hudson backup 
plugin for several years without problem, but the backups recently started to 
fail with this type of error:

 

[ INFO] Backup started at [11/29/13 08:33:00]

[ 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 : /Hudson_backup/backup_20131129_0833.zip

[ERROR] org.codehaus.plexus.archiver.ArchiverException: Failed to read 
filesystem attributes for: 
/var/lib/jenkins/config-history/jobs/myjob/2013-11-27_08-09-33/config.xml

org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: Unable to 
add config-history/jobs/myjob/2013-11-27_08-09-33/config.xml

        at 
org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:115)

        at 
org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:130)

        at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: Unable to add 
config-history/jobs/myjob/2013-11-27_08-09-33/config.xml

        at 
org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleFile(BackupEngine.java:90)

        at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:367)

        at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364)

 

The error recurs for random files.  This seems to be problem 
https://issues.jenkins-ci.org/browse/JENKINS-5968, which is unresolved and 
appears to be stuck.

 

We need a reliable backup strategy.  Any suggestions what we should do please?

 

Best regards

 

David

 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to