This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
computing:gitlab-ce [2020/01/02 00:14] oemb1905 |
computing:gitlab-ce [2020/12/21 10:41] (current) oemb1905 ll |
||
---|---|---|---|
Line 67: | Line 67: | ||
sudo systemctl restart gitlab-runsvdir.service | sudo systemctl restart gitlab-runsvdir.service | ||
| | ||
- | I do not use the default Let's Encrypt tool in '' | + | I do not use the default Let's Encrypt tool in '' |
- | --- // | + | sudo gitlab-ctl stop unicorn |
+ | sudo gitlab-ctl stop sidekiq | ||
+ | sudo gitlab-rake gitlab: | ||
+ | mkdir gitlab-old-host | ||
+ | sudo cp / | ||
+ | sudo cp / | ||
+ | sudo cp -R / | ||
+ | sudo cp / | ||
+ | scp -r ~/ | ||
+ | |||
+ | Now that you have copied those configs and files over the new host, it is time to restore the new host with those backups. | ||
+ | |||
+ | sudo cp gitlab-old-host/ | ||
+ | sudo cp -r gitlab-old-host/ | ||
+ | sudo gitlab-ctl reconfigure | ||
+ | sudo gitlab-ctl stop unicorn | ||
+ | sudo gitlab-ctl stop sidekiq | ||
+ | sudo cp gitlab-old/ | ||
+ | sudo chown git:git / | ||
+ | sudo gitlab-rake gitlab: | ||
+ | sudo gitlab-ctl start | ||
+ | sudo gitlab-rake gitlab: | ||
+ | |||
+ | Navigate to your web browser, and all should be restored. | ||
+ | |||
+ | --- // |