scorpiox-vault-git🔨 build
Create offline backups of Git repositories with optional authentication and configurable archive formats. Ideal for disaster recovery, air-gapped environments, and automated backup pipelines.
🐧 Linux x64
🐧 Linux ARM64
🍎 macOS ARM64
🪟 Windows x64
💡 Usage Examples
Basic repository backup
$ scorpiox-vault-git --url https://github.com/user/project.git
Cloning into bare repository...
Archiving to ./project-backup-2026-05-29.tar.gz
Done. 24.3 MB written.
Backup with custom output path
$ scorpiox-vault-git --url https://github.com/org/repo.git \
--output /backups/git/repo-2026-05-29
Archiving to /backups/git/repo-2026-05-29.tar.gz
Private repository with PAT authentication
$ scorpiox-vault-git --url https://git.company.com/team/private-repo.git \
--pat ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
--output /vault/private-repo
$ scorpiox-vault-git --url https://git.company.com/team/repo.git \
--pat "$GIT_BACKUP_TOKEN"
Choose archive format
$ scorpiox-vault-git --url https://github.com/org/repo.git \
--format zip -o /backups/repo
$ scorpiox-vault-git --url https://github.com/org/repo.git \
--format bundle -o /vault/repo.bundle
Automated backup pipeline (cron / CI)
#!/bin/bash
for repo in api-service web-frontend infra-config; do
scorpiox-vault-git --url "https://git.internal/$repo.git" \
--pat "$VAULT_TOKEN" \
--format bundle \
-o "$VAULT/$repo"
done
# Produces: /mnt/backup/git-vault/2026-05-29/api-service.bundle
# /mnt/backup/git-vault/2026-05-29/web-frontend.bundle
# /mnt/backup/git-vault/2026-05-29/infra-config.bundle
Restore from a bundle backup
$ git clone /vault/repo.bundle restored-repo
$ cd restored-repo && git remote set-url origin https://git.company.com/team/repo.git
$ git fetch origin
Already up to date.