DOCUMENTATION

Get up and running.

Everything you need to start exploring Vault Backup on infrastructure you control.

Early release. Start with non-critical data, restrict access to your instance and verify a full restore. Kubernetes and ECS guides have not yet been validated on live infrastructure.
01 / QUICK START

Start locally with Docker Compose

You'll need Docker with Compose, Git, OpenSSL and outbound access. The included PostgreSQL container stores data in a Docker volume and is intended for evaluation.

git clone https://github.com/vaultpulse-cloud/vault-backup.git
cd vault-backup
cp .env.example .env

Generate three independent secrets, then paste them into the corresponding fields in .env. Use the generated hex value for the database password to avoid URL-escaping issues.

openssl rand -hex 32       # POSTGRES_PASSWORD
openssl rand -hex 32       # JWT_SECRET
openssl rand -base64 32    # CREDENTIALS_ENCRYPTION_KEY

Keep the file private and never commit it. The encryption key must remain stable: back it up securely with your database backups. Changing it without a separate migration can make stored credentials unreadable.

docker compose up --build -d
docker compose logs -f app

Open localhost:8080, register, and create a workspace. The Compose port binds to localhost by default. Configure a GitHub App and storage before making your first backup. For public access, use HTTPS and restrict access; public registration is enabled.

Full quick start on GitHub ↗
02 / CONNECT

Configure your GitHub App

Create your own GitHub App and set its setup URL to https://your-host/api/v1/github/callback and webhook URL to https://your-host/api/v1/webhooks/github. Use a random webhook secret and subscribe to Installation events.

Repository permissions required: Contents, Workflows and Administration (read and write), plus Metadata (read). Set GITHUB_APP_ID, GITHUB_APP_SLUG, GITHUB_APP_PRIVATE_KEY and GITHUB_WEBHOOK_SECRET in your deployment. OAuth sign-in is configured separately.

Connect your GitHub account in the dashboard, configure and test S3 or Azure Blob Storage, select repositories, and test both backup and restore.

GitHub App setup details ↗
03 / DEPLOY

Choose your environment

Build your own container image from the repository. The deployment guides cover prerequisites, secrets, networking and operations.

Run only one application replica. Background workers and migrations are not designed for concurrent replicas; deployments can cause downtime.

04 / CONFIGURE

Configuration essentials

VariablePurpose
DATABASE_URLPostgreSQL connection; use TLS for remote databases.
JWT_SECRETUnique random signing secret, at least 32 characters.
CREDENTIALS_ENCRYPTION_KEYBase64-encoded 32-byte encryption key; keep and back it up securely.
FRONTEND_URL / BACKEND_URLPublic origin for redirects and callbacks.
GITHUB_APP_*GitHub App ID, slug, private key and webhook secret.
SMTP_*Optional email delivery; required for invitations.
Full configuration reference ↗
05 / RECOVERY

Test your recovery plan

Restores include Git branches, tags, LFS objects and the default branch. Repository settings, secrets, branch protections, issues and pull requests are not restored. A personal GitHub destination must already be an empty repository accessible to your App. Restored workflow files may run; review destination Actions settings.

Keep separate backups of PostgreSQL and the encryption key. Restrict access to your instance, use TLS and least-privilege storage credentials, and test restores regularly. The application health endpoint only indicates HTTP availability, not end-to-end backup readiness.

06 / CONTRIBUTE

Help shape the project

Explore the code, report issues and propose changes. Please do not include credentials or customer data in public reports. For sensitive security issues, avoid public disclosure until a private reporting channel is established.