History-Research-Environment / HRE--History-Research-Environment

Main repo for HRE code
https://historyresearchenvironment.org/
GNU Affero General Public License v3.0
32 stars 6 forks source link

Backup Comparison #48

Closed MichaelErichsen closed 2 years ago

MichaelErichsen commented 6 years ago

From @MichaelErichsen on September 13, 2017 13:6

This is function that users often want to use to resolve apparent inconsistencies in a HRE Project. PLEASE NOTE: This operation is explicitly limited to the comparison of backups of the same HRE Project over its life. It is not sensible or effective to try to do a computed difference between 2 HRE Projects that: • may have some data in common • are subject to differences in user standards and methods of data-entry • include different research type plugins It may be achieved by adding additional features to the Single HRE Project Open GUI. There may be some constraints with respect to the location of the backup file and the location of the Server of the already open HRE Project file. Depending on the implementation, there may be constraints like the exclusive access to the currently opened HRE Project file. The nature of the backup file may influence the feasibility of this operation. There are 2 forms that the backup file might take. If the backup is:

  1. A compressed copy of the HRE Project database – This requires the temporary opening of a second reconstituted HRE Project database on a server (preferably the server that is used for the currently opened HRE Project database)
  2. An XML Export file of the HRE Project Database – The current HRE Project could be also backed up as an XML Export file. This has the advantage that the comparison could be done at the XML level. This could be performed by appropriate GUI component or a free-standing HRE Tool. Michael wrote:
  3. Each of them exports their project as in the local project comparison. HRE compresses the XML export file to a zip format for them, so they can be emailed or FTP’ed to each other.
  4. Each of them can have HRE unzip and import the received XML file and proceed as in the local project comparison.

Copied from original issue: MichaelErichsen/HRE--History-Research-Environment#7