From fd109ef892d1ee4f2de3fb888e9ce30bca64d1d5 Mon Sep 17 00:00:00 2001 From: Pratik Narola Date: Sat, 23 May 2026 19:56:38 +0530 Subject: [PATCH] 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. --- scripts/backup_qdrant.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup_qdrant.sh b/scripts/backup_qdrant.sh index 0b5bd26..8bd4469 100755 --- a/scripts/backup_qdrant.sh +++ b/scripts/backup_qdrant.sh @@ -56,7 +56,7 @@ for col in $COLLECTIONS; do out_file="$TARGET_DIR/${col}_${TS}_${snap_name}" 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. docker exec "$QDRANT_CONTAINER" curl -fsS -X DELETE \