Skip to main content

Make a Backup

Some maintenance wizards show a Make a Backup page before their own pages: the ones marked "Yes" in the operations. You choose where the backup goes, then take it before you continue. This page describes the two pages your choice leads to, the page for subscription files, the window that the removable disk page opens, and an older window that asks about a hard disk backup. To back up from the backup wizard in File > Home, see Backup and restore.

Opening the pages​

  • The backup type page is the first page of every maintenance wizard that starts with a backup. Those wizards are the ones marked "Yes" in the backup page column of the operations. Open one by choosing the operation in the Files Maintenance window and clicking Run, or by starting the operation from the favorites list or the Quick Launch window.
  • The hard disk page and the removable disk page appear after the type page, depending on what you choose and click Next.
  • The subscription file page replaces the type page when the program works on a subscription file.
  • The removable disk window opens from the removable disk page. It also opens from the Make Backup Copy on Removable Disk card of the backup wizard, in the regular edition.
  • The hard disk question window is opened by the older restore-from-hard-disk operation, not by a maintenance wizard.

The buttons at the bottom of each page are the wizard buttons, described in How the maintenance wizards work.

The backup type page​

Its title is Make a Backup. It shows in a note frame: "It'e highly recommended to make a backup on the hard disk or the removable disk before performing this operation."

OptionWhat it does when you click NextValues and rules
To Removable DiskGoes to the removable disk page.
To Hard DiskGoes to the hard disk page.Selected when the wizard opens.
Don't Make a Backup (not recommended)Goes to the first page of the operation, with no backup.The program asks for no confirmation.

If you come back to this page with Back in the same wizard, your choice stays selected. All three options appear for every user. The page itself checks no permission. The removable disk page checks it when you click Start.

Buttons: Cancel, Next, Back (disabled, because this is the first page) and Help.

Backup to the hard disk​

Its title is Make Backup Copy on Hard Disk. It shows: "Add version notes, then click 'Start' to begin backup process."

FieldDescriptionRequiredValues and rules
NotesA description of the backup. SQL Server stores it with the backup, and you see it later in the Stored Backups list when you restore.NoThe program fills six lines: the file name, the database name, the computer name (it shows the server name), the user name, the program version number, and the date. The program sets no length limit on the field, but SQL Server accepts a description of up to 255 characters, so the backup fails with a longer one. Do not type a single quote ' in the notes.
ButtonWhat it does
StartTakes the backup, then moves straight to the first page of the operation if it succeeds. If it fails you stay on the page.
NextDisabled on this page.
BackReturns to the type page.
CancelAsks whether to exit the wizard.
HelpOpens the help topic.

When you click Start, the program takes a full backup of the file's database. A progress window titled "Making Backup Copy" appears, then the message "Operation completed successfully". SQL Server writes the file in the backup folder for the server, named with the server, the database, the date and the program version, as in where the file is saved. The program stores the date and time of the backup so that it can compare them when you restore. The backup appears in the Stored Backups list of the restore wizard.

If the program cannot create the folder on your computer, it shows "Error in backup paths. Make sure of them." and then still tries the backup. You set the folder in the backup settings.

Backup to a removable disk​

Its title is Make Backup Copy on Removable Disk. It shows: "Click 'Start' to begin backup process." It has no fields.

ButtonWhat it does
StartOpens the removable disk window. It needs the To Removable Disk permission, and nothing happens without it. After the window closes successfully, this page appears again, so click Next to continue.
NextGoes to the first page of the operation without taking a backup.
BackReturns to the type page.
CancelAsks whether to exit the wizard.
HelpOpens the help topic.

If the file is on a cloud server (SQL Azure), "Not supported within SQL Azure" appears with details, and the window does not open. If other windows are open, the program asks: "All opened windows must be closed before performing this operation. Are you sure you want to do this?".

The removable disk window​

Its title is Make Backup Copy on Removable Disk.

FieldDescriptionRequiredValues and rules
DriverThe removable disk that receives the backup.YesA list of removable drives only, such as E:. The program selects the first drive when the window opens, and refreshes the list when you plug in or remove a disk.
NotesA description of the backup.NoThe program fills six lines as on the hard disk page. The field takes 512 characters, but the text is saved as the backup description in SQL Server, which accepts only 255 characters, and in a file beside the backup. Keep it under 255 characters. This window does not handle a single quote, so do not type ', or the backup fails.
Exclusive CopyNames the file on the disk data instead of the long name.NoCleared when the window opens.
ButtonWhat it does
OkStarts the backup.
CancelCloses the window without a backup.

When you click Ok:

  1. The program takes a full backup of the database in the backup folder for the server. A progress window titled "Making Backup Copy" appears.
  2. It stores the date and time of the backup.
  3. If the list has no drive, the message "Movable disk should be selected to continue" appears and the window stays open.
  4. The program compresses the backup into a .zip file at the root of the disk. If compression succeeds, it deletes the backup file from the server folder, writes a .inf file with the notes beside the zip file, and shows "Operation completed successfully".
  5. The window closes.

If the zip file cannot be created, the message "Operation completed successfully" does not appear, the window closes anyway, and the backup file stays in the server folder. Open the disk and check that the .zip file is there before you rely on the backup.

Both files take this name: the server name, then the database name, then the date and time, then the program version, with characters that file names cannot hold replaced by an underscore. If you select Exclusive Copy, the name is data.

The program reads the backup from the Backup folder for the current computer to compress it to the disk, and the step uses the Backup Temporary Folder. Set both in the backup settings, and make the current computer's folder point to the same folder that the server writes to.

The subscription file page​

It appears in place of the type page when the program works on a subscription file. Its title is Make a Backup. It shows: "These files don't support the manual backup, please request backup from the server. Are you sure you want to continue maintenance process?"

The page has no options and no Start button. Click Next to continue to the operation's pages, or Cancel to leave. Help opens the help topic. The program takes no backup for you.

The hard disk question window​

A small window titled Make Backup Copy on Hard Disk. It shows: "Do you want to make a backup copy on the hard disk?". The older restore-from-hard-disk operation opens it when it asks, before restoring, whether you want a backup. The question that appears when the program closes, and in the restore wizard, comes from another window, described in the backup question window.

FieldDescriptionRequiredValues and rules
NotesA description of the backup.NoThe program fills six lines. The field takes 512 characters, but the text is written as the backup description in SQL Server, which accepts only 255 characters, so keep it under 255 characters. The program doubles a single quote before it writes it.

The template also holds a hidden "Different Copy" option. It does not appear and has no effect.

ButtonWhat it does
OKTakes a full backup, then shows "Operation completed successfully" and closes the window.
NoCloses the window without a backup.

Before the backup, if the file is linked to a central file that collects loyalty card points, the program asks: "The file is linked to a centralized database to accumulate loyalty cards points ... Are you sure you want to continue?" with Yes and No. No stops the backup and the window stays open.

Messages​

MessageWhen it appears
Operation completed successfullyThe backup finished, on the hard disk page, the removable disk window and the question window.
The path is incorrect by server, please check the path: then the file nameSQL Server could not write in the backup folder.
Database is Opened By Users, then the file nameAn operation was running on the file during the backup, so SQL Server refused it.
Error in backup paths. Make sure of them.The backup folder could not be created on your computer.
Operation canceled by userThe backup was canceled while it ran.
Movable disk should be selected to continueThere is no removable disk in the Driver list. It appears after the program has taken the backup in the server folder.
Not supported within SQL AzureThe file is on a cloud server that does not support the backup on a removable disk.
An English message from SQL ServerAnother error from the server, such as a full disk.

For causes and what to do, see Back up a company file.

This page applies to alameen ERP 10, version 10.1.79.764.