epugh commented on code in PR #5382: URL: https://github.com/apache/solr/pull/5382#discussion_r4667597836
########## solr/solr-ref-guide/modules/deployment-guide/pages/user-managed-index-replication.adoc: ########## @@ -650,10 +650,30 @@ For file system repository, location defaults to the core's dataDir (data direct `restore`:: Restore a backup from a backup repository. + +[tabs#restore-request] +====== +V1 API:: ++ +==== [source,bash] +---- http://{leaderHost}:{port}/solr/{coreName}/replication?command=restore +---- +==== + +V2 API:: ++ +==== +[source,bash] +---- +curl -X POST -H 'Content-Type: application/json' -d '{"name": "backup_name"}' \ +http://{leaderHost}:{port}/api/cores/{coreName}/replication/restore +---- +==== +====== + This command is used to restore a backup. +It is asynchronous; use `restorestatus` to track the progress. Review Comment: don't we have terms like `async`? Is there a way to make our tracking of progress in v2 apis more the same? Any patterns that exist that we could use in this v2 conversion? To be more consistent? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
