mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2024-11-22 00:11:03 +01:00
renamed
This commit is contained in:
parent
cdd3d88202
commit
d8aa5f7d79
@ -13,7 +13,7 @@ Further information you will find [in this blog post](https://www.veen.world/202
|
|||||||
Execute:
|
Execute:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./docker-volume-backup.sh
|
./backup-docker-to-local.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Recover
|
## Recover
|
||||||
@ -28,7 +28,7 @@ Execute:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
bash ./docker-volume-recover.sh "{{volume_name}}" "$(sha256sum /etc/machine-id | head -c 64)" "{{version_to_recover}}"
|
bash ./recover-docker-from-local.sh "{{volume_name}}" "$(sha256sum /etc/machine-id | head -c 64)" "{{version_to_recover}}"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ version="$3" # version to backup
|
|||||||
container="${4:-}" # optional
|
container="${4:-}" # optional
|
||||||
mysql_root_password="${5:-}" # optional
|
mysql_root_password="${5:-}" # optional
|
||||||
database="${6:-}" # optional
|
database="${6:-}" # optional
|
||||||
backup_folder="Backups/$backup_hash/docker-volume-backup/$version/$volume_name"
|
backup_folder="Backups/$backup_hash/backup-docker-to-local/$version/$volume_name"
|
||||||
backup_files="/$backup_folder/files"
|
backup_files="/$backup_folder/files"
|
||||||
backup_sql="/$backup_folder/sql/backup.sql"
|
backup_sql="/$backup_folder/sql/backup.sql"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user