This repository has been archived on 2023-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
gitea.kosmos.org/doc/backup-and-restore.md

1.3 KiB

Backups

We're using Ark for backing up Kubernetes config and GKE resources. It is available as a Git submodule in the vendor/ folder (incl. the ark executable).

In order to initialize submodules in your local repo, run once:

git submodule init

Then, to fetch/update the modules, run:

git submodule update

The Ark service is running on the Sidamo cluster and was set up using the official docs' GCP instructions and config files. There's a daily backup schedule in effect for Gitea (using the label app=gitea).

Please refer to Ark's Getting Started doc for all backup and restore commands.

Backup location

Cluster configuration (including all live resources) is backed up to a Google Cloud Storage container.

Persistent volumes

Persistent volumes are just GCE disks. Thus, with the current config, Ark creates volume snapshots as native GCE disk snapshots.