Language:


Company Text Backup, Database Text Backup - Restoring from a Back-up

To restore from a back-up, you must first create a new database. Then import the back-up file using the 'Imports' function on the File menu in the System module.

Restoration from a safety back-up is a non-destructive process, i.e. the back-up file is not affected by the reading process. This means that you can use the same back-up file more than once.

Restoring from a back-up is done in the following way:

  1. Move the old database (named "Hansa.HDB") to another folder/directory, to avoid mixing things up. Rename it so that you know what it contains.

  2. Delete the database file "Hansa.HDB" from the folder or directory with your Hansa application, but make sure that the "DBDef.txt" and "Default.txt" files are present in that folder. Double-clicking the Hansa application now will force it to create a new database.

    !

    It is important to restore to a new, empty database, to avoid mixing the restored data with the old, damaged database.


  3. In the System module, choose 'Imports' from the File menu. The 'Imports' window is shown.

  4. Select 'Automatic' and press the Enter key (or double-click on 'Automatic').

    Hansa opens a list of back-up files. To be included in this list, a back-up file can be stored in the "Backup" or "Setup" folder or directory, which should be in the same folder or directory as the Hansa application.

    In the list, the filename of each back-up file is shown together with the date it was saved and any comment added when it was created (see step 3 on this page).

  5. Highlight the file you want to import (the back-up to which you wish to revert) and press the Enter key (or double-click on the name of the file).

  6. A message window informs you about the progress of the import.

  7. When the import has finished, Hansa will shut down for reasons of security if the imported file contains any Person register records. Restart the program and you will then be ready to continue working. If you imported the file to a brand new database (i.e. you were restoring from a back-up file), you will need to re-enter your database key to the Enabler setting.

!

Copy the old database to another folder/directory or remove it, to avoid mixing things up.


If the Restoration Appears to Fail
There are certain circumstances in which Hansa will show files in the list of available back-up files, but not be able to import them successfully. This will occur on both Macintosh and Windows machines if the filename does not comply with the DOS naming convention (i.e. a maximum of eight characters followed by a three character extension). If the name of your back-up file does not comply with this convention (or it is not shown in the list of available files because it is not stored in the "Backup" or "Setup" folder or directory), continue with these steps:

  1. If it is still open, close the list of available import files using the close box.

  2. In the System module, choose 'Imports' from the File menu. The 'Imports' window is shown:

  3. Select 'Automatic, manual file search' and press the Enter key (or double-click on 'Automatic, manual file search').

    In most operating systems, Hansa opens a standard dialogue box with a list of the files in the current folder of the current volume. To find the back-up file, scroll through the list or select another folder or volume in the normal way.

    In some operating systems (e.g. Macintosh OS X), Hansa uses its own file dialogue window:

    When the file dialogue window is first opened, the main part of the window shows the contents of the folder containing your Hansa application. Folder names are shown in angled brackets <>. Double-click a folder name to see its contents. Double-click the first item in the list (..) to go up one level. Click the [Desktop] button to go to your desktop, and the [Backup] button to enter the Backup folder that is inside the folder containing your Hansa application. This has been done in the illustration above.

  4. Once you have found the file you want to import (the back-up to which you wish to revert) and click [Open] or [Select] (depending on the operating system), or double-click the name of the file.

    A message window informs you about the progress of the import.

  5. When the import has finished, Hansa will then close for reasons of security if the back-up file contains at least one record in the Person register. Restart the program and type your database key in to the Enabler setting: you will then be ready to continue working.