Compare commits
8 Commits
export-met
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d09b25f72 | |||
| 8cb0f479d5 | |||
| 6e496fe42b | |||
| 5237068af1 | |||
| 7ad4b82d71 | |||
| 33d7d50884 | |||
| 583c83cd56 | |||
| a907c6f695 |
@ -13,12 +13,13 @@ steps:
|
||||
from_secret: drone_ssh_swarm_test
|
||||
networks:
|
||||
- proxy
|
||||
compose: "compose.yml"
|
||||
environment:
|
||||
DOMAIN: garage.swarm-test.autonomic.zone
|
||||
STACK_NAME: garage
|
||||
LETS_ENCRYPT_ENV: production
|
||||
SECRET_RPC_SECRET_VERSION: v1
|
||||
SECRET_RPC_SECRET_VERSION: v1 # length=64 charset=hex
|
||||
SECRET_ADMIN_TOKEN_SECRET_VERSION: v1 # length=64 charset=hex
|
||||
SECRET_METRICS_TOKEN_SECRET_VERSION: v1 # length=64 charset=hex
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
|
||||
@ -5,12 +5,12 @@
|
||||
<!-- metadata -->
|
||||
|
||||
* **Category**: Apps
|
||||
* **Status**: wip
|
||||
* **Status**: 3
|
||||
* **Image**: [`garage`](https://hub.docker.com/r/dxflrs/garage), 4, upstream
|
||||
* **Healthcheck**: No
|
||||
* **Healthcheck**: Yes
|
||||
* **Backups**: No
|
||||
* **Email**: N/A
|
||||
* **Tests**: Yes
|
||||
* **Tests**: 3
|
||||
* **SSO**: N/A
|
||||
|
||||
<!-- endmetadata -->
|
||||
@ -96,12 +96,11 @@ Within your chosen monitoring software (ie. Telegraf, Prometheus, etc.), you'll
|
||||
|
||||
By default, backups will only capture a snapshot of the metadata directory, which includes bucket names, hashed secrets, and other related information.
|
||||
By default, the actual data will not be backed up!
|
||||
If you're running Garage in a cluster, when you restore the metadata, other nodes will provide any missing data.
|
||||
If you're running Garage in a cluster, when you restore the metadata, other nodes will provide any missing data (assuming a replication factor >1).
|
||||
|
||||
### To enable full data backups
|
||||
* `abra app config <app domain>`
|
||||
* Uncomment the block that starts with `## Enable Full Data Backups`
|
||||
* Re-deploy Garage: `abra app undeploy -n <app domain> && sleep 5 && abra app deploy -n <app domain>`
|
||||
|
||||
|
||||
For more, see [`garagehq.deuxfleurs.fr`](https://garagehq.deuxfleurs.fr/documentation/cookbook/real-world/).
|
||||
|
||||
@ -27,7 +27,7 @@ services:
|
||||
- "traefik.tcp.routers.${STACK_NAME}-rpc.rule=HostSNI(`*`)"
|
||||
- "traefik.tcp.routers.${STACK_NAME}-rpc.entrypoints=garage-rpc"
|
||||
- "traefik.tcp.services.${STACK_NAME}-rpc.loadbalancer.server.port=3901"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.0.2+v2.3.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+v2.3.0"
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.pre-hook=/garage meta snapshot --all"
|
||||
- "backupbot.backup.path=/var/lib/garage/meta/snapshots/,/var/lib/garage/meta/cluster_layout,/var/lib/garage/meta/data_layout,/var/lib/garage/meta/node_key,/var/lib/garage/meta/node_key.pub"
|
||||
|
||||
Reference in New Issue
Block a user