From b7566a484fa5ec5a4c12e871742c298356adc834 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Thu, 16 Mar 2023 17:18:06 +0100
Subject: [PATCH] install doc: add git clone

---
 docs/20_Installation.md | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/docs/20_Installation.md b/docs/20_Installation.md
index 69dcc30..a4a287e 100644
--- a/docs/20_Installation.md
+++ b/docs/20_Installation.md
@@ -7,7 +7,26 @@
 - manual test run
 - create a cronjob
 
-## Uncompress client
+## Installation with git clone
+
+The most easy way is to use git pull.
+If you don't have / want to use git see the next chapter "Manual installation: uncompress archive".
+
+As user **root**:
+
+```shell
+# Create the directory level above
+mdir -p /opt/imlbackup/
+cd /opt/imlbackup/
+
+# Get the software into subdir "client"
+git clone https://git-repo.iml.unibe.ch/iml-open-source/iml-backup.git client
+
+# to set working directory to /opt/imlbackup/client:
+cd client
+```
+
+## Manual installation: uncompress archive
 
 To put all files into a directory i.e.
 
-- 
GitLab