Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos.

Backing up a repository

You can use the API or a third-party tool to back up your repository.

¿Te ayudó este documento?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

O, learn how to contribute.

To download an archive of your repository, you can use the API for user or organization migrations. For more information, see "Migrations."

Once you have downloaded your archive, you can copy it to an external hard drive and/or upload it to a cloud-based backup service such as Google Drive or Dropbox.

Third-party backup tools

A number of self-service tools exist that automate backups of repositories. Unlike archival projects, which archive all public repositories on GitHub that have not opted out and make the data accessible to anyone, backup tools will download data from specific repositories and organize it within a new branch or directory. For more information about archival projects, see "About archiving content and data on GitHub."

You can back up all of a repository's Git data (such as project files and commit history), as well as much data from GitHub (such as issues and pull requests), with BackHub, which creates daily recurring backups of your repositories with snapshots up to 30 days back in time. BackHub is available in Mercado GitHub.

¿Te ayudó este documento?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

O, learn how to contribute.