Hi 

I am working on backups.

I have created a backup with below command:

/http://dev/solr/XXX/replication?command=backup&name=XXXBackup&location=D:\Backup\/

all worked fine, files have been created.

I wanted to restore the index from this backup with below command:

/http://dev/solr/XXX/replication?command=restore&name=XXXBackup&location=D:\Backup\/

I am getting below response when I am checking the status of the restore
command:

/<lst name="restorestatus">
    <str name="snapshotName">snapshot.XXXBackup</str>
   <str name="status">success</str>
</lst>/

All looks fine, but the index is empty, no records in the index.
This Index is really small as currently only testing this feature. 

When I run the /replication?command=details/  command, I have noticed that
the location of the index points not to the index but to the restore folder
within the index folder, instead of /D:\Data\XXX/ it points to:
/<str name="indexPath">D:\Data\XXX\restore.snapshot.XXXBackup</str>/
and Solr created /index.properties/ file which points to the
/restore.snapshot.XXXBackup/

*Question 1:
Am I doing something wrong?*

I have copied all the files from /D:\Backup\snapshot.XXXBackup/ to the index
location and all is fine, all records are there, so the backup worked fine,
but the restore command not.

*Question 2:
My second question, is it "fine" to copy all the files from the backup
folder into the index folder?*

Thank you 
Damian



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to