Standalone Database Maintenance Programs
457
no
vd
ocx (
e
n)
1
1
Decemb
er
2
007
./dbcopy /
post_office_directory
/
destination_directory
or
Use the following command to back up a domain:
./dbcopy /
domain_directory
/
destination_directory
or
Use the following command to back up a remote document storage area:
./dbcopy -b /
storage_area_directory
You can include the -i switch in any of these commands to provide the date (
mm
-
dd
-
yyyy
) of the
previous copy. This causes DBCopy to copy only files that have been modified since the
previous copy, like an incremental backup.
DBCopy creates a log file named
mmdd
gwbk.
nnn
. The first 4 characters represent the date. A
three-digit extension allows for multiple log files created on the same day. The log file is
created at the root of the destination directory. Include the -v switch in the
dbcopy
command
to enable verbose logging for the backup.
5
After DBCopy has finished copying the post office, domain, or remote document storage area,
use your backup software of choice to back up the static copy of the data.
6
After the backup has finished, delete the static copy of the data 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.
34.4.3 Using DBCopy on Windows
1
At a command prompt, change to the directory where you installed the GroupWise agents
(typically
c:\grpwise
).
2
Use the following command to back up a post office:
dbcopy.exe \
post_office_directory
\
destination_directory
or
Use the following command to back up a domain:
dbcopy.exe \
domain_directory
\
destination_directory
or
Use the following command to back up a remote document storage area:
dbcopy.exe /b \
storage_area_directory
You can include the /i switch in any of these commands to provide the date (
mm
-
dd
-
yyyy
) of the
previous copy. This causes DBCopy to copy only files that have been modified since the
previous copy, like an incremental backup.
DBCopy creates a log file named
mmdd
gwbk.
nnn
. The first 4 characters represent the date. A
three-digit extension allows for multiple log files created on the same day. The log file is
created at the root of the destination directory. Include the /v switch in the
dbcopy
command
to enable verbose logging for the backup.
3
After DBCopy has finished copying the post office, domain, or remote document storage area,
use your backup software of choice to back up the static copy of the data.
4
After the backup has finished, delete the static copy of the data to conserve disk space.
Summary of Contents for GROUPWISE 7 - DATABASES
Page 2: ...372 GroupWise 7 Administration Guide novdocx en 11 December 2007...
Page 6: ...376 GroupWise 7 Administration Guide novdocx en 11 December 2007...
Page 20: ...390 GroupWise 7 Administration Guide novdocx en 11 December 2007...
Page 40: ...410 GroupWise 7 Administration Guide novdocx en 11 December 2007...
Page 48: ...418 GroupWise 7 Administration Guide novdocx en 11 December 2007...