i-effect Manual
German English
German English

Restore reorganized archive

In the section Monitoring (exepct for prinouts) you can see the Reorg menu, which can be used to restore archived entries to the system using the i-effect Reorg function.

the current logbook is always shown with the entry live view, as soon as an archive is restored and selected, the name of this Reorg is displayed in the menu bar.

image2018-9-17_16-1-45.png
image2018-9-17_16-3-53.png

Prerequisites

  • Archives are created with STREFREORG ARCHIV(*YES) as of release 3.1.19, see STREFREORG, reorganize i-effect.

  • The WebControl user who starts the restore needs the special authority *ALLOBJ. During the restore, the database of the archive is brought up to the level of the installed release. This creates SQL triggers among other objects, which requires the CREATE TRIGGER authority. Without it, the restore ends with an error message.

Restoring

To restore an archive, the menu item restore archive must be selected. A form opens in which the name must be entered and a ZIP file containing the archived data must be selcted.

image2018-9-17_16-5-34.png

Once the recovery has started, a status window will appear. The name of the library where it will be saved and a status of the operation are displayed here. Depending on the size of the archives, this process can take a relatively long time. You can leave this window open and wait for the process to happen - after completion the archive will be selected and displayed automatically. Alternatively, the window can be closed - the status is then automatically updated in the background and a notification appears as soon as the process is completed. The archive is then not automatically loaded, however, but must be selected via the menu.

image2018-9-17_16-5-6.png

The restore runs in these steps:

  1. The archive is checked, and the space in the restore directory is verified.

  2. The logbook data is restored into the next free library IEFFREORnn.

  3. The database is brought up to the level of the installed release, with views and indexes as in the current logbook.

  4. The files of the archive are restored, see section Archives containing files.

If an error occurs, the library created is removed again and the status window shows the reason. Details are logged in /home/ieffect/internal/<date>-restoreLogbook.log.

A maximum of 100 archives can be restored, which are then accessible to all WebControl users. When restoring, new libraries are automatically created in the naming scheme IEFFREOR0- IEFFREOR99.

Existing archives can be removed from the system using the Delete icon next to the entry in the menu. In addition, there is a button in the settings with which all existing archives can be deleted at once by the system. This removes the library and the restored files.

Archives containing files

The files of an archive are stored with their original path below /home/ieffect/restore/IEFFREORnn. The file /home/ieffect/zugferd/archiv/invoice.pdf, for example, is found after the restore under /home/ieffect/restore/IEFFREOR0/home/ieffect/zugferd/archiv/invoice.pdf. The paths in the restored logbook are not changed: when a restored archive is displayed, WebControl automatically opens files from the restore directory. This also applies to the internal logs of a session.

The restore directory needs about as much space as the unpacked files and the logbook data of the archive. If there is not enough space, the restore ends before anything is restored.

Archives not supported

  • Archives of the reorganization before release 3.1.19 cannot be restored.

  • Archives from a newer release than the installed one are rejected.