Skip to main content

Backups Overview

GitSec creates encrypted snapshots of your Git repositories. Each backup captures the data you choose and stores it securely.

Backups Overview

How Backups Work

When a backup runs, GitSec connects to your Git provider (e.g., GitHub) using the installed app's read-only permissions. It then downloads and encrypts the selected data scopes, storing the result as a backup snapshot.

Each snapshot is immutable — once created, it cannot be modified. This ensures data integrity for compliance and recovery purposes.

Backup Scopes

You can control what data is included in each backup:

ScopeStatusDescription
Code & CommitsActiveAll branches, tags, and full commit history.
Pull RequestsActiveOpen and closed PRs, including comments and review data.
IssuesActiveOpen and closed issues, including labels, assignees, and comments.
Wiki PagesComing SoonRepository wiki content.
ProjectsComing SoonGitHub Projects boards and cards.
ReleasesComing SoonTagged releases with assets and changelogs.

Backup Triggers

There are three ways to trigger a backup:

TriggerDescription
On DemandManually triggered from the repository detail page.
ScheduledAutomatically triggered by a scheduler at a configured interval.
Push EventAutomatically triggered on every git push when push event backups are enabled.

Backup Storage

Backups are stored in either:

  • GitSec Storage — Managed infrastructure with EU and US regions.
  • BYOS (Bring Your Own Storage) — Your own AWS S3, Azure Blob, Google Drive, or Huawei OBS bucket.

See Storage Overview for configuration details.