vault backup: 2025-02-05 14:38:06
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
---
|
||||
title: Gitea Setup
|
||||
created_date: 2024-12-02
|
||||
updated_date: 2024-12-02
|
||||
aliases:
|
||||
tags:
|
||||
---
|
||||
# Gitea Setup
|
||||
|
||||
|
||||
> [!INFO] Gitea -VPS Setup
|
||||
> [gitea.claudiofritsche.com](gitea.claudiofritsche.com)
|
||||
> Ports: 8083 and 8022 (ssh)
|
||||
> Admin User: Ecuashungo
|
||||
> Obsidian User: obsidian
|
||||
|
||||
## Motivation
|
||||
### Why do I want my own git server?
|
||||
I do not want to share my obsidian vault with any third party server, because it contains sensitive information. Using Syncthing to synchronize between devices works well, but lacks a backup feature. Using [obisian-git](https://github.com/Vinzent03/obsidian-git) is a very easy way to do a daily backup for which a git server is needed.
|
||||
|
||||
### How does the entire Obsidian Syncthing Gitea System work?
|
||||
The live synchronization happens through syncthing. The 3 participants are my Macbook, my iPhone and my NAS. From my macbook however twice a day the obsidian-git plugin pushes to the gitea server to create a backup. It is the only instance pushing, which means we cannot have merge conflicts, nor is the git based system used for synchronization.
|
||||
## Setup
|
||||
In order to setup the service on my VPS I used the instructions from [digital ocean](https://www.digitalocean.com/community/tutorials/how-to-install-gitea-on-ubuntu-using-docker) as well as [this YouTube Video](https://www.youtube.com/watch?v=ATmZLwBvOrk&ab_channel=HardwoodHomelab).
|
||||
|
||||
### .gitignore and .stignore
|
||||
Important to note here is that I added `.git/**` to all `.stignore` files before adding the git folder to my macbook, like that this doesn't get synced by syncthing.
|
||||
In the gitignore file I've added all syncthing related files and folders.
|
||||
|
||||
Reference in New Issue
Block a user