diff --git a/main.py b/main.py
index a4257f82ff5420373e854f563eb86b6cc78804ef..5cacbbe5afd345b30da22e2d0e5a199400810aa9 100644
--- a/main.py
+++ b/main.py
@@ -79,6 +79,7 @@ path_logging = "{}/{}".format("data", name_logging)
 
 # Save the datasets and datasheets used in the experiment to the logging directory.
 m_pck.logging_calorimetry(data, metadata, path_logging, path_json)
+m_json.archiv_json(path_json, path_setup, path_logging)
 
 if is_log_heater:
     # Read heater's uuid from metadata.