# HG changeset patch # User Sebastien Jodogne # Date 1687448315 -7200 # Node ID 22a19433820bf4d2d8e29cf733d56ef6352b84b1 # Parent 74248236d70c406df4eb1ac9ce2906af09b15c6e clarification diff -r 74248236d70c -r 22a19433820b Sphinx/source/users/replication.rst --- a/Sphinx/source/users/replication.rst Wed Jun 21 19:19:54 2023 +0200 +++ b/Sphinx/source/users/replication.rst Thu Jun 22 17:38:35 2023 +0200 @@ -72,11 +72,14 @@ The most direct way to replicate an instance of Orthanc consists in using the `ImportDicomFiles `_ -script of the Orthanc distribution. For instance, the following -command would recursively explore the content of the -``OrthancStorage`` folder (where Orthanc stores its DICOM files by -default), and send each DICOM file inside this folder to the instance -of Orthanc whose REST API is listening on +script of the Orthanc distribution. This process can also be used to +restore the content of an Orthanc server after a corruption of its +database. + +For instance, the following command would recursively explore the +content of the ``OrthancStorage`` folder (where Orthanc stores its +DICOM files by default), and send each DICOM file inside this folder +to the instance of Orthanc whose REST API is listening on ``http://192.168.0.2:8042``:: $ python ImportDicomFiles.py 192.168.0.2 8042 OrthancStorage @@ -97,16 +100,13 @@ **Important remark:** Because of :ref:`the way Orthanc stores its database ` on the filesystem, it is *entirely normal* -that the ``ImportDicomFiles.py`` script ends by saying that only half -of the DICOM files were properly sent. This is because the JSON -summaries are not DICOM files, and are thus rejected by the target -Orthanc server. More information are available `on the discussion -group +if the ``ImportDicomFiles.py`` script ends by saying that only half of +the DICOM files were properly sent. This is because the JSON summaries +are not DICOM files, and are thus rejected by the target Orthanc +server. More information are available `on the discussion group `__. - - Generic replication -------------------