Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-24723

mariabackup should memorize ownership of files

Details

    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: MDEV-14976, MDEV-16076

      Attachments

        Issue Links

          Activity

            oli Oli Sennhauser created issue -
            oli Oli Sennhauser made changes -
            Field Original Value New Value
            oli Oli Sennhauser made changes -
            elenst Elena Stepanova made changes -
            Affects Version/s 10.5 [ 23123 ]
            Affects Version/s 10.6 [ 24028 ]
            Environment n.a.
            Issue Type Bug [ 1 ] Task [ 3 ]
            julien.fritsch Julien Fritsch made changes -
            Assignee Ralf Gebhardt [ ralf.gebhardt@mariadb.com ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 118575 ] MariaDB v4 [ 131444 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Issue Type Task [ 3 ] New Feature [ 2 ]
            serg Sergei Golubchik made changes -
            Summary Feature Request: mariabackup should memorize ownership of files mariabackup should memorize ownership of files
            serg Sergei Golubchik made changes -
            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
            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: MDEV-14976, MDEV-16076

            People

              ralf.gebhardt Ralf Gebhardt
              oli Oli Sennhauser
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.