`/Users/adityaverma/pinot-storage/zookeeper/versio...
# troubleshooting
a
/Users/adityaverma/pinot-storage/zookeeper/version-2
adityaverma@BGINDLM14LP0599 version-2 % ls -ltr
total 968
-rwxrwxrwx@ 1 adityaverma staff    457 Jan 13 10:34 snapshot.0
-rw-r--r--@ 1 adityaverma staff 67108880 Jan 13 10:58 log.1
-rw-r--r--@ 1 adityaverma staff   54047 Jan 13 11:20 snapshot.1be
-rw-r--r--@ 1 adityaverma staff 67108880 Jan 13 11:25 log.1bf
adityaverma@BGINDLM14LP0599 version-2 %
This is the snapshot created by zookeeper for the pinot cluster ,Now I want to restore the snapshot.0
Copy code
curl -H 'Content-Type:application/octet-stream' -H 'Authorization: digest root:root_passwd' -POST http://hostname:adminPort/commands/restore --data-binary "@snapshotFileName"
here I am running the above command but I am having issues hostname: localhost I am confused with the adminport, will it be 9000 (This is for pinot controller) or 8080.(zookeeper) adminPort. and what is
root:root_passwd
here my local machine root or something else?