[MDEV-24723] Feature Request: mariabackup should memorize ownership of files Created: 2021-01-28  Updated: 2021-02-15

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

Type: Task Priority: Minor
Reporter: Oli Sennhauser Assignee: Ralf Gebhardt
Resolution: Unresolved Votes: 0
Labels: mariabackup, restore

Issue Links:
Blocks
blocks MDEV-14976 Service mysql fail to start after res... Closed
blocks MDEV-16076 missing details about expected data-d... Closed

 Description   

After restore with mariabackup --copy-back the files have to be chown'd because in the majority of cases the restore is performed as O/S user root and not as O/S user mysql.

This is an additional unnecessary error prone step. It would be really nice if mariabackup would store the ownership (and also umask?) of each file during backup and would also restore those owenerships during restore.

Should note be a big deal...

See also:
https://jira.mariadb.org/browse/MDEV-14976
https://jira.mariadb.org/browse/MDEV-16076


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