[MDEV-28925] mariabackup: Write xtrabackup_* files as actual files even with --stream=mbstream Created: 2022-06-22  Updated: 2022-07-13  Resolved: 2022-06-22

Status: Closed
Project: MariaDB Server
Component/s: Backup
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Hartmut Holzgraefe Assignee: Unassigned
Resolution: Not a Bug Votes: 2
Labels: None


 Description   

Right now when using the --stream=... option everything gets written to the stream only, including the xtrabackup_* files like xtrabackup_checkpoints which is required for incremental backups.

So right now streaming compression / encryption can't be combined with incremental backups without uncompressing the created streaming backup file first before taking the next incremental backup.

By having an option to write these files to both the stream and the regular target directory incremental backups would be possible without having to touch the actual stream file at all. Also the xtrabackup_* files are very small, and do not contain any sensitive information, so having these stored uncompressed/unencrypted alongside with the actual backup stream should not add any significant extra burden or security risk.

Or the xtrabackup_* files could even always be written even when using --stream mode, so that there wouldn't be a need for an extra option.



 Comments   
Comment by Hartmut Holzgraefe [ 2022-06-22 ]

Ignore this request, --extra-lsndir already provides exactly what I requested here.

https://mariadb.com/kb/en/mariabackup-options/#-extra-lsndir

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