chore: Update docs for spaces backups

This commit is contained in:
mattwr18 2020-04-06 14:39:00 +02:00
parent 169fd6c5db
commit 29a9567bce

View File

@ -24,3 +24,15 @@ Digital Ocean kubernetes clusters don't have a graphical interface, so I suggest
to setup the [kubernetes dashboard](./dashboard/README.md) as a next step.
Configuring [HTTPS](./https/README.md) is bit tricky and therefore I suggest to
do this as a last step.
## Spaces
We are storing our images in the s3-compatible [DigitalOcean Spaces](https://www.digitalocean.com/docs/spaces/).
We still want to take backups of our images in case something happens to the images in the cloud. See these [instructions](https://www.digitalocean.com/docs/spaces/resources/s3cmd-usage/) about getting set up with `s3cmd` to take a copy of all images in a `Spaces` namespace, ie `human-connection-uploads`.
After configuring `s3cmd` with your credentials, etc. I was able to make a backup with this command.
```sh
s3cmg get --recursive s3://human-connection-uploads --skip-existing
```