---
title: "How to restore GitHub data"
description: "This article explains how to restore GitHub data with ProBackup. A restore never overwrites or deletes anything that already exists in GitHub."
canonical: https://www.probackup.io/help/how-to-restore-github-data
collection: "GitHub"
updated: 2026-11-18
---

# How to restore GitHub data

This article explains how to restore GitHub data with ProBackup. A restore never overwrites or deletes anything that already exists in GitHub.

## Restore a branch

In the **Branches** table, select a branch and click **Restore**. ProBackup restores it into the same repository under a new name, `&lt;branch>-restored-&lt;date>`, so the existing branch is left as it is.

## Restore a whole repository

1. Open **Repository snapshots** and select exactly one snapshot: the day you want to go back to.
2. Click **Restore repository**.
3. Choose where it goes:
   - **Organization:** ProBackup creates a new repository (by default `&lt;name>-restored-&lt;date>`) in the same organization.
   - **Personal account:** GitHub does not let ProBackup create repositories there. Create a new, empty repository yourself (without a README, .gitignore or license), give the ProBackup app access to it (GitHub → Settings → Applications → ProBackup → Configure → Repository access), then enter its name in the dialog and click **Check**.
4. Optionally tick **Also restore issues, comments, labels and milestones of that day**.
5. Click **Restore repository**. Large repositories can take a while; follow progress in the restore report.

The restore brings back every branch and tag of that day and the repository settings recorded that day. A whole-repository restore needs the GitHub App's **Administration** and **Workflows** permissions, approved by an organization owner (or the account owner). Until they are approved, the dialog shows what to approve and only single branches can be restored.

## Restore issues

Select issues in the **Issues** table and click **Restore**. They are recreated in the existing repository with their comments, labels and milestone. Restored issues get new numbers and are created by the ProBackup app; the first line of each says who originally opened it, its original number and date. Closed issues are closed again after the restore.

## What is not restored

- Git LFS file contents (only the pointer files are in the snapshot)
- Branch protection and rulesets
- Collaborators and teams
- Actions secrets, variables and environments
- Webhooks and deploy keys
- The fork relationship, stars and watchers
- Pull requests, wikis and releases (these are not part of the backup)

## Download a snapshot instead

You can also download any snapshot as a `.tar.gz` file from **Repository snapshots** and restore it yourself: unpack it (`mkdir my-repo.git && tar -xzf &lt;snapshot-file>.tar.gz -C my-repo.git`), create a new empty repository on GitHub, then run `cd my-repo.git && git push --mirror https://github.com/&lt;owner>/&lt;new-repo>.git`. To just look at the files, run `git clone my-repo.git my-repo`.

Help center index: https://www.probackup.io/help.md
