From 40391ebb6a03426d1a2df6b8587b39db9161c730 Mon Sep 17 00:00:00 2001 From: Chris/Web Date: Thu, 29 Oct 2020 18:40:08 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index e91a2ff..4a377c1 100644 --- a/README.md +++ b/README.md @@ -104,8 +104,29 @@ Hinweis: Das Hook-Skript starten das generate.sh mit 'env -i' in einer neuen Umg In der Web-Konsole von Gitea kann man nun sehen, dass die post-receive-Hooks aktiv sind (grĂ¼ner Punkt), s. (https://kollegen.uber.space/gitea/kollegenrunde/kollegen-hugo/settings/hooks/git) bzw. (https://kollegen.uber.space/gitea/kollegenrunde/kollegen-posts/settings/hooks/git). +# Backup and Restore +Das Backup ist ein manueller Vorgang. Es wird beschrieben, wie alle Daten auf dem lokalen Server gespeichert werden. Da alles in gitea abgelegt ist, wird nur dieses gesichert. +## 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/ +>Password: +>... +>gitea-dump-1603992523.zip 100% 365MB 1.6MB/s 03:55 +Server: +>[kollegen@despina ~]$ rm gitea-dump-1603992523.zip + +## Restore +tbc From 1e5a0c5b00f7015c8706af9f1524f4adeab09116 Mon Sep 17 00:00:00 2001 From: Chris/Web Date: Thu, 29 Oct 2020 18:41:27 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4a377c1..8e1557e 100644 --- a/README.md +++ b/README.md @@ -112,20 +112,20 @@ Auf Uberspace wird ein dump erzeugt und dann auf den lokalen Server kopiert. Auf den Server per ssh: >$ ssh kollegen@despina.uberspace.de ->Password: +>Password: >[kollegen@despina ~]$ gitea/gitea dump ->... +>... >[kollegen@despina ~]$ ls gitea-dump-* -> gitea-dump-1603992523.zip +> gitea-dump-1603992523.zip -Lokal: +Lokal: >$ scp kollegen@kollegen.uber.space:gitea-dump-1603992523.zip /media/diskstation/externalAccess/backups/uberspace-kollegen/ ->Password: ->... ->gitea-dump-1603992523.zip 100% 365MB 1.6MB/s 03:55 +>Password: +>... +>gitea-dump-1603992523.zip 100% 365MB 1.6MB/s 03:55 -Server: ->[kollegen@despina ~]$ rm gitea-dump-1603992523.zip +Server: +>[kollegen@despina ~]$ rm gitea-dump-1603992523.zip ## Restore