Skipping Expire: box restore was done within the last 7 days

  • 7000088
  • 15-Apr-2008
  • 26-Apr-2012

Environment

Novell GroupWise 7
Novell GroupWise 6.5

Situation

After restoring a GroupWise Post Office, the administrator needs to recover disk space. Normally this can be accomplished by running Expire/Reduce. However, after running this, the available disk space does not increase. The gwcheck log files shows multiple messages: "Skipping Expire: box restore was done within the last 7 days".

Resolution

When doing a backup or restore of GroupWise databases using GWTSA, the databases are time stamped with the backup/restore date. This functionality is used for the SmartPurge feature of GroupWise. By design, GroupWise will not expire data in a database whose restore timestamp is less that 7 days.

To resolve this situation, clear or change the timestamps on the databases to be more than 7 days. This can be done from ConsoleOne, on the server, or from the workstation. Run the GWCheck again after the timestamp is changed and the expire/reduce will succeed.

Methods for timestamping databases:

ConsoleOne
To apply a backup timestamp in ConsoleOne, highlight the Post Office object of the Post Office that was restored, then click Tools | GroupWise Utilities | Backup/Restore Mailbox, and choose Backup, and enter a date and time older than 7 days.

SERVER

For NetWare:
Use the GWTMSTMP.NLM, "load gwtmstmp /p <path to post office> /c".
The /c switch will clear the timestamp on the databases.
The /s switch can also be used to set a timestamp. Use the /help switch to display all the options. The results are written to the console.log file.

For Linux:
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). The syntax to clear the timestamp is "./gwtmstp -p <path to post office> -c".

For Windows:
The GWTMSTMP program file (gwtmstmp.exe) is installed into the same directory where the GroupWise agents (POA and MTA) are installed. Run the command with the /c switch; IE "gwtmstmp.exe /p <path to post office> /c".

Workstation
If the Windows components are
installed to the Software Distribution Directory, there should be a GWTMSTMP.EXE in the AGENTS/NT directory. To use it follow these steps.

  1. Create a directory on the local drive.

  2. Copy the gwtmstmp.exe and gwenv1a.DLL to the directory created above.

  3. Copy the appropriate GWTSA language DLL from the appropriate language subdirectory (under AGENTS/NT) to the directory created above (IE gwtsaus.dll for us English).

  4. Map a drive to the post office directory.

  5. Run "gwtmstmp.exe /p <path to post office> /c".

The /c switch will clear the timestamp on the databases.
The /s switch can also be used to set a timestamp. Use the /help switch to display all the options.