[MDEV-30564] Misleading error message if mariadb-backup --decompress option is in use Created: 2023-02-03  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Backup, Documentation
Affects Version/s: 10.6.11
Fix Version/s: 10.6, 10.11

Type: Bug Priority: Minor
Reporter: Timofey Turenko Assignee: Alexander Barkov
Resolution: Unresolved Votes: 0
Labels: None


 Description   

if mariadb-backup gets --prepare and --decompress options simultaneously it gives misleading error "--decompress and --apply-log are mutually exclusive"

[vagrant@build ~]$  sudo mariadb-backup  --prepare --target-dir=backup_prepare/base_backup_dir  --decompress 
[00] 2023-02-03 15:16:43 Error: --decompress and --apply-log are mutually exclusive

There is no --apply-log in the command

btw, --apply-log and --prepare docs are also a bit misleading - see MDEV-29885


Generated at Thu Feb 08 10:17:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.