1
0
mirror of https://github.com/garraflavatra/docker-volume-s3-backup.git synced 2025-05-17 13:14:38 +00:00

Using GitHub Flavored Markdown for Note and Caution (#45)

This commit is contained in:
Guillaume Briday 2024-01-27 11:33:49 -05:00 committed by GitHub
parent bb9f3af1e0
commit ecb08ff41c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,12 +36,17 @@ services:
- Set `S3_ENDPOINT` if you're using a non-AWS S3-compatible storage provider. - Set `S3_ENDPOINT` if you're using a non-AWS S3-compatible storage provider.
## Restore ## Restore
> **WARNING:** DATA LOSS! All database objects will be dropped and re-created. > [!CAUTION]
> DATA LOSS! All database objects will be dropped and re-created.
### ... from latest backup ### ... from latest backup
```sh ```sh
docker exec <container name> sh restore.sh docker exec <container name> sh restore.sh
``` ```
> **NOTE:** If your bucket has more than a 1000 files, the latest may not be restored -- only one S3 `ls` command is used
> [!NOTE]
> If your bucket has more than a 1000 files, the latest may not be restored -- only one S3 `ls` command is used
### ... from specific backup ### ... from specific backup
```sh ```sh
docker exec <container name> sh restore.sh <timestamp> docker exec <container name> sh restore.sh <timestamp>