GroupWise Database Copy Utility

The GroupWise Database Copy utility (DBCopy) copies files from a live GroupWise post office or domain to a static location for backup. During the copy process, DBCopy prevents the files from being modified, using the same locking mechanism used by other GroupWise programs that access databases. This ensures that the backed-up versions are consistent with the originals even when large databases take a substantial amount of time to copy.

DBCopy is included in GroupWise 6.5 for Linux to assist with backing up your GroupWise system. DBCopy is available for use on NetWare and Windows servers, but it is not included in GroupWise 6.5 or 6.0.


Using DBCopy on Linux Servers

  1. Change to the directory where the DBCopy RPM is located or copy it to a convenient location on your workstation.

    The DBCopy RPM (groupwise-dbcopy-6.5.2-mmdd.i386.rpm is located in the /admin directory in your GroupWise software distribution directory if you have created one or on the GroupWise 6.5 for Linux Administrator CD.

  2. Install DBCopy.

    rpm -i groupwise-dbcopy-6.5.2-mmdd.i386.rpm

  3. Change to the /opt/novell/groupwise/agents/bin directory.

  4. Use the following command to back up a post office:

    ./dbcopy /post_office_directory /destination_directory

    or

    Use the following command to back up a domain:

    ./dbcopy /domain_directory /destination_directory

    You can also include the -I switch to specify a date (for example, 11-25-2005) so that only files that are newer than the specified date are copied.

  5. After DBCopy has finished copying the post office or domain, use your backup software of choice to back up the static copy of the post office or domain directory structure.

  6. After the backup has finished, delete the static copy of the post office or domain directory structure to conserve disk space.

You might find it helpful to set up a cron job to run DBCopy regularly at a time of day when your system is not busy.

DBCopy can also be useful for moving domains and post office from NetWare or Windows to Linux. For more information, see "Moving Your Existing GroupWise System to Linux" in "Update" in the GroupWise 6.5 Installation Guide.


Using DBCopy on NetWare and Windows Servers

For information about using DBCopy to back up GroupWise post offices on NetWare and Windows servers, see the following TIDs in the Novell Support Knowledgebase: