Utility program to backup changes in my Obsidian vault automatically using a git repository
Go to file
2025-02-02 20:37:32 +01:00
src Add variable to keep track of changed files to be commited 2025-02-02 20:37:32 +01:00
.gitignore Implement file change watching and tray menu to trigger backup 2025-01-30 23:15:01 +01:00
Cargo.lock Implement git commit and push using credentials stored in credential manager 2025-02-02 16:52:28 +01:00
Cargo.toml Implement git commit and push using credentials stored in credential manager 2025-02-02 16:52:28 +01:00
README.md Add variable to keep track of changed files to be commited 2025-02-02 20:37:32 +01:00
sync.ico Implement file change watching and tray menu to trigger backup 2025-01-30 23:15:01 +01:00

Obsidian Git Backup

This script automates the process of backing up your Obsidian vault to a Git repository. It ensures that all changes are tracked automatically and can be easily restored if needed.

Features

  • Trigger backup after file changes with delay
  • Maintain git repo in a seperate folder to not have the repo synced by syncthing (copy changed files over)
  • Push changes to remote repository
  • Tray Menu
    • Exit
    • Backup now
    • See current status (Time after last file change, backup in progress)

Installation

  • Create target repo folder and initialize an empty git repository
  • Link repository to remote and set upstream branch (git push working)