Import an archive

The procedure to restore a backup is seperated into two parts, similar to the generation of a backup: the backup must first be uploaded to the server before the restore operation is made.

If it is more convenient, the backup can be uploaded using SSH or FTP, depending on your host. For very large backups, this might be mandatory. If you chose this option, make sure to upload into the “inc/data” directory. You can then ignore some of the steps described below.

To upload an existing backup onto the system, follow the steps:

  1. Click on the button “Archives” from the main navigation menu and then on the “Restore” tab located at the top of the screen.
  2. When the “Backup” form opens, locate the box titled “Upload a backup”.
  3. Click on the “Browse” button. It will open a dialog box to help you locate the backup file to upload from your local computer. When you have selected the file, click on “Ok” to close the dialog box.
  4. Click on the “Validate” button to upload the file onto the server.

To restore an existing backup, follow the steps:

  1. Locate the “Restore a backup” box, located under the “Upload a backup” box.
  2. Select the backup to restore from the dropdown menu.
  3. Select the operation to make:
    Restore
    Deletes the existing database in the system and will restore the system to the exact state of the backup. This is the normal operation to do if you have re-installed LCM on a new computer and you wish to restore the database from your previous installation. Never risk restoring the database “just for testing”, the restore operation may fail and leave the system in an unstable state.
    Synchronise
    May be used to synchronise a system with a parent one (or a centralised system). This is very experimental, and we do not recommend using it unless you have tested the operation, and know very well what you are doing. Note: LCM does not support the synchronisation of two system, it only supports sending information to a centralised server - information from the central server should never be sent to the local host.
  4. Click on the “Validate” button to proceed with the opration.

Delete the uploaded archive

Once the system is successfully restored, you can delete the uploaded archive from the “Backup” tab. For more information, refer to the previous section.