Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19670

Periodic Backup Manager plugin fails when temporary directory is not set or is invalid

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      when no temporary directory is set or is invalid, when creating backup i get the warning in log file:

      sep 16, 2013 4:38:41 EM WARNING org.jenkinsci.plugins.periodicbackup.PeriodicBackup execute
      Backup failure Could not create archive A:\backup_2013_09_16_16_38_41_900_1.zip Problem creating zip: \backup_2013_09_16_16_38_41_900_1.zip (Access is denied) (and the archive is probably corrupt but I could not delete it)
      sep 16, 2013 4:38:41 EM INFO hudson.model.AsyncPeriodicWork$1 run
      Finished PeriodicBackup. 16 ms

      UI user has no idea, backup is created or not.

        Attachments

          Activity

          Hide
          ciziunas Marius Ciziunas added a comment -

          When no temporary directory is set, plugin tries to copy the temporary backup files to root folder. Permissions might not be granted and backup is not created, moreover the UI user has no warning about it. Solved.

          https://github.com/ciziunas/periodicbackup-plugin.git

          Show
          ciziunas Marius Ciziunas added a comment - When no temporary directory is set, plugin tries to copy the temporary backup files to root folder. Permissions might not be granted and backup is not created, moreover the UI user has no warning about it. Solved. https://github.com/ciziunas/periodicbackup-plugin.git

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ciziunas Marius Ciziunas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: