summaryrefslogtreecommitdiff
path: root/gitsyncer.example.json
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-03 22:38:37 +0300
committerPaul Buetow <paul@buetow.org>2025-07-03 22:38:37 +0300
commit64095a2c8d5a3a72c55d7bd0737c5542a5aeee09 (patch)
tree0af2501374550e8fdadd4df00d245c6260c0305d /gitsyncer.example.json
parent0c072d964d4d07e69d1c0af1f3b09f9adc543571 (diff)
feat: add SSH backup locations with --backup flagv0.2.0
- Add support for SSH backup locations (e.g., paul@server:git/) - Backup locations are one-way only (push only, never pull) - Automatic bare repository creation on SSH servers - Add --backup flag to opt-in to backup syncing - Backup locations are disabled by default for offline resilience - Update version to 0.2.0 This allows users to maintain private backups on home servers that may be offline without affecting regular sync operations. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'gitsyncer.example.json')
-rw-r--r--gitsyncer.example.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitsyncer.example.json b/gitsyncer.example.json
index 9116f35..abe3d78 100644
--- a/gitsyncer.example.json
+++ b/gitsyncer.example.json
@@ -7,6 +7,10 @@
{
"host": "git@github.com",
"name": "snonux"
+ },
+ {
+ "host": "paul@t450:git",
+ "backupLocation": true
}
],
"repositories": [