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:
parent
bb9f3af1e0
commit
ecb08ff41c
@ -36,12 +36,17 @@ services:
|
||||
- Set `S3_ENDPOINT` if you're using a non-AWS S3-compatible storage provider.
|
||||
|
||||
## 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
|
||||
```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
|
||||
```sh
|
||||
docker exec <container name> sh restore.sh <timestamp>
|
||||
|
Loading…
x
Reference in New Issue
Block a user