Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelogs/unreleased/add-installation-type-backup-information.yml5
-rw-r--r--lib/backup/manager.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/unreleased/add-installation-type-backup-information.yml b/changelogs/unreleased/add-installation-type-backup-information.yml
new file mode 100644
index 00000000000..24cf4cc21f4
--- /dev/null
+++ b/changelogs/unreleased/add-installation-type-backup-information.yml
@@ -0,0 +1,5 @@
+---
+title: Add installation type to backup information file
+merge_request: 22150
+author:
+type: changed
diff --git a/lib/backup/manager.rb b/lib/backup/manager.rb
index 5d4a7efc456..afdc6f383c1 100644
--- a/lib/backup/manager.rb
+++ b/lib/backup/manager.rb
@@ -243,6 +243,7 @@ module Backup
backup_created_at: Time.now,
gitlab_version: Gitlab::VERSION,
tar_version: tar_version,
+ installation_type: Gitlab::INSTALLATION_TYPE,
skipped: ENV["SKIP"]
}
end