Disaster recovery using ogion image
For it to work, you must have list and read access to your cloud provider (eg GCS, S3, etc.) in service account on credentials that are using inside ogion container.
The container has following commands available:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
To eg. restore to the latest point for example backup target postgresql_my-instance
you can use:
- k8s:
kubectl exec --it ogion-9c8b8b77d-z5xsc -n ogion -- python -m ogion.main --target postgresql_my-instance --restore-latest
- docker:
docker compose run --rm ogion python -m ogion.main --target postgresql_my-instance --restore-latest
PS. In the process, prgram will ask for age secret key in input.