Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I tried backing up my collection using

http://xxxx:8983/solr/collection1/replication?command=backup&name=myTestbackup&location=/opt/solrBackupFolder

I was able to confirm that with /replication?command=details&wt=xml

<lst name="backup">
  <str name="startTime">xxx xxx xx xx:xx:xx UTC xxxx</str>
  <int name="fileCount">303</int>
  <str name="status">success</str>
  <str name="snapshotCompletedAt">xxx xxx xx xx:xx:xx UTC xxxx</str>
  <str name="snapshotName">myTestbackup</str>
</lst>

For testing I am removing all the existing documents with update?stream.body=<delete><query>*:*</query></delete> where i can see the Num Docs:0 in solr After confirming the number of documents are 0 then I am using

http://xxxx:8983/solr/collection1/replication?command=restore&name=myTestbackup&core=collection1&location=/opt/solrBackupFolder

To restore my backup but it shows the below as my response when i restore

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <lst name="responseHeader">
        <int name="status">0</int>
        <int name="QTime">0</int>
    </lst>
</response>

and /replication?command=restorestatus this gives me

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <lst name="responseHeader">
        <int name="status">0</int>
        <int name="QTime">0</int>
    </lst>
</response>

the documentation(I am using this as there is nothing i found for 4.10 and backup works) says it should return a restorestatus but i never got it. Can someone help me if I am missing something?

question from:https://stackoverflow.com/questions/65938109/unable-to-restore-backup-in-solr-4-10

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
745 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

Just Browsing Browsing

[4] html - How to create even cell spacing within a

548k questions

547k answers

4 comments

86.3k users

...