The source project of this merge request has been removed.
Ignore "lost+found" folder during backup on a volume
What does this MR do?
This Merge Request fix an issue when the backup process try to backup a folder in a dedicated volume.
When we create a volume and mount a volume, the folder lost+found
is created and the backup aborts due to insufficient permissions on lost+found
folder for pages, artifacts, container registry images dump.
$ gitlab-rake gitlab:backup:create
...
Dumping pages ...
tar: ./lost+found: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors
Backup failed
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
To fix the backup on specific folder inside a volume.
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added -
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend -
Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together -
Internationalization required/considered
What are the relevant issue numbers?
Resolve #22672 (closed) and Resolve #17574 (closed)
Edited by julien Millau