GitHub Backup
Getting Started
  • Filtering
  • Query Parameters
  • Refspecs
  • GitHub Repos
  • GitHub Releases
  • GitHub Gists
Report an Issue
GitHub
Getting Started
  • Filtering
  • Query Parameters
  • Refspecs
  • GitHub Repos
  • GitHub Releases
  • GitHub Gists
Report an Issue
GitHub
  • Getting Started

    • Introduction
    • GitHub Enterprise
    • Telemetry
  • Reference

    • GitHub Repos
    • GitHub Releases
    • GitHub Gists
  • Advanced

    • Filtering
    • Query Parameters
    • Refspecs

GitHub Enterprise

If you run your own GitHub Enterprise instance, you will need to provide the URL of your instance's API endpoint to GitHub Backup. This is done through the api_url property in your configuration file.

config.yaml
schedule: "0 * * * *"

backups:
  - kind: github/repo
    from: user
    to: /backups/github
    credentials: !Token "your_github_pat"
    properties:
      api_url: "https://github.example.com/api/v3"

Tips

You may use a different api_url for each backup policy in your configuration file in scenarios where you run multiple GitHub Enterprise instances.

Edit this page
Last Updated:: 16/05/2025, 01:08
Contributors: notheotherben
Prev
Introduction
Next
Telemetry