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

The backup archive folders are not getting deleted following retention. The max number of backup sets is 4 but we have backup folders for last 6 months stored in backup folder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: thinbackup-plugin
    • Labels:
      None
    • Environment:
      Version is 2.176.1. Linux OS
    • Similar Issues:

      Description

      The backup folders are retained even after the configured retention. This fills the space and disk will ran out of space eventually.

        Attachments

          Issue Links

            Activity

            bmathew Bibin created issue -
            Hide
            krulls Stephan Krull added a comment -

            Bibin: Meanwhile you might have found the root cause but here is what we found from time to time: This is usually caused by a failure in the backup process. Check the Jenkins logs and search for "thin" or "backup". When the backup process runs into any exception it seems to keep processing the backup but not triggering the rotation of old backups.

            We worked around by checking the number of backups in the folder daily and act immediately if there are more than the expected number of backups. As I said it usually is caused by an exception in the backup process and you need to handle it manually (e.g. by deleting some outdated job folders), see e.g. https://github.com/jenkinsci/thin-backup-plugin/pull/24.

            Show
            krulls Stephan Krull added a comment - Bibin : Meanwhile you might have found the root cause but here is what we found from time to time: This is usually caused by a failure in the backup process. Check the Jenkins logs and search for "thin" or "backup". When the backup process runs into any exception it seems to keep processing the backup but not triggering the rotation of old backups. We worked around by checking the number of backups in the folder daily and act immediately if there are more than the expected number of backups. As I said it usually is caused by an exception in the backup process and you need to handle it manually (e.g. by deleting some outdated job folders), see e.g. https://github.com/jenkinsci/thin-backup-plugin/pull/24 .
            Hide
            krulls Stephan Krull added a comment -

            I think this issue here is also kind of related: JENKINS-67479

            Show
            krulls Stephan Krull added a comment - I think this issue here is also kind of related: JENKINS-67479
            krulls Stephan Krull made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-67479 [ JENKINS-67479 ]

              People

              Assignee:
              tofuatjava Thomas F├╝rer
              Reporter:
              bmathew Bibin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: