diff options
| author | Marin Jankovski <marin@gitlab.com> | 2015-07-29 13:51:28 +0000 |
|---|---|---|
| committer | Marin Jankovski <marin@gitlab.com> | 2015-07-29 13:51:28 +0000 |
| commit | 25d9a7f506354a58b93a68814530632670af1579 (patch) | |
| tree | 0cf3d81b04d2e3b58abb907985ed3f8e5cc344ee /doc | |
| parent | 8bda433734394af7e3858c0804b378a6d1313a84 (diff) | |
| parent | e361dc3a1d78d77b40f865280e125926a901a200 (diff) | |
| download | gitlab-ce-25d9a7f506354a58b93a68814530632670af1579.tar.gz | |
Merge branch 'backup-archive-permissions' into 'master'
Allow custom backup archive permissions
This change helps system administrators who want to replicate
GitLab backup files without needing root permissions.
See merge request !1888
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/raketasks/backup_restore.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md index 36ab2b91959..05324b33022 100644 --- a/doc/raketasks/backup_restore.md +++ b/doc/raketasks/backup_restore.md @@ -148,6 +148,23 @@ with the name of your bucket: } ``` +## Backup archive permissions + +The backup archives created by GitLab (123456_gitlab_backup.tar) will have owner/group git:git and 0600 permissions by default. +This is meant to avoid other system users reading GitLab's data. +If you need the backup archives to have different permissions you can use the 'archive_permissions' setting. + +``` +# In /etc/gitlab/gitlab.rb, for omnibus packages +gitlab_rails['backup_archive_permissions'] = 0644 # Makes the backup archives world-readable +``` + +``` +# In gitlab.yml, for installations from source: + backup: + archive_permissions: 0644 # Makes the backup archives world-readable +``` + ## Storing configuration files Please be informed that a backup does not store your configuration |
