Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-13901

Creating backup into symlinked directory fails

    XMLWordPrintable

Details

    Description

      Fix is to switch path to canonical form in Bamboo backup routine.

      2014-05-11 00:00:04,471 ERROR [QuartzScheduler_Worker-8] [ScheduledBackupJob] java.io.FileNotFoundException: /opt/atlassian/bamboo-home/backups/bamboo_backup_2014_05_11.zip/db-export/users.xml
      java.io.FileNotFoundException: /opt/atlassian/bamboo-home/backups/bamboo_backup_2014_05_11.zip/db-export/users.xml
      	at de.schlichtherle.truezip.file.TFileOutputStream.newOutputStream(TFileOutputStream.java:147)
      	at de.schlichtherle.truezip.file.TFileOutputStream.<init>(TFileOutputStream.java:116)
      	at com.atlassian.bamboo.migration.XmlMigrator.exportXml(XmlMigrator.java:424)
      	...
      Caused by: java.io.EOFException
      	at de.schlichtherle.truezip.rof.AbstractReadOnlyFile.readFully(AbstractReadOnlyFile.java:37)
      	at de.schlichtherle.truezip.rof.AbstractReadOnlyFile.readFully(AbstractReadOnlyFile.java:27)
      	at de.schlichtherle.truezip.zip.RawZipFile.checkZipFileSignature(RawZipFile.java:172)
      	...
      	Suppressed: java.nio.file.FileSystemException: /opt/atlassian/bamboo-home/backups/bamboo_backup_2014_05_11.zip/db-export: Not a directory
      		at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
      		at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      		...
      

      Attachments

        Activity

          People

            pskierczynski Pawel Skierczynski
            ssetayeshfar Sepideh Setayeshfar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: