This commit is contained in:
Kevin Veen-Birkenbach 2023-11-16 23:02:09 +01:00
parent cdd3d88202
commit d8aa5f7d79
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ Further information you will find [in this blog post](https://www.veen.world/202
Execute:
```bash
./docker-volume-backup.sh
./backup-docker-to-local.sh
```
## Recover
@ -28,7 +28,7 @@ Execute:
```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}}"
```

View File

@ -12,7 +12,7 @@ version="$3" # version to backup
container="${4:-}" # optional
mysql_root_password="${5:-}" # 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_sql="/$backup_folder/sql/backup.sql"