-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Linux
I have made a tar.zip backup using Hudson and I want to restore that backup in to my Jenkins server. I have copied the backup file to the backup folder in Jenkins and when I restore it from the Jenkins UI I get the following error.
[ INFO] Restore started at [03/23/11 16:27:46]
[ INFO] Working into /root/.jenkins_restore directory
[ INFO] A old restore working dir exists, cleaning ...
[ INFO] Uncompressing archive file...
org.jvnet.hudson.plugins.backup.utils.compress.ArchiverException: Unable to extract /root/.jenkins/backup/backup_20110321_1509.zip.gz content to /root/.jenkins_restore
at org.jvnet.hudson.plugins.backup.utils.compress.AbstractUnArchiver.unArchive(AbstractUnArchiver.java:67)
at org.jvnet.hudson.plugins.backup.utils.RestoreTask.run(RestoreTask.java:94)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1
at org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod(ArchiveEntryUtils.java:65)
at org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver.extractFile(AbstractZipUnArchiver.java:257)
at org.codehaus.plexus.archiver.tar.TarUnArchiver.execute(TarUnArchiver.java:92)
at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:108)
at org.jvnet.hudson.plugins.backup.utils.compress.AbstractUnArchiver.unArchive(AbstractUnArchiver.java:62)
... 2 more
[ERROR] Error uncompressing archive : Unable to extract /root/.jenkins/backup/backup_20110321_1509.zip.gz content to /root/.jenkins_restore