Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3805

Backup client fails if backup directory starts with same string as Stash home

    XMLWordPrintable

Details

    Description

      The backup client dies if it thinks the backup directory is in Stash home. Unfortunately, the detection is string-based. For instance, the following fails:

      Stash home: /opt/stash
      Backup home: /opt/stash-backups

      Both paths start with /opt/stash even though stash-backups is a different directory.

      The backup client should be walking the directory structure instead of just doing a string compare.

      Attachments

        Activity

          People

            mheemskerk Michael Heemskerk (Inactive)
            bplump Brent P
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: