backup-vault
Create a dated zip backup of the Obsidian vault and rotate old backups on a grandfather-father-son schedule (14 daily, 5 weekly, 12 monthly, 5 yearly).
Skill by fredoliveira
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fredoliveira-backup-vault
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/backup-vault
What's inside
- Skill name
backup-vault- Description
- Create a dated zip backup of the Obsidian vault and rotate old backups on a grandfather-father-son schedule (14 daily, 5 weekly, 12 monthly, 5 yearly). Use when asked to back up the vault, make a snapshot, or run/prune vault backups.
- License
- MIT
- Instructions
- 58 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- backup.sh
SKILL.md (first lines)
# Vault backup & rotation ## Purpose Keep a rolling set of zip snapshots of the vault in `~/Documents/obsidian/backups`, pruned to a grandfather-father-son (GFS) retention schedule so the backup folder stays bounded instead of growing forever. The actual work is done by `backup.sh` (next to this file) — the logic is deterministic, so run the script rather than reimplementing it by hand. ## Retention schedule A backup is **kept** if any tier wants it; everything else is deleted. | Tier | Rule | | ------- | ------------------------------------------------- | | Daily | every backup from the last **14 days** | | Weekly | newest backup of each of the **5** most recent ISO weeks | | Monthly | newest backup of each of the **12** most recent months | | Yearly | newest backup of each of the **5** most recent years | Tunable at the top of `backup.sh` (`DAILY_DAYS`, `WEEKLY_KEEP`, `MONTHLY_KEEP`, `YEARLY_KEEP`). ## What gets backed up - The full vault at `~/Documents/obsidian/umwelt`, **including** `.obsidian` (themes, plugins, settings) so a restore reproduces the exact setup. - Excluded: `.DS_Store`, `.Trash/`, and the backup directory itself. - Archives are named `umwelt-YYYY-MM-DD.zip` and contain a top-level `umwelt/` folder, so restoring is just `unzip umwelt-<date>.zip`. ## Instructions 1. Run the script: ```sh bash ~/.claude/skills/backup-vault/backup.sh ``` - Preview without changing anything: `bash .../backup.sh --dry-run` - Override paths if needed: `VAULT_DIR=... BACKUP_DIR=... bash .../backup.sh` 2. Report the summary line (how many backups were created / kept / pruned) and the resulting archive size. The script is **idempotent per day**: at most one backup is created per calendar date, so it's safe to run repeatedly. Running it both creates today's snapshot **and** applies retention in one pass. ## Notes - This is local only. To replicate offsite, `rsync` the `backups/` directory to the remote target after running the script, e.g. `rsync -a --delete ~/Documents/obsidian/backups/ <remote>:obsidian-backups/`. Because retention deletes files locally, use `--delete` so the remote mirrors the same pruned set. - For unattended daily runs, schedule the script (launchd/cron, or the `/schedule` skill). Nothing in the script needs an interactive session.
From fredoliveira/agents, MIT.
More from fredoliveira/agents
- 0.557score
youtube-to-atoms
fredoliveira
Given a YouTube URL, fetch its transcript and extract atomic notes into an Obsidian vault.
SkillCFreshness: C★ 25Claude Code +9 - 0.557score
extract-insights
fredoliveira
Extract actionable lessons, key insights, emergent todos, and best practices from a note (e.g.
SkillCFreshness: C★ 25Claude Code +9 - 0.554score
weekly-review
fredoliveira
Summarize the past week's daily notes, extracting key findings, links, action items, and potential atomic notes, and write the summary into the matching…
SkillCFreshness: C★ 25Claude Code +9 - 0.492score
done
fredoliveira
Summarize the current agent session, create an Obsidian note for it, and link it from today's daily note.
SkillDFreshness: D★ 25Claude Code +9 - 0.489score
summarize-urls
fredoliveira
Fetch and summarize a list of URLs (e.g.
SkillDFreshness: D★ 25Claude Code - 0.486score
find-place-coordinates
fredoliveira
Find lat/lon coordinates for a place mentioned in a note and add them to the frontmatter for map integration
SkillDFreshness: D★ 25Claude Code +9 - 0.486score
index-atomic-notes
fredoliveira
Index an atomic note in existing maps of content and find potential connections to related atomic notes.
SkillDFreshness: D★ 25Claude Code +9 - 0.486score
organize-inbox
fredoliveira
Move notes from the Inbox to their respective folders based on their frontmatter category.
SkillDFreshness: D★ 25Claude Code +9
Signals
- Stars
- 25
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 15, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fredoliveira/agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from fredoliveira
- 0.557score
youtube-to-atoms
fredoliveira
Given a YouTube URL, fetch its transcript and extract atomic notes into an Obsidian vault.
SkillCFreshness: C★ 25Claude Code +9 - 0.557score
extract-insights
fredoliveira
Extract actionable lessons, key insights, emergent todos, and best practices from a note (e.g.
SkillCFreshness: C★ 25Claude Code +9 - 0.554score
weekly-review
fredoliveira
Summarize the past week's daily notes, extracting key findings, links, action items, and potential atomic notes, and write the summary into the matching…
SkillCFreshness: C★ 25Claude Code +9 - 0.492score
done
fredoliveira
Summarize the current agent session, create an Obsidian note for it, and link it from today's daily note.
SkillDFreshness: D★ 25Claude Code +9 - 0.489score
summarize-urls
fredoliveira
Fetch and summarize a list of URLs (e.g.
SkillDFreshness: D★ 25Claude Code - 0.486score
find-place-coordinates
fredoliveira
Find lat/lon coordinates for a place mentioned in a note and add them to the frontmatter for map integration
SkillDFreshness: D★ 25Claude Code +9
Cite this page
backup-vault skill. Agent Mart. https://agentmart.dev/skills/fredoliveira-backup-vault (last updated 2026-10-24)