Operations Gitea + Docker workloads

Operate a Gitea repository service

Review access, repository backups, updates, storage, and restore procedures. Check the named site's prerequisites, task result, backup scope and recovery handoff with xCloud.

Read this guide as Markdown

Requirements and responsibilities

Illustrative situation

A development team runs Gitea for private repositories. It needs to review access and prove that both Git objects and database metadata can be restored together.

Choose the approach

Dashboard and application procedure

Follow these steps yourself, or use the scoped AI handoff below for supported hosting operations.

Step 1 of 5

Review repo access

Where
Gitea organizations and repositories
Permissions
Authorized Gitea application administrator or delegated role with rights for this task; hosting access alone is insufficient.
Inputs
Team membership, private repos, branch rules
Action
List owners, write users and viewers for a representative repo. Check departed members and branch protection.
Expected result
A current access map.
Verify
Test viewer cannot push and developer can push permitted branch.
If it fails
If permissions are broader than policy, correct them before adding repos.

Sources: Gitea backup and restore · Gitea repository and organization permissions

Step 2 of 5

Exercise Git path

Where
Developer client and Gitea web view
Permissions
Authorized Gitea application administrator or delegated role with rights for this task; hosting access alone is insufficient.
Inputs
Test repo, SSH/HTTPS credential, sample commit
Action
Clone and push one harmless commit, then fetch it from a second authorized account. Compare commit hash and webhook results if used.
Expected result
A functional repository path.
Verify
Check web history and local Git hash match.
If it fails
If web login works but push fails, inspect keys, hooks and protocol separately.

Sources: Gitea backup and restore · Gitea repository and organization permissions

Step 3 of 5

Check data growth and jobs

Where
xCloud Docker site and Gitea admin
Permissions
Authorized xCloud read access to the named team and site; the relevant app or provider owner supplies records outside xCloud.
Inputs
Disk, logs, indexer, migration status
Action
Inspect repository storage, app logs and any running migrations before maintenance. Avoid backup during active migration.
Expected result
A maintenance-ready status.
Verify
Compare disk headroom to current repo data.
If it fails
If migration is active, wait and recheck before snapshot.

Sources: xCloud MCP documentation and connection profiles · xCloud agent capability boundaries · Back up and restore Docker apps · Gitea backup and restore

Step 4 of 5

Verify consistent backup

Where
Gitea backup docs and xCloud Backup
Permissions
Authorized xCloud team/site operator with the discovered write scope for this exact operation and owner approval for its target and interruption.
Inputs
DB, repository files, attachments, config, snapshot
Action
Plan a brief stop for native dump or rely on documented stopped-app Docker snapshot only after confirming every path is included. Check Completed state.
Expected result
A consistent recovery point.
Verify
Inspect snapshot paths and sampled repository contents.
If it fails
If database and Git files are captured at different times, plan a corrected backup.

Sources: Back up and restore Docker apps · Docker backup operations and storage constraints · Gitea backup and restore

Step 5 of 5

Rehearse and document

Where
Isolated Gitea test site
Permissions
Authorized Gitea application administrator or delegated role with rights for this task; hosting access alone is insufficient.
Inputs
Snapshot, test user, commit hash
Action
Restore the sample into isolation, regenerate hooks if installation path changed, then clone and push a test commit.
Expected result
A tested repository recovery.
Verify
Match existing commit and new push in restored web UI.
If it fails
If hooks fail, keep production intact and update recovery steps.

Sources: Gitea backup and restore · Gitea repository and organization permissions

Maintenance

Recovery decisions

AI handoff

Connect an authorized xCloud MCP profile and discover its exact tools and team scope. The packaged REST wrapper is GET-only; use dashboard or app controls for undocumented writes.

Supported scope

  • Confirm requirements and inspect resources mcp · read

    Discover the connected profile and operation schema first; only teams granted to the connection are visible.

    Checkpoint: Confirm exact team, server and site identity. Use dashboard_url returned by the resource; do not invent a dashboard link.

    Operation identifiers and scopes to discover

    teams.index, servers.show, sites.show

    Scopes: read:servers, read:sites

    xCloud MCP documentation and connection profiles · xCloud agent capability boundaries

Copyable agent brief

Manual checkpoints

  • Approve exact site, target, cost and any write or maintenance window after inspecting the proposed plan.
  • An authorized Gitea administrator must configure and test app users, content, integrations and business rules in the app.
  • Native WordPress staging, backup schedule/settings, push/pull and all restores are dashboard-only; Docker restore is dashboard-only and replaces state.
  • Reconcile data created after the chosen recovery point before any destructive restore.
Feature coverage

Sources

Continue

Explore all use cases