Skip to content

Commit

Permalink
Merge pull request #3428 from Human-Connection/3427-spaces-backup-ima…
Browse files Browse the repository at this point in the history
…ges-documentation

chore: Update docs for spaces backups
  • Loading branch information
roschaefer authored Apr 7, 2020
2 parents 42e0a41 + 5ff7bf9 commit b6682b5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions deployment/digital-ocean/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. you should be able to make a backup with this command.

```sh
s3cmg get --recursive s3://human-connection-uploads --skip-existing
```

0 comments on commit b6682b5

Please sign in to comment.