Introduction
When the day's work with FirstOffice is done, we advise you to make a back-up. It is a good idea to save a copy of the file and store it in a safe place. It might seem unnecessary to make a back-up every day, but the short time this takes is a good investment for the day something goes wrong with the hard disk.To back up your data is particularly important when, as in the case of a FirstOffice database, the financial information of your company is involved. If you should lose all your data, you will find yourself in a very awkward situation, missing all invoices, receipts, reports etc. Make sure you make a back-up each time you have been working with your accounts. Name your copies systematically with dates so that you can easily restore the database, should an accident occur.
If you get a virus on your computer, you must first try to establish the date when your computer was infected. In this case you must restore your data from a back-up created before the infection date. Otherwise you run the obvious risk of re-infecting the computer again.
FirstOffice's method of back-up is fast and economical. The data is saved as a back-up file that takes up a minimal amount of space, and the back-up files are independent of the program versions. Of course, it is also possible to copy the database file as it appears on your hard disk, but this is not so economical in terms of disk space, and a subsequent restoration may not be successful if the version of your FirstOffice application has changed since the back-up was made.
! | Use FirstOffice's built-in text back-up feature to guarantee a successful restoration. |
To create a back-up, follow these steps:
Usually you should use the 'Database Text Back-up' option, as this is the only choice that backs up the entire database. You must use it regularly for your safety and peace of mind. Some registers and settings (e.g. the Configuration setting, Mailboxes and Conferences) are stored at database level, not Company level. These will not be exported by the 'Company Text Back-up' option, even if your database only contains a single Company. The 'Company Text Back-up' option is intended for use in the situation where you need to move all the information relating to a specific Company from one database to another.
In a multi-user system, you cannot use the 'Database Text Back-up' option (and the [Backup] button in the Master Control panel) on a client machine. You can only use it on the server machine, when no other user is logged in. First, select 'Quit, Remove Autoserver' from the File menu and restart FirstOffice. Then, choose the System module using the [Select Module] button in the Master Control panel. If it is not convenient to work from the server, use the automatic timed back-up feature.
If the server does not have a graphical interface, you can use the automatic timed back-up feature, or you can create a back-up file by typing into the Terminal:
It is recommended that you save the back-up file in a folder or directory named "Backup" which should be in the same folder or directory as the FirstOffice application. All text back-up files in this folder will be shown in a list of importable files if it becomes necessary to restore from a back-up.
A message window informs you about the progress of the export.
! | Under no circumstances should you edit or change a text back-up file with another program. |
Automatic Timed Back-ups
The importance of establishing a regular routine for backing up cannot be emphasised enough. Because FirstOffice works - like all financial systems - with a single file database in which all your data about customers, invoices, nominal ledger etc. is stored, if you lose that file, you have lost not just a single document, but all your accounting and customer information.To make this task easier, FirstOffice contains a timed back-up feature whereby a database back-up file can be created automatically every day. To specify when the back-up files are to be created, and where they are to be stored, follow the steps outlined below.
If it is inconvenient to work on the server (e.g. it does not have a graphical interface, or it is in another building), you can work from a client machine. Log in as a Person that has access to the Technics module.
If 'Technics' is not available in the list of modules in a single-user system, this will probably be because you have not granted yourself access to the Server module in the Configuration setting.
The following examples show the correct syntax for the Database Backup Path. You can use either \ or / as a separator between folder names under Windows, Linux and Mac OS X while you should use : on Mac OS 9. Note that the separator appears as the final character in the path.
It is recommended that you save the back-up file in a folder or directory named "Backup" which should be in the same folder or directory as the FirstOffice application. All back-up files in this folder will be shown in a list of importable files if it becomes necessary to restore from a back-up. Under Windows XP, Linux and Mac OS X, you can do this using a relative path:
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.The replacement of 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.
For reasons of speed, it is recommended that you carry out the process of restoring from a back-up on the server machine in multi-user systems. If this is not possible, use a single client machine. If you have separate back-up files for different Companies, they should be imported individually. Attempting to import them simultaneously using different client machines could result in data being lost.
Restoring from a back-up is done in the following way:
! | It is important to restore to a new, empty database, to avoid mixing the restored data with the old, damaged database. |
The "DBDef.txt" and "Default.txt" files should always be present in the same directory/folder as the FirstOffice application. They contain some important data used when setting up the new database and creating new Companies. If this file is missing, your FirstOffice application may not work the way you expect it to do!
In the list, the filename of each text back-up file is shown together with the date it was saved and any description added when it was created (in the 'Specify Text Backup' window).
FirstOffice 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.
A message window informs you about the progress of the import.
Updating from Previous Versions of FirstOffice
The latest version of FirstOffice is always available at www.hansaworld.com, from where updates should be obtained. If you are online, clicking the [HansaWorld.com] button in the Master Control panel will take you to this site.Inevitably, new versions of FirstOffice will incorporate significant structural changes. Because of this, it cannot be guaranteed that they will be able to open databases created by previous versions unless you use the export and import functions.
To update, follow these steps:
For reasons of speed, it is recommended that you back up, restore and update on the server machine in multi-user systems. If this is not possible, use a single client machine. If you have separate back-up files for different Companies, they should be imported individually. Attempting to import them simultaneously using different client machines could result in data being lost.