[MDEV-15361] unable to pass value to mariabackup --rsync option Created: 2018-02-20  Updated: 2018-03-17

Status: Open
Project: MariaDB Server
Component/s: Backup
Fix Version/s: None

Type: Task Priority: Major
Reporter: Zdravelina Sokolovska (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: Text File bckp_logs.txt    

 Description   

unable to pass value to mariabackup --rsync option
currently pass values the --rsync is ignoring rsync and backup is performed with a default
cp

[feature request]

pass rsync options as value to --rsync option of mariabackup
for example
mariabackup --backup| --copy-back --rsync=avrP



 Comments   
Comment by Vladislav Vaintroub [ 2018-02-20 ]

--rsync currently does not accept options. please provide the backup or copy-back log of failed rsync,

Comment by Vladislav Vaintroub [ 2018-02-21 ]

it says

 Warning: mariabackup: ignoring option '--rsync' due to invalid value 'avrP'

what happens if you just use --rsync, as documented?

Comment by Zdravelina Sokolovska (Inactive) [ 2018-03-06 ]

if use just --rsync it's invoked rsync tool
180306 10:36:57 Starting rsync as: rsync -t . --files-from=/tmp/xtrabackup_rsyncfiles_pass2 /var/mariadb/sheet/
180306 10:36:57 rsync finished successfully.

but that's a feature request about the ability to
pass rsync options as value to --rsync option of mariabackup

Comment by Vladislav Vaintroub [ 2018-03-06 ]

I'm not that familiar with rsync . What can you combine with --files-from and -t? What option would make sense ? If there is something that makes sense, we can hardcode it instead of having an option.

Generated at Thu Feb 08 08:20:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.