Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-14493

directory to restore backups from should not be named "backup"

Details

    • 2

    Description

      The Database backup scheduled task asks for a directory to store database backups within.

      Naturally some users would want to store this some place under their existing karaf.data directory in a directory named 'backup.

      Unfortunately Nexus allows this, which means next time they try to start nexus, an automatic restore will be attempted.

      Worse, if there are more than two backups there, Nexus will not even start.

      Expected

      • explicitly do not allow the task which performs backup to accept a target location which is the same location from which a restore will automatically take place
      • change the default restore location from ${karaf.data}/backup to something much more obvious, like ${karaf.data}/restore-from-backup 
      • do not worry about backwards restore compatibility to the old restore location - it was just a bad idea

      Attachments

        Activity

          People

            mbucher Michael Bucher
            plynch Peter Lynch
            Peter Lynch Peter Lynch
            Nexus - Platform
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              tigCommentSecurity.panel-title