[Feature Request] xtrabackup does not memorize user ownership
Bug #1419822 reported by
shinguz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
when xtrabackup is execute as root user file ownership is not preserved. so files were restored as user root. database does not start afterwards.
this leads to confusion.
xtrabackup should somehow memorize user ownership for restore.
feature request.
To post a comment you must log in.
This is true. As per doc,
"As files’ attributes will be preserved, in most cases you will need to change the files’ ownership to mysql before starting the database server, as they will be owned by the user who created the backup" www.percona. com/doc/ percona- xtrabackup/ 2.2/innobackupe x/restoring_ a_backup_ ibk.html
http://
So if we are taking backup with root, we need to change ownership after restore.