how to backup solrconfig file from running solr

mniknam

I have a single core solr server. when solr was running, in one collection solrconfig.xml and schema.xml files replaced by mistake. now collection worked correctly and correctly response to request but valid file in conf folder is replaced by mistake files. surly if i reload collection, new bad files load and my collection not worked correctly.

is there a way than can get solrconfig.xml & schema.xml from running collection without considering solrconfig.xml and schema.xml files that exist in conf folder?

freedev

You can read the current running schema and config through the Solr schema API and Solr config API.

Pay attention: the results of this APIs is not the original schema.xml or solrconfig.xml files but from that you can rebuild the originals.

Again, pay also attention that Solr config API is available only in recent version of Solr.

In older versions (I have tested version 4.8.1) are no API for the solr configuration, so there is no way to fully rebuild the solrconfig.xml file.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Cannot Find Proper solrconfig.xml file for configuration in solr 5.1.0

From Dev

Error loading solr config from solrconfig.xml

From Dev

Solr - How to use "dir" attribute of <lib> tag, in solrconfig.xml

From Dev

How to backup a running system?

From Dev

How to exclude file from backup in Swift?

From Dev

prevent backup from running in parallel

From Dev

how to backup file in java?

From Dev

How to backup and restore sqlite3 file from iOS app

From Dev

How to Restore Octopus Deploy Database from a previous backup file

From Dev

How to exclude libraries from File History backup in Windows 10?

From Dev

How to backup and restore sqlite3 file from iOS app

From Dev

How to create a registry hive file from a .reg backup

From Dev

How to stop Solr delta import from creating a log file

From Dev

Create database from backup file

From Dev

Solr: ComplexPhraseQueryParser ignores maxBooleanClauses value in solrconfig.xml

From Dev

Could not load config file solrconfig.xml

From Dev

How to automate creating and running a "clean" SQL Server database starting from a backup using Docker and Docker Compose?

From Dev

How to append date to backup file

From Dev

How to Backup and Compare File Permissions?

From Dev

How to know whether solr server is running or not

From Dev

File History - How long will a file remain in backup after it is deleted from computer?

From Dev

How to prevent an exe file from running if it is not installed with a setup file?

From Dev

How to prevent an exe file from running if it is not installed with a setup file?

From Dev

Restore SQL Server backup from varbinary(max) variable backup file

From Dev

How to repair GRUB from backup?

From Dev

How to repair GRUB from backup?

From Dev

How to create a backup file if the file exists

From Dev

Restoring only one file from a backup set

From Dev

Can't restore database from backup file

Related Related

  1. 1

    Cannot Find Proper solrconfig.xml file for configuration in solr 5.1.0

  2. 2

    Error loading solr config from solrconfig.xml

  3. 3

    Solr - How to use "dir" attribute of <lib> tag, in solrconfig.xml

  4. 4

    How to backup a running system?

  5. 5

    How to exclude file from backup in Swift?

  6. 6

    prevent backup from running in parallel

  7. 7

    how to backup file in java?

  8. 8

    How to backup and restore sqlite3 file from iOS app

  9. 9

    How to Restore Octopus Deploy Database from a previous backup file

  10. 10

    How to exclude libraries from File History backup in Windows 10?

  11. 11

    How to backup and restore sqlite3 file from iOS app

  12. 12

    How to create a registry hive file from a .reg backup

  13. 13

    How to stop Solr delta import from creating a log file

  14. 14

    Create database from backup file

  15. 15

    Solr: ComplexPhraseQueryParser ignores maxBooleanClauses value in solrconfig.xml

  16. 16

    Could not load config file solrconfig.xml

  17. 17

    How to automate creating and running a "clean" SQL Server database starting from a backup using Docker and Docker Compose?

  18. 18

    How to append date to backup file

  19. 19

    How to Backup and Compare File Permissions?

  20. 20

    How to know whether solr server is running or not

  21. 21

    File History - How long will a file remain in backup after it is deleted from computer?

  22. 22

    How to prevent an exe file from running if it is not installed with a setup file?

  23. 23

    How to prevent an exe file from running if it is not installed with a setup file?

  24. 24

    Restore SQL Server backup from varbinary(max) variable backup file

  25. 25

    How to repair GRUB from backup?

  26. 26

    How to repair GRUB from backup?

  27. 27

    How to create a backup file if the file exists

  28. 28

    Restoring only one file from a backup set

  29. 29

    Can't restore database from backup file

HotTag

Archive