From cb91effd58db9361929e79e31bae1251ceefda39 Mon Sep 17 00:00:00 2001
From: David Mehren <dmehren1@gmail.com>
Date: Wed, 5 Feb 2020 16:51:45 +0100
Subject: [PATCH] Add restore docs

---
 README.md | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/README.md b/README.md
index ba36b9f..86e07b7 100644
--- a/README.md
+++ b/README.md
@@ -13,3 +13,24 @@ You can find all possible options at https://gitlab.com/gitlab-org/omnibus-gitla
 
 ## Setup hints
 - Disable normal sign-up/log-in
+
+## Restore
+- Restore borg backup
+```shell script
+# Stop web services
+> gitlab-ctl stop unicorn
+> gitlab-ctl stop puma
+> gitlab-ctl stop sidekiq
+# Drop database
+> gitlab-rake gitlab:db:drop_tables
+# Restore database
+> gitlab-rake gitlab:backup:db:restore
+# Restore repository contents
+> gitlab-rake gitlab:backup:db:restore
+# Setup authorized_keys
+> gitlab-rake gitlab:shell:setup
+# Clear cache
+> gitlab-rake cache:clear
+# Start all services
+> gitlab-ctl start
+```
-- 
GitLab