Consider the following scenario. An old Kloudfuse installation is decommissioned and a new Kloudfuse installation is deployed. Segments from the old Kloudfuse installation stored in a deep store can be loaded into the new installation. Refer to the following steps:
Note that the deep store location for the new installation must be on a different path from the old installation. The command also assumes that the Pinot servers on the new Kloudfuse installation has permissions to read from the old deep store location.
kubectl port-forward pinot-controller-0 -n kfuse 9000:9000 # For each table (kf_metrics, kf_logs, kf_traces, kf_traces_errors, kf_events) run the following: curl -X POST --fail -H "Content-Type: application/json" -H "TABLE_TYPE:REALTIME" -H "UPLOAD_TYPE:BATCH" -H "DOWNLOAD_URI:<OLD DEEPSTORE PATH>/controller/data/<TABLE NAME>" -v "http://localhost:9000/v2/segments?tableName=<TABLE NAME>&tableType=REALTIME&enableParallelPushProtection=false&allowRefresh=false"