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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.0, 3.4.0, 3.9.0
    • Fix Version/s: 3.11.0
    • Component/s: Backup, Documentation
    • Labels:
    • Story Points:
      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

            Assignee:
            mbucher Michael Bucher
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Peter Lynch
            Team:
            Nexus - Platform
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title