Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-14214

DCB: Handle Archival of backups

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 30.0.0
    • None
    • Security Level: Default (Default Security Scheme)
    • None

    Description

      We should provide a configuration option for how long the device config backups should be retained.

      May be we can use period format here: PnYnMnD , ex: 1 yr - P1Y

      https://docs.oracle.com/javase/8/docs/api/java/time/Period.html

      Any configs older than configured time should be deleted.

      whenever we successfully update a config, just get all the configs where lastCreated < ( current time - period)

      If it is the only config for that specific interface, don't delete.

      if it is more than one and this config is not the latest config, delete

      Attachments

        Activity

          People

            stheleman Scott Theleman
            cgorantla Chandra Gorantla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: