Creating Backups
You can create backups on demand or automate them with schedulers.
On-Demand Backups
To manually trigger a backup:
- Navigate to Repositories > GitHub in the sidebar.
- Click on the repository you want to back up.
- On the repository detail page, click the Backup button.
- The backup job will start immediately. Track progress in the Activity tab.
Scheduled Backups
Automate backups by creating a scheduler:
- Open the repository detail page.
- Go to the Scheduler tab.
- Fill in the scheduler form: name, type (Minutely/Hourly/Daily/Weekly/Monthly/Custom CRON), time, timezone, and included items.
- Save the scheduler.
The backup will run automatically at the configured time. See Creating a Scheduler for step-by-step instructions.
Push Event Backups
Trigger a backup every time code is pushed:
- Open the repository detail page.
- Go to the Push Event tab.
- Enable the push event toggle.
- Select which scopes to include.
See Push Event Backups for full details.
Backup Status
Each backup results in one of two statuses:
- Success — All selected scopes were backed up without errors.
- Failed — The backup encountered an error. Check the Activity page for details.
What Happens During a Backup?
- GitSec authenticates with your Git provider using the installed app.
- The selected data scopes are downloaded via the provider's API.
- The data is encrypted and stored in your configured storage location.
- A backup snapshot record is created with metadata (timestamp, size, scopes, status).