mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2025-09-16 06:56:01 +02:00
Updated recovery
This commit is contained in:
10
README.md
10
README.md
@@ -16,7 +16,13 @@ Execute:
|
||||
./docker-volume-backup.sh
|
||||
```
|
||||
|
||||
## Recover one volume
|
||||
## Recover
|
||||
|
||||
```bash
|
||||
docker exec -i mysql_container mysql -uroot -psecret database < db.sql
|
||||
```
|
||||
|
||||
### Volume
|
||||
Execute:
|
||||
|
||||
```bash
|
||||
@@ -25,6 +31,8 @@ bash ./docker-volume-recover.sh "{{volume_name}}" "$(sha256sum /etc/machine-id |
|
||||
|
||||
```
|
||||
|
||||
### Database
|
||||
|
||||
## Debug
|
||||
To checkout what's going on in the mount container type in the following command:
|
||||
|
||||
|
Reference in New Issue
Block a user