[MCOL-1840]  columnstoreBackup copies only the softlink instead the data Created: 2018-10-29  Updated: 2023-10-26  Resolved: 2022-11-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.0.0
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: Richard Stracke Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: backup

Epic Link: Consolidate & Redevelop All Columnstore Tools (SDK, Adapters, Backup, Restore, mcsimport)

 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.



 Comments   
Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

Generated at Thu Feb 08 02:31:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.