backup-automation/PUSH_TO_GITEA.md

59 lines
1.3 KiB
Markdown

# Backup-Automation zu Gitea pushen
Das lokale Git-Repository ist vorbereitet und bereit zum Pushen.
## Option 1: SSH (bevorzugt)
```bash
cd backup-automation
# Remote hinzufügen
git remote add origin git@gitea.mbo-tech-it.de:jonny/backup-konzept.git
# Pushen
git push -u origin master
```
**Voraussetzung**: SSH-Key ist in Gitea hinterlegt.
## Option 2: HTTPS mit Token
```bash
cd backup-automation
# Remote hinzufügen (mit Token)
git remote add origin https://gitea.mbo-tech-it.de/jonny/backup-konzept.git
# Credentials eingeben:
# Username: jonny
# Password: <dein Gitea API Token>
# Pushen
git push -u origin master
```
**Token besorgen**:
1. Login zu https://gitea.mbo-tech-it.de
2. Settings → Applications → New Token
3. Scopes: `repo` auswählen
4. Token kopieren
## Nach dem Push
✓ Repository ist online unter:
https://gitea.mbo-tech-it.de/jonny/backup-konzept
✓ Struktur ist vorhanden:
- docs/ (Dokumentation)
- kestra/ (Workflows)
- ansible/ (Playbooks & Templates)
- .gitignore (Security)
✓ Ready für Zusammenarbeit & Deployment
---
**Projekt-URL**: https://gitea.mbo-tech-it.de/jonny/backup-konzept
**Clone (SSH)**: git@gitea.mbo-tech-it.de:jonny/backup-konzept.git
**Clone (HTTPS)**: https://gitea.mbo-tech-it.de/jonny/backup-konzept.git