You can use the GroupWise Time Stamp (GWTMSTMP) utility to ensure that GroupWise user databases include the dates when they were last backed up, restored, and retained.
The following sections provide information about the utility:
NOTE: GWTMSTMP is available in GroupWise 6.5 for Linux Support Pack 2, but not in the original release of GroupWise 6.5 for Linux. Time stamp functionality is included in the NetWare Target Service Agent for File Systems (TSAFS) for GroupWise 6.5 systems where Support Pack 3 has been installed, so you do not need to use GWTMSTMP when backing up a GroupWise 6.5.3 system with TSAFS.
GWTMSTMP places date and time information on user databases (userxxx.db) in order to support message backup, restore, and retention. No other databases are affected. You can run GWTMSTMP on all user databases in a post office or on a single user database.
To ensure thorough user database backups, you can make sure that deleted items are not purged from users' databases 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 GWTSA or TSAFS on NetWare to back up user databases, the backup time stamp is automatically added as part of the backup process. However, if you do not use GWTSA or TSAFS, you must use GWTMSTMP to make sure that user databases are time-stamped so that items will not be prematurely purged.
If you use the GWTSA or TSAFS on NetWare to restore a mailbox, the restore time stamp is automatically added as part of the restore process. However, if you do not use GWTSA or TSAFS, you can use GWTMSTMP to add the restore time stamp to the database. The restore time stamp is not required for any GroupWise feature to work properly. Its primary purpose is informational.
If you use a message retention application (see Retaining User Messages), the application should automatically add the retention time stamp after retaining the database's messages. Any messages with dates that are newer than the retention time stamp cannot be purged from the database.
You can also use GWTMSTMP to manually add a retention time stamp.
The GWTMSTMP program (gwtmstmp.nlm) is installed into the same directory where you installed the GroupWise agents (POA and MTA). You can copy it 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
Example:
gwtmstmp.nlm /ph-sys:\gwsystem\dev
The results are written to the console.log file.
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
Example:
gwtmstmp.nlm /ph-sys:\gwsystem\dev /set
A basic backup time stamp can also be set in ConsoleOne. Select a Post Office object, then 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. See GWTMSTMP Startup Switches.
The GWTMSTMP executable (gwtmstmp) is installed into the bin and lib subdirectories of /opt/novell/groupwise/agents along with the GroupWise agents (POA and MTA). You can copy it 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 -p /post_office_directory
Example:
./gwtmstmp -p /gwsystem/acct
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 -p /post_office_directory --set
Example:
./gwtmstmp -p /gwsystem/acct --set
A basic backup time stamp can also be set in ConsoleOne. Select a Post Office object, then 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. See GWTMSTMP Startup Switches.
The GWTMSTMP program file (gwtmstmp.exe) is installed into the same directory where you installed the GroupWise agents (POA and MTA). You can copy it 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.exe /ph-drive:\post_office_directory
Example:
gwtmstmp.exe /ph-m:\gwsystem\acct
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.exe /ph-drive:\post_office_directory /set
Example:
gwtmstmp.exe /ph-m:\gwsystem\acct /set
A basic backup time stamp can also be set in ConsoleOne. Select a Post Office object, then 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:
NetWare GWTMSTMP | Linux GWTMSTMP | Windows GWTMSTMP |
---|---|---|
Specifies the post office directory where the user databases to time-stamp are located. This switch is required.
|
NetWare GWTMSTMP | Linux GWTMSTMP | Windows GWTMSTMP |
---|---|---|---|
/ph-volume:\post_office_dir |
-p /post_office_dir |
/ph-drive:\post_office_dir |
|
/ph-mail:\dev |
-p /gwsystem/dev |
/ph-j:\dev |
Specifies the time stamp on which to perform the operation. If no time stamp is specified, the operation is performed on the backup time stamp.
|
NetWare GWTMSTMP | Linux GWTMSTMP | Windows GWTMSTMP |
---|---|---|---|
/backup |
-b |
/backup |
For example, to set the restore time stamp, you would use:
NetWare: |
gwtmstmp /ph-j:\dev /restore /set |
Linux: |
./gwtmstmp -p /gwsystem/dev -r -s |
Windows: |
gwtmstmp /ph-j:\dev /restore /set |
Lists existing backup, restore, and retention time stamp information for user databases. If no time stamps are set, no times are displayed.
|
NetWare GWTMSTMP | Linux GWTMSTMP | Windows GWTMSTMP |
---|---|---|---|
/get |
-g |
/get |
For example:
NetWare: |
gwtmstmp /ph-j:\dev /get |
Linux: |
./gwtmstmp -p /gwsystem/dev -g |
Windows: |
gwtmstmp /ph-j:\dev /get |
If no other operational switch is used, /get is assumed. The following example returns the same results as the above example:
NetWare: |
gwtmstmp /ph-j:\dev |
Linux: |
./gwtmstmp -p /gwsystem/dev |
Windows: |
gwtmstmp /ph-j:\dev |
Sets the current date and time on user databases.
|
NetWare GWTMSTMP | Linux GWTMSTMP | Windows GWTMSTMP |
---|---|---|---|
/set |
-s |
/set |
For example, to set the backup time stamp, you would use:
NetWare: |
gwtmstmp /ph-j:\dev /backup /set |
Linux: |
./gwtmstmp -p /gwsystem/dev -b -s |
Windows: |
gwtmstmp /ph-j:\dev /backup /set |
or
NetWare: |
gwtmstmp /ph-j:\dev /set |
Linux: |
./gwtmstmp -p /gwsystem/dev -s |
Windows: |
gwtmstmp /ph-j:\dev /set |
Clears existing time stamps.
|
NetWare GWTMSTMP | Linux GWTMSTMP | Windows GWTMSTMP |
---|---|---|---|
/clear |
-c |
/clear |
For example, to clear all time stamps on databases in a post office, you would use:
NetWare: |
gwtmstmp /ph-j:\dev /clear |
Linux: |
./gwtmstmp -p /gwsystem/dev -c |
Windows: |
gwtmstmp /ph-j:\dev /clear |
Specifies the date that you want placed on user databases.
|
NetWare GWTMSTMP | Linux GWTMSTMP | Windows GWTMSTMP |
---|---|---|---|
/date-mm/dd/yyyy |
-d mm/dd/yyyy |
/date-mm/dd/yyyy |
|
/date-01/03/2004 |
-d 05/18/2004 |
/date-04/12/2004 |
For example, to set the restore date to June 15, 2004, you would use:
NetWare: |
gwtmstmp /ph-j:\dev /restore /date-06/14/2004 |
Linux: |
./gwtmstmp -p /gwsystem/dev --restore --date 06/15/2004 |
Windows: |
gwtmstmp /ph-j:\dev /restore /date-06/14/2004 |
Specifies the time that you want placed on user databases.
|
NetWare GWTMSTMP | Linux GWTMSTMP | Windows GWTMSTMP |
---|---|---|---|
/time-hh:mm am|pm |
-t hh:mm am|pm |
/time-hh:mm am|pm |
|
/time-11:30pm |
-t 2:00am |
/time-6:15pm |
For example, to set the restore time to 4:45 p.m., you would use:
NetWare: |
gwtmstmp /ph-j:\dev /restore /time-4:45pm |
Linux: |
./gwtmstmp -p /gwsystem/dev -r -t 4:45pm |
Windows: |
gwtmstmp /ph-j:\dev /restore /time-4:45pm |
Provides a specific GroupWise user ID so that an individual user database can be time-stamped.
|
NetWare GWTMSTMP | Linux GWTMSTMP | Windows GWTMSTMP |
---|---|---|---|
/@u-userID |
-u userID |
/@u-userID |
|
/@u-khuang |
-u sjones |
/@u-mbarnard |
For example, to set the retention time stamp for a user whose GroupWise user ID is mpalu, you would use:
NetWare: |
gwtmstmp /ph-j:\dev /@u-mpalu /retention /set |
Linux: |
./gwtmstmp -p /gwsystem/dev -u mpalu -n -s |
Windows: |
gwtmstmp /ph-j:\dev /@u-mpalu /retention /set |
Provides a specific GroupWise user database (userxxx.db) so that an individual user database can be time-stamped.
For example, to set the retention time stamp for a user whose user database is named user3gh, you would use:
NetWare: |
gwtmstmp /ph-j:\dev /userdb user3gh.db /retention /set |
Linux: |
./gwtmstmp -p /gwsystem/dev -e user3gh.db -n -s |
Windows: |
gwtmstmp /ph-j:\dev /userdb user3gh.db /retention /set |