Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
-
1.0.0
-
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.