Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1840

columnstoreBackup copies only the softlink instead the data

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • 1.0.0
    • Icebox
    • None

    Description

      columnstoreBackup copies only the softlink instead the data.

      If for example

      /usr/local/mariadb/columnstore/data1
      is a soft link, columnstoreBackup backup only the softlink himself not the data.

      In the code of columnstoreBackup I found the following.

      ## setup rsync option lists
      rsyncCommand="rsync "
      rsyncOptions="-a "
      

      -a is equivalent to -rlptgoD

      This includes -l option, which is described as
      "When symlinks are encountered, recreate the symlink on the destination."

      -L do the opposite, so probably replacing

      rsyncOptions="-a "

      with

      rsyncOptions="-rLptgoD "

      would fix this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Richard Richard Stracke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.