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:

Backing Up Data Using Attended Mode

To back up data from the GlobalWare server in Attended mode:

  1. On the file server's Windows desktop, click the Windows Start button on the taskbar, and then click Run.

    The Run dialog box appears.

  2. In the Open field, type gwsrvbkp.
  3. Click OK.

    The GlobalWare Server Backup screen appears.

  4. Complete the fields as appropriate.
  5. 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:

  1. On the file server's Windows desktop, click the Windows Start button on the taskbar, and then click Run.

    The Run dialog box appears.

  2. In the Open field, type gwsrvbkp -u.

  3. 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:

  1. On the file server's Windows desktop, click the Windows Start button on the taskbar, and then click Run.

    The Run dialog box appears.

  2. In the Open field, type cmd.

  3. 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

  4. 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.