We are using SolrCloud and utilizing a the replication backup command:
curl "http://localhost:8080/solr/replication?command=backup&numberToKeep=5&location=/data/backup"
Which works great and responds with:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">6</int></lst><str name="status">OK</str>
</response>
However, I'd like to rsync the files off of the box when the backup is done - but I dont know how to determine when it's finished. How can I know when it's done backing up?