obsidian-vault/CS/Obsidian vault.md

1.1 KiB

aliases language created summary tags
English 2025-07-20 Vault organization and infrastructure setup
domain_cs

Vault sync

#setup

  • Prerequisite: Git server
  • Create access token for user in git
    • In Gitea: Settings --> Applications --> Generate access token
  • In terminal git clone https://<access-token>@<server-ip>:<port>/falsfour/thevault.git (make sure to check if it is http or https)
  • Open the git repository in Obsidian
  • PC Client: onfigure ~/.ssh/config and add:
    • Host ziffeldogip.de-git
      
    HostName ziffeldogip.de User git Port 30222 IdentityFile ~/.ssh/id_rsa IdentitiesOnly yes

Host ziffeldogip.de-root HostName ziffeldogip.de User root IdentityFile ~/.ssh/id_rsa IdentitiesOnly yes ```

  • Phone Client: Termux git clone http link, then set git user/email in Termux, set name and email in Git Plugin in Obsidian, try git sync and enter user credentials once
  • Open the Git-Plugin settings to local git config
    • configure user.name
    • configure user.email
    • Check if the "pull on startup" option is checked
    • Check if auto "commit-and-sync" timer is set
  • Check commands like "commit-and-sync" or "pull"