To ensure thorough mailbox backups, you can make sure that deleted items are not purged from users' mailboxes until they have been backed up. Two conditions must be met in order to provide this level of protection against loss of deleted items:
If you use the GroupWise Target Service Agent (GWTSA) to back up your GroupWise system, the time stamping is an automatic part of the backup process. However, if you choose not to use the GWTSA, you must still make sure that user databases are time stamped so that items will not be prematurely purged.
GWTMSTMP places backup date and time information on user databases (userxxx.db). No other databases are affected. You can run GWTMSTMP on all user databases in a post office or on a single user database.
Each time you back up your GroupWise message data using your backup software of choice, you must then run GWTMSTMP to reset the backup date and time. This prevents items from being purged from your GroupWise system before they have been backed up if you have deselected Allow Purge of Items Not Backed Up as described in Modifying Environment Options.
You can run GWTMSTMP on NetWare or on Windows. The GWTMSTMP program files (gwtmstmp.nlm and gwtmstmp.exe) are installed into the same directories where you installed the GroupWise agents (POA and MTA). You can copy them to additional locations if needed.
To check the existing time stamp on all GroupWise user databases in a post office, use the following command:
Syntax:
gwtmstmp.nlm /ph-volume:\post_office_directory
gwtmstmp.exe /ph-drive:\post_office_directory
Example:
gwtmstmp.nlm /ph-sys:\gwsystem\dev
gwtmstmp.exe /ph-m:\gwsystem\acct
If you are running the NetWare GWTMSTMP, the results are written to the console.log file. If you are running the Windows GWTMSTMP, the results are displayed on the screen
To set a current time stamp on all user databases in a post office, use the following command:
Syntax:
gwtmstmp.nlm /ph-volume:\post_office_directory /set
gwtmstmp.exe /ph-drive:\post_office_directory /set
Example:
gwtmstmp.nlm /ph-sys:\gwsystem\dev /set
gwtmstmp.exe /ph-m:\gwsystem\acct /set
A basic backup time stamp can also be set in ConsoleOne. Select a Post Office object > click Tools > GroupWise Utilities > Backup/Restore Mailbox. On the Backup tab, select Backup, then click Yes.
More specialized functionality is provided through additional GWTMSTMP startup switches.
The following startup switches can be used with GWTMSTMP:
/ph
Specifies the post office directory where the user databases to time stamp are located. This switch is required.
/@u
Provides a specific GroupWise user ID so that an individual user database can be time stamped.
/get
Lists existing time stamp information on user databases.
/set
Sets the current date and time on user databases. Without /set, /get is implied.
/date
Specifies the backup date that you want placed on user databases. Use the format mm/dd/ yyyy; for example, 05/18/2002 for May 18, 2002.
/time
Specifies the backup time that you want placed on user databases. Use the format hh:mm followed by am or pm; for example, 4:45pm.