From b9ef0d3d9c6585331c20e2b8189a76a67f07b841 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 8 Feb 2022 21:05:51 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Egitea.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gitea.md | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/gitea.md b/gitea.md index 9eb528f..95a2232 100644 --- a/gitea.md +++ b/gitea.md @@ -5,7 +5,37 @@ Das interne Git beihaltet alle Repositories, sofern nicht es nicht auf gitHub li # Installation Gitea wird im im Lab beschrieben installiert: (https://lab.uberspace.de/guide_gitea.html). Einzige Abweichung ist die Root-Url in der app.ini: -[kollegen@despina ~]$ cat gitea/custom/conf/app.ini | grep ROOT_URL -ROOT_URL = https://%(DOMAIN)s/gitea/ +>[kollegen@despina ~]$ cat gitea/custom/conf/app.ini | grep ROOT_URL +>ROOT_URL = https://%(DOMAIN)s/gitea/ -# Backup \ No newline at end of file +## SSH + +## Asciidoc + + +# Backup and Restore +Das Backup ist ein manueller Vorgang. Es wird beschrieben, wie alle Daten auf dem lokalen Server gespeichert werden. + +## Gitea-Backup +Auf Uberspace wird ein dump erzeugt und dann auf den lokalen Server kopiert. + +Auf den Server per ssh: +>$ ssh kollegen@despina.uberspace.de +>Password: +>[kollegen@despina ~]$ gitea/gitea dump +>... +>[kollegen@despina ~]$ ls gitea-dump-* +> gitea-dump-1603992523.zip + +Lokal: +>$ scp kollegen@kollegen.uber.space:gitea-dump-1603992523.zip /media/diskstation/externalAccess/backups/uberspace-kollegen/gitea-dump.zip +>Password: +>... +>gitea-dump-1603992523.zip 100% 365MB 1.6MB/s 03:55 + +Server: +>[kollegen@despina ~]$ rm gitea-dump-1603992523.zip + + +## Restore +tbc \ No newline at end of file