Dxcufgb's Workshop

Create the GitHub Token

WIPWork in progress: may be very buggy and can change a lot between versions.

The service pushes to, and creates, repositories with a GitHub token stored on the Foundry machine, so make it as narrow as possible.

  1. GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens → Generate new token.
  2. Resource owner: your account. The world repositories are created under it.
  3. Repository access:
    • All repositories when the service may create the repositories (creation needs that), or
    • Only select repositories with the world repositories you created yourself (foundry-world-<world id>, private).
  4. Permissions → Repository permissions:
    • Contents: Read and write, to push the backups.
    • Administration: Read and write, for creating repositories.
    • Workflows: Read and write, with Publish releases on. GitHub refuses a push that adds or changes a workflow file without it (a classic token needs the workflow scope).
    • Nothing else. Automatic updates of the service itself need no extra permission: this repository is public.
  5. Set an expiry you will remember. The admin page's Test setup and the daily check warn two weeks before it runs out.

Size limits

GitHub rejects files over 100 MB in a push and recommends repositories under a few GB. A world with huge uploaded assets (videos, large maps) fails to push. Move such files out of the world folder (Foundry can use them from anywhere under Data) or keep that world off.

Next: install on Linux or on Windows.

This page mirrors the World Backup to Git wiki on GitHub.