„gitea.md“ ändern

This commit is contained in:
2022-02-08 21:05:51 +01:00
parent 4a94a414f7
commit b9ef0d3d9c
+33 -3
View File
@@ -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
## 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