mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2025-09-09 19:57:11 +02:00
renamed
This commit is contained in:
@@ -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"
|
||||||
|
|
Reference in New Issue
Block a user