mirror of
https://github.com/garraflavatra/docker-volume-s3-backup.git
synced 2025-07-16 15:14:06 +00:00
Using GitHub Flavored Markdown for Note and Caution (#45)
This commit is contained in:
@ -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>
|
||||||
|
Reference in New Issue
Block a user