Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-20072

Enterprise Backup cbbackupmgr config fails to create archive on vboxsf filesystem

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      When using vagrant provisioning with virtualbox the folder /vagrant inside the VM by default is a synced folder which is accessible by the host OS. See https://www.vagrantup.com/docs/synced-folders/ This is done using virtualbox vboxsf filesystem See https://help.ubuntu.com/community/VirtualBox/SharedFolders

      The VirtualBox shared file system (vboxsf) doesn't support POSIX permission syscalls, they have to be set at mount time. This seemingly breaks the creating of a new backup archive.

      /opt/couchbase/bin/cbbackupmgr config --archive /vagrant/backups --repo example 
      Backup repository creation failed: lstat /vagrant/backups/lock.lk: no such file or directory
      

      Using sudo also fails, creating the archive to any other filesystem works fine.

      An empty logs directory is created, I don't see any methods for a verbose option to give more details.

      Attachments

        Issue Links

          Activity

            People

              pvarley Patrick Varley (Inactive)
              ianmccloy Ian McCloy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty