From e2be419c9587b21b53c2d426d7783f99751df741 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 22 Sep 2015 16:57:43 +0200 Subject: [PATCH] Add to migration on what to do if you don't want your data. --- doc/migrate_ci_to_ce/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/migrate_ci_to_ce/README.md b/doc/migrate_ci_to_ce/README.md index 208aab42b56..f83ecb01e44 100644 --- a/doc/migrate_ci_to_ce/README.md +++ b/doc/migrate_ci_to_ce/README.md @@ -28,6 +28,14 @@ upgrade to 8.0 until you finish the migration procedure. ### Before upgrading +If you have GitLab CI installed using omnibus-gitlab packages but *you don't want to migrate your existing data*: + +```bash +mv /var/opt/gitlab/gitlab-ci/builds /var/opt/gitlab/gitlab-ci/builds.$(date +%s) +``` + +and run `sudo gitlab-ctl reconfigure`. + #### 1. Verify that backups work Make sure that the backup script on both servers can connect to the database.