Vault backups and Git version control
Because Oyma saves all data as plain Markdown files in a folder you control on your Mac, you have absolute freedom to choose your backup and version control strategy. There are zero proprietary database files or cloud silos.
1. Apple Time Machine backups
The simplest automated backup solution on macOS is Apple Time Machine:
- Connect an external APFS storage drive or configure a network backup target.
- In System Settings › General › Time Machine, add your backup destination.
- Time Machine automatically creates hourly snapshots of your vault, allowing you to restore accidental note deletions or revert edits via macOS’s native version browser.
2. Version control with Git
For engineering teams and technical writers, Git provides full commit history, branching, and cryptographic auditability:
Initializing a vault repository
Open Terminal and navigate to your vault folder:
cd ~/Documents/my-notes-vault
git init
Recommended .gitignore
Create a .gitignore file to exclude temporary system files and large audio caches:
.DS_Store
*.tmp
.obsidian/workspace.json
attachments/temp-audio/
Automated commit script
Automate daily commits with a simple shell script or launchd timer:
#!/bin/bash
cd ~/Documents/my-notes-vault || exit
git add -A
git commit -m "Vault backup: $(date '+%Y-%m-%d %H:%M:%S')"
3. Offsite backup with encrypted rsync
Mirror your vault to a secondary local drive or personal NAS using rsync:
rsync -avz --delete ~/Documents/my-notes-vault/ /Volumes/SecureBackup/vault/
Related guides
- Prepare your vault in Prepare an Obsidian vault.
- Export archives in Exporting notes to PDF and DOCX.
- Verify privacy in Local-only mode.
Questions
Can I use Git to track changes in my vault?
Yes. Because Oyma vaults are standard directories of plain `.md` files, standard Git commands work out of the box.
Does Apple Time Machine back up my notes?
Yes. As long as your vault directory is included in Time Machine settings, every file is backed up incrementally hourly.
Can I store my vault on an encrypted APFS volume?
Yes. Oyma runs seamlessly on encrypted APFS drives and FileVault-protected Mac storage.