You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_printf "[%s] failed to fetch collection alias %s:%s, got this instead %s\n" "$host" "$collection_name" "$alias_name" "${result//[[:space:]]/}"
584
+
_printf "[%s] failed to restore collection alias %s:%s, got this instead %s\n" "$host" "$collection_name" "$alias_name" "${result//[[:space:]]/}"
553
585
return
554
586
fi
555
587
@@ -559,6 +591,22 @@ data:
559
591
560
592
# restores collection aliases to a qdrant node and appends progress to $QDRANT_ALIAS_RECOVERY_HISTORY_FILE
561
593
recover_collection_aliases() {
594
+
595
+
local host="${restore_hosts[0]}"
596
+
597
+
598
+
if [ "$BACKUP_COLLECTION_ALIASES_ON_S3" = "true" ]; then
599
+
600
+
setup_s3_storage
601
+
602
+
if mc cp "$QDRANT_S3_ALIAS/$QDRANT_S3_BUCKET_NAME/$QDRANT_COLLECTION_ALIASES_BACKUP_FOLDER/$QDRANT_COLLECTION_ALIASES_STABLE_FILE" "$QDRANT_COLLECTION_ALIASES"; then
603
+
_printf "collection aliases restored from s3 bucket %s\n" "$QDRANT_S3_BUCKET_NAME"
604
+
else
605
+
_printf "failed to restore collection aliases file (%s) from s3 bucket %s\n" "$QDRANT_COLLECTION_ALIASES_STABLE_FILE" "$QDRANT_S3_BUCKET_NAME"
QDRANT_S3_BUCKET_NAME - S3 bucket name (for S3 operations)
697
745
GET_PEERS_FROM_CLUSTER_INFO - Set to "true" to auto-discover peers
698
-
CURL_TIMEOUT - Curl timeout in seconds (default: 300)
746
+
CURL_TIMEOUT - Curl timeout in seconds (default: 1800)
699
747
QDRANT_WAIT_ON_TASK - Waits for async tasks to finish
700
-
QDRANT_SNAPSHOT_DATETIME_FILTER - Specify the datea and time filter for snapshots to be fetched and/or restored, format YYYY-mm-dd, e,g "2026-01-29-11-44", default value is empty so it will fetch every snapshot!!
748
+
QDRANT_SNAPSHOT_DATETIME_FILTER - Specify the date and time filter for snapshots to be fetched and/or restored, format YYYY-mm-dd, e,g "2026-01-29-11-44", default value is empty so it will fetch every snapshot!!
701
749
Examples:
702
750
$0 get_snap
703
751
$0 recover_snap
@@ -747,11 +795,20 @@ data:
747
795
local DATETIME="${QDRANT_SNAPSHOT_DATETIME_FILTER:-}"
0 commit comments