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

columnstoreBackup copies only the softlink instead the data

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: advanced tools
    • Labels:

      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

            • Assignee:
              Unassigned
              Reporter:
              Richard Richard Stracke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: