Backup and restore
One wizard takes a backup of the open company file or restores a backup, whether a file is open or not. A small window also appears that asks whether to take a backup before some operations. The steps are in Back up a company file and Restore a company file from a backup.
Opening the wizard
- Click File > Home > Backup. The conditions for the button are on the Home page.
- The window title is Backup, and its size is fixed. It cannot be closed while an operation runs.
- If you have the permission of the Backup page in Program Options, the Settings button shows in the window header. It is disabled while work runs. With no file open there is no such permission, so the button does not show.
Welcome page
Its heading is "Welcome to Backup & Restore Wizard", with "This wizard will help you in an easy and step-by-step way to create and restore backups" under it. It shows large cards, and which ones show depends on your situation.

| Card | When it shows | What it does |
|---|---|---|
| Make Backup Copy on Hard Disk | A file is open and the user has the To Hard Disk permission. | Opens the backup page. |
| Restore Backup from Hard Disk | A file is open and the user has Restore from Hard Disk; or no file is open (no permission check). | With a file open: asks to close windows and then opens restore. With no file: opens restore without a file. |
| Make Backup Copy on Removable Disk | A file is open and the user has To Removable Disk, in the standard edition only. | Closes the wizard and opens the removable disk backup window. |
| Restore Backup from Removable Disk | In the standard edition: with Restore from Removable Disk when a file is open, and with no permission check when no file is open. | Closes the wizard and opens the removable disk restore window. |
The two removable disk windows are in Make a Backup and Restore Backup Copy.
Backup settings
They show when you click Settings, and replace the wizard pages until you click Apply or Close.
| Field | Description | Values and rules |
|---|---|---|
| Backup folder for the server (followed by the server name) | The folder SQL Server writes the backup files into. | A path on the server computer. |
| Backup folder for the current computer | A folder on this computer. | A browse button opens a folder window titled "Select the Folder:". It serves the removable disk. |
| Backup Temporary Folder | A temporary preparation folder. | A browse button as above. It serves the removable disk. |
| Warning when restoring after | The number of minutes since the last backup. | A whole number. It is followed by "Minutes from the last backup". The value 0 removes the warning page from restore. |
| Button | What it does |
|---|---|
| Apply | Saves the four values and returns to the wizard. |
| Close | Returns without saving your changes. |
The default values, how they are saved and scheduling are in Set automatic backup options. The page in Program Options also holds the scheduled tasks, and it is covered in Export Options.
Backup page
Its title is "Make Backup Copy on Hard Disk". The header shows the file data: the name, Server: and Database:.

| Field | Description | Required | Values and rules |
|---|---|---|---|
| The question "Do you want to make a backup copy on the hard disk?" | Display. | — | |
| Notes: | A description of the backup. | No | The program fills it with six lines: file name, database name, computer name, user, version and date. The whole text is selected when you enter the box. It is kept with the backup and shows in the restore list. Keep it under 255 characters. |
Start begins the backup. While it runs, the buttons are disabled and the window cannot be closed. Back returns to the welcome page. On success "Operation completed successfully" appears and the window closes. The file name, location and content are in Back up a company file.
Restore with a file open
Every page carries the file data in its header, and its title is "Restore Backup from Hard Disk". When it starts, the program loads the backup list and the messages, so the page is disabled for a moment.
Choose the backup

| Button | What it does |
|---|---|
| Browse | Opens a file window for *.dat, *.bak and all files. It replaces the list with one row, the file you chose, and SQL Server reads the file on the server computer. |
| Stored Backups | Reloads the list of backups the server knows for this database. |
| Delete | Disabled until a row is selected. For a stored backup it asks "Are you sure you want to delete?", and on confirmation it deletes the file and its record. For a file you picked with Browse it only removes it from the list. |
| Column | Meaning |
|---|---|
| Lock column (no title) | Shows no value and does not protect the backup in this version. |
| Date | The start date and time of the backup, shown as day-month-year and the time. |
| Size | The size of the backup. |
| File | The full path on the server computer. |
The list is sorted from the newest. Under it is a read-only notes box that shows the notes of the selected backup.
| Field | Description | Values and rules |
|---|---|---|
| Export Log File before Restoring the Copy | A box. | If you tick it, the program exports the log file before the restore, because the restore replaces it. |
| Path of the text file | Where it is saved. | Enabled with the box. The first value is AmeenLogfile.txt in the log files folder. The button in the box opens a save window for text files *.txt and asks before it overwrites a file. |
Next works after you select a backup.
Loyalty cards warning
It appears only if the file is a central file for collecting loyalty card points, or is linked to a central file. The text is "This file is a centralized database to accumulate loyalty cards points. …" or "The file is linked to a centralized database to accumulate loyalty cards points "…". …", and it ends with the question "Are you sure you want to continue?". The choices are Yes and No. Next works only with Yes.
Backup before the restore
The question is "Do you want to make backup copy on the hard disk before restore to avoid losing any information?". The choices are Yes (selected at first) and No. With Yes, the Notes: box works with default notes of six lines. Next works in both cases.
Restore warning
It shows one of two messages, depending on the value of Warning when restoring after. If less than that number of minutes passed since the last backup the program took: "Last backup date … at …" followed by "Retrieving the backup will delete all operations, and you would not be able to retrieve data except for last version data!! Are you sure you want to retrieve the backup?". Otherwise: "The backup retrieving will delete all operations. Are you sure you want to retrieve a backup?". If the value is 0 the page does not appear. The choices are Yes and No, and Next works only with Yes.
Ready
It shows "The restore Wizard is ready now to restore backups, click "Start" to start the operation or click "Back" to change the options.". When you click Start, the middle of the page shows what happens in order: "Exporting log file" if you ticked the export, then "Creating backup" if you chose a backup, then "Restoring backup". The buttons are disabled and the window cannot be closed. On success "Operation completed successfully" appears; then, if your licence includes the notifications system, the message about the "Rebuild the Schedule" maintenance ("Kindly be advised that in order to have scheduled messages work properly, you should perform " Rebuild the Schedule" maintenance after backup restore."); then "File will be closed after being restored. If you want to log in the file again, you should open it". After that the file closes and the login window appears. If the log export or the backup before the restore fails, the stage text stays, no message appears and the restore does not start. Close the window, check the paths and try again.
Restore with no file open
The wizard opens with no file open only in the standard edition.
System administrator details
It appears if the server has a system administrator, and is skipped otherwise. Its header is "System administrator" and its heading is "Please enter system administrator name and password". The fields are System administrator and Password. There is no Back button. On error, "No such user or group" or "Invalid password" appears.
Choose the database to restore to
Its header has Server:, and the server name is a link in red if it cannot be reached. Click it to open Connect to Server. After it succeeds, the chosen server becomes the default server and the databases reload. If the server cannot be reached, a message gives the reason and the page is disabled.
| Option | Description | Values and rules |
|---|---|---|
| Existing Database: | The restore replaces the contents of an existing database. | Selected at first. A list with the columns Name and Description, and a search panel that is always visible. |
| New Database: | The program creates an empty database and restores into it. | The Files Location: box gets a new file name in the data folder, and its button opens a save window for an *.sdf file that asks before it overwrites a file. |
Next does not work until you select a database, or a location exists for the new file. With a new database, the wizard goes straight to the page for choosing the backup.
Database user details
It appears with an existing database. Its header shows the data of the selected database. The heading is "Please enter the username and password of a user who has the authority to restore a backup copy from the hard disk". The fields are User name and Password. The program checks them in the users table of the database that exists now, not in the backup. On error, "Incorrect user name" or "Incorrect password" appears.
Choose the backup (no file)
The toolbar has Browse, and with an existing database also Stored Backups. The list columns are Date, Size and File, and there is no Delete button and no lock column. Under it are the read-only notes of the backup. Next works after you select a backup. Back from this page returns to the page for choosing the database.
Warning (no file)
With an existing database only: "The backup retrieving will delete all operations of invoices and entries that has been done since that version was installed till now. Do you want to retrieve the backup?". The choices are Yes and No, and Next works only with Yes.
Start
The last page has the same ready text. When you click Start, with a new database, "Creating new database" shows first, and then "Restoring backup". After success "Operation completed successfully" appears, the window closes, the database is added to the list and the login window appears. On error its message appears and the window closes. With a new database, the empty database stays on the server.
Backup prompt window
A small window titled "Make Backup Copy on Hard Disk". It holds the question "Do you want to make a backup copy on the hard disk?" and a Notes: box with the same default value. Its buttons are Yes and No.

- Yes takes the backup and shows "Operation completed successfully". While it runs, both buttons are disabled and the window cannot be closed. If the operation fails with an error, its text appears. This window does not show the folder errors that the wizard shows, and it then still reports success, so check the list of stored backups if you are in doubt.
- No closes it with no backup, and the work that came before it goes on.
The window appears when you close the program with a file open, if its conditions are met: the To Hard Disk permission, the option "Make a backup copy when Exit Program" in Program Options, and a version that is not the demo and not the subscription edition. It also appears before some tax administration tools and when a tax system is enabled. The closing question is explained in Back up a company file.
Messages
| Message | When it appears |
|---|---|
| Operation completed successfully | The backup or restore finished. Also in the prompt window after a backup. |
| The path is incorrect by server, please check the path: and the file name | SQL Server could not write to the backup folder or read the backup file. |
| Error in backup paths. Make sure of them. | The backup folder could not be created on your computer. The path follows. |
| Database is Opened By Users | In restore: users are connected to the database. A list of each user, computer and program follows, then "Please check that all users logged out. Do you want to retry?". The message has only an Ok button, so there is nothing to answer: close it, ask the users to exit, and run the restore again. |
| Database is Opened By Users, and after it the backup file path | In backup: an operation was running on the file at that moment. |
| An English message from SQL Server | Another error from the server. In the backup page, "Operation completed successfully" may still follow and the window closes although no copy was made: check Stored Backups in the restore wizard. |
| Are you sure you want to delete? | Before a stored backup is deleted. |
| All opened windows must be closed before performing this operation. Are you sure you want to do this? | When you choose restore with a file open while windows are open. No keeps you on the welcome page. |
| No such user or group, and Invalid password | The system administrator details are wrong. |
| Incorrect user name, and Incorrect password | The database user details are wrong. |
For the causes and what to do, and for the errors that show no message in the wizard, see the tables in Back up a company file and Restore a company file from a backup.
Related
This page applies to alameen ERP 10, version 10.1.79.764.