Salta ai contenuti
← Torna al sito
Soleri | Docs

Sync & Export

Questi contenuti non sono ancora disponibili nella tua lingua.

Your vault lives in a SQLite database — fast and reliable, but not something you can browse in a file manager or push to GitHub as-is. The sync layer bridges this gap: it exports vault entries to git-friendly JSON files, syncs bidirectionally with Obsidian markdown, and packages knowledge into shareable packs.

Export your entire vault to a git-tracked directory. Each entry becomes a JSON file organized into domain subdirectories:

You: “Push the vault to ~/vault-backup”

Agent: Pushed 156 entries to ~/vault-backup. Directory structure:

vault-backup/
security/
jwt-best-practices.json
input-sanitization.json
infrastructure/
k8s-resource-limits.json
database-migration-safety.json

If the directory is a git repo, the push creates files that you can commit, review in diffs, and share with your team.

You can specify git author details for auto-commits:

You: “Push vault to ~/vault-backup with author ‘Alex’ and email ‘[email protected]‘“

Import entries from a git-tracked directory back into the vault:

You: “Pull vault from ~/vault-backup”

Agent: Pulled 12 new entries, 3 updated, 141 unchanged.

When an entry exists in both the vault and the git directory, you control which version wins:

Conflict modeBehavior
gitGit version overwrites vault (default)
vaultVault version is kept, git is ignored

You: “Pull from ~/vault-backup, keep vault versions on conflict”

Agent: Pulled with vault-wins conflict resolution. 12 new entries, 0 overwrites.

For a full two-way sync — push vault entries to git and pull git-only entries into the vault in one step:

You: “Sync vault with ~/vault-backup”

Agent: Bidirectional sync complete: 3 entries pushed, 2 entries pulled, 1 conflict resolved (git wins).

If you use Obsidian for note-taking, you can sync your vault with an Obsidian directory. Entries become markdown files with YAML frontmatter — fully compatible with Obsidian’s linking and search.

You: “Export vault to my Obsidian vault at ~/obsidian-notes/soleri”

Agent: Exported 156 entries as markdown. Domain subdirectories created.

Each file gets YAML frontmatter with title, type, domain, severity, and tags — metadata that Obsidian can use for search and Dataview queries.

You can filter what gets exported:

You: “Export only security and infrastructure entries to Obsidian”

Agent: Exported 42 entries (filtered by domain: security, infrastructure).

Use dryRun: true to preview what would be exported without writing files.

Bring Obsidian notes into your vault. The agent reads YAML frontmatter to extract title, type, domain, and tags:

You: “Import from ~/obsidian-notes/patterns into the vault”

Agent: Imported 8 entries from Obsidian markdown files.

For files without frontmatter, you can set defaults:

You: “Import from Obsidian, default type: pattern, default domain: frontend”

Combine push and pull in one operation:

You: “Sync vault with Obsidian at ~/obsidian-notes/soleri”

Agent: Bidirectional sync: 5 entries pushed, 2 entries pulled.

Three sync modes are available:

ModeDirection
pushVault to Obsidian only
pullObsidian to vault only
bidirectionalBoth directions (default)

Packs are portable bundles of knowledge — entries and their links, packaged for sharing.

Create a shareable pack from your vault:

You: “Export a knowledge pack for the security domain”

Agent: Exported pack: 23 entries, 31 links, 1 domain (security). Version 1.0.0.

Filter by domain, tags, or scope tier:

You: “Export a pack of all team-tier entries”

Agent: Exported: 45 entries across 3 domains, 52 links.

Packs include Zettelkasten links between exported entries — the knowledge graph structure travels with the content.

Import a pack into your vault. Content-hash deduplication prevents duplicates:

You: “Import this knowledge pack”

Agent: Imported: 18 new entries, 5 duplicates skipped, 24 links created.

You can force all imported entries to a specific scope tier:

You: “Import the pack at team tier”

GoalMethod
Version-control your vaultGit push/pull
Team backup and collaborationGit bidirectional
Browse knowledge in a note-taking appObsidian export
Bring personal notes into the vaultObsidian import
Share knowledge between agents/projectsPack export/import

All sync methods are safe to run repeatedly — deduplication and conflict resolution prevent data loss.


Previous: Knowledge Review Workflow — team quality control for vault entries.