Backing Up Data from the GlobalWare Server
|
|
Training demonstrations related to this topic (click to start):
|
You can use GlobalWare's Server Backup utility to back up your GlobalWare database from the GlobalWare server. This utility does not require shutting down the database server while you back up the network database. It also performs much faster than performing a backup from a workstation.
Notes:
- The GlobalWare Server Backup utility (GwSrvBkp.exe) is designed for multi-user GlobalWare environments with large databases. To back up GlobalWare data in single-user GlobalWare environments or multi-user environments with databases that are not significantly large, see Backing Up GlobalWare Data.
- By default, the GlobalWare Server Backup utility copies the GlobalWare database (gblware.db) and log file (gblware.log) to a preset backup folder on the server (typically, C:\Gblware\Backup). These are uncompressed copies of the database and log file; the utility does not compress these into a ZIP file. Ensure the server computer has enough disk space to temporarily store a full copy of the database. It is highly recommended that you also copy your GlobalWare database to an external storage device or a network server and store copies redundantly (that is, at more than one location).
- The GlobalWare Server Backup utility does not back up GDS interface files or financial statements. Because these are stored on workstations, you need to use a different method to back up this data.
- GlobalWare Server Backup utility parameters are stored in the registry's hkey_current_user section. You also have the option to run the utility with parameters on the command line. This might be useful in situations in which no one is logged on to the server or in a Citrix/terminal server environment. For more information, see Running the Utility from the Command Line.
Backing Up Data Using Attended Mode
To back up data from the GlobalWare server in Attended mode:
-
On the file server's Windows desktop, click the Windows Start button on the taskbar, and then click Run.
The Run dialog box appears.
- In the Open field, type gwsrvbkp.
-
Click OK.
The GlobalWare Server Backup screen appears.
Field and button descriptionsThe following table describes the fields on the GlobalWare Server Backup screen.
Field Description Database Name
Name of the GlobalWare database on the file server (typically, gwsrv).
Destination Directory (unlabeled box under Output Parameters)
Location (drive and folder path) on the file server where the GlobalWare Server Backup utility should put the backed-up GlobalWare data. The recommended location is C:\Gblware\Backup.
Note: Make sure the backup folder exists before you start the backup process.
To select a different location, click Select a Destination Directory.
IMPORTANT: Ensure you have enough disk space for a full copy of the GlobalWare database.
Number of additional backup copies to keep
Number of additional backup file copies the GlobalWare Server Backup utility should keep.
The following table describes the buttons on the GlobalWare Server Backup screen.
Button Description OK
Starts the backup process.
Cancel
Closes the screen.
- Complete the fields as appropriate.
-
To start the backup process, click OK.
The backup process copies the GlobalWare database (gblware.db) and the GlobalWare log (gblware.log) in the destination folder.
Backing Up Data Using Unattended Mode
The GlobalWare Server Backup utility (GwSrvBkp.exe) does not display the GlobalWare Server Backup screen when you run it in Unattended mode. Rather, it immediately starts the backup process.
Note: You must run the backup at least once in Attended mode (see Backing Up Data Using Attended Mode) so that the utility's parameters will be saved in the registry. For future backups, you can run the utility in Unattended mode, which causes the utility to read the parameters directly from the registry.
To back up data from the GlobalWare server in Unattended mode:
-
On the file server's Windows desktop, click the Windows Start button on the taskbar, and then click Run.
The Run dialog box appears.
-
In the Open field, type gwsrvbkp -u.
-
To start the backup process, click OK.
Scheduling a Backup
The GlobalWare Server Backup utility, run in either Attended or Unattended mode, requires you to open gwsrvbkp whenever you back up your data. Consider running the utility in Unattended mode as a scheduled nightly task in Windows. This will automatically back up your GlobalWare data every night without requiring your attendance.
Note: GlobalWare Support Desk cannot assist you with setting up scheduled tasks in Windows. This setup process is specific to each computer and its software.
Running the Utility from the Command Line
You also can run the GlobalWare Server Backup utility (GwSrvBkp.exe) from the command line.
To use the command line to back up data from the GlobalWare server:
-
On the file server's Windows desktop, click the Windows Start button on the taskbar, and then click Run.
The Run dialog box appears.
-
In the Open field, type cmd.
-
In the command line that appears, use the cd command to change the path to the file server's GlobalWare folder (typically, C:\Gblware). For example, enter:
cd C:\Gblware
-
Enter the following command:
gwsrvbkp.exe DBN=xxx; DIR=yyy; NUM=z
where:
- xxx is the GlobalWare database name on the file server (typically, gwsrv)
- yyy is the location (drive and folder path) on the file server where the GlobalWare Server Backup utility should put the backup GlobalWare data (typically, C:\Gblware\Backup)
- z is the number of additional backup file copies the GlobalWare Server Backup utility should keep
For example:
gwsrvbkp.exe DBN=gwsrv; DIR=C:\Gblware\Backup; NUM=5
Notes:
- The parameter identifiers must be all uppercase (for example, DBN rather than dbn).
- You should specify all utility parameters (DBN, DIR, and NUM). Otherwise, the utility will attempt to read the parameters directly from the registry.
- Make sure the backup folder exists. If not, a message appears, asking whether you want to create it. The backup process starts when you click OK.