fix: backup_qdrant.sh uses Qdrant's snapshot path (/qdrant/snapshots/)
The Qdrant snapshots directory is /qdrant/snapshots/{collection}/, not
/qdrant/storage/collections/{collection}/snapshots/ as the script assumed.
Verified against running mem0-qdrant container on beast.
This commit is contained in:
parent
06875473b2
commit
fd109ef892
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ for col in $COLLECTIONS; do
|
||||||
|
|
||||||
out_file="$TARGET_DIR/${col}_${TS}_${snap_name}"
|
out_file="$TARGET_DIR/${col}_${TS}_${snap_name}"
|
||||||
log "snapshot download: $col/$snap_name -> $out_file"
|
log "snapshot download: $col/$snap_name -> $out_file"
|
||||||
docker cp "$QDRANT_CONTAINER:/qdrant/storage/collections/$col/snapshots/$snap_name" "$out_file"
|
docker cp "$QDRANT_CONTAINER:/qdrant/snapshots/$col/$snap_name" "$out_file"
|
||||||
|
|
||||||
# Remove the in-container snapshot to avoid disk bloat on the volume.
|
# Remove the in-container snapshot to avoid disk bloat on the volume.
|
||||||
docker exec "$QDRANT_CONTAINER" curl -fsS -X DELETE \
|
docker exec "$QDRANT_CONTAINER" curl -fsS -X DELETE \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue