Download Print this page

Advertisement

Quick Links

Databases
V I I I
Chapter 25, "Understanding GroupWise Databases," on page 373
Chapter 26, "Maintaining Domain and Post Office Databases," on page 377
Chapter 27, "Maintaining User/Resource and Message Databases," on page 385
Chapter 28, "Maintaining Library Databases and Documents," on page 391
Chapter 29, "Synchronizing Database Information," on page 395
Chapter 30, "Managing Database Disk Space," on page 399
Chapter 31, "Backing Up GroupWise Databases," on page 407
Chapter 32, "Restoring GroupWise Databases from Backup," on page 411
Chapter 33, "Retaining User Messages," on page 419
Chapter 34, "Standalone Database Maintenance Programs," on page 423
VIII
Databases
371

Advertisement

loading

Summary of Contents for Novell GROUPWISE 7 - DATABASES

  • Page 1 VIII Databases V I I I Chapter 25, “Understanding GroupWise Databases,” on page 373 Chapter 26, “Maintaining Domain and Post Office Databases,” on page 377 Chapter 27, “Maintaining User/Resource and Message Databases,” on page 385 Chapter 28, “Maintaining Library Databases and Documents,” on page 391 Chapter 29, “Synchronizing Database Information,”...
  • Page 2 372 GroupWise 7 Administration Guide...
  • Page 3 Understanding GroupWise Databases ® Your GroupWise system includes numerous databases where vital information is stored. Section 25.1, “Domain Databases,” on page 373 Section 25.2, “Post Office Databases,” on page 373 Section 25.3, “User Databases,” on page 374 Section 25.4, “Message Databases,” on page 374 Section 25.5, “Library Databases,”...
  • Page 4 25.3 User Databases Each member of the post office has a personal database (userxxx.db) that represents the user’s mailbox. The user database contains the following: Message header information Pointers to messages Personal groups Personal address books Rules When a member of another post office shares a folder with one or more members of the local post office, a “prime user”...
  • Page 5 Each library has its own subdirectory in the gwdms directory. In each library directory, the dmxxnn01-FF.db files contain information specific to that library, such as document properties and what users have rights to access the library. For the location of library databases in the post office, see “Post Office Directory”...
  • Page 6 376 GroupWise 7 Administration Guide...
  • Page 7 Maintaining Domain and Post Office Databases Occasionally, it is necessary to perform maintenance tasks on domain databases (wpdomain.db) or post office databases (wphost.db). The frequency depends on the reliability of your network and your own experience of how often problems are likely to occur. The following tasks help you maintain the integrity of your domain and post office databases: Section 26.1, “Validating Domain or Post Office Databases,”...
  • Page 8 4 Click Validate Database > Run. 5 When prompted, make sure the Path to Database is correct. If an incorrect path is displayed, browse to and select the path to the database being validated. Click OK. You are notified if there are any physical problems, so you can then recover or rebuild the database.
  • Page 9 The Database Recovery Process Figure 26-1 wpdomain.db Check the number of records (X) in wpdomain.db. wpdomain.db recover.ddb Rename wpdomain.db to recover.ddb. creating.ddb Read and copy records from recover.ddb into creating.ddb. Skip invalid records. Check the number of records (Y) in creating.ddb. Successful? creating.ddb recover.ddb...
  • Page 10 Database Automatically or Immediately” on page 654 “Recovering the Post Office Database Automatically or Immediately” on page 526. To recover a specific database in ConsoleOne: 1 Make sure you have network access to the domain or post office directory for the database you are recovering.
  • Page 11 You can also rebuild the database at a later time when you have exclusive access to the database where the data has been lost. See Section 26.3, “Rebuilding Domain or Post Office Databases,” on page 381. 26.3 Rebuilding Domain or Post Office Databases In addition to correcting the physical problems resolved by the database recover process, the rebuild process updates user and object information in a domain database (wpdomain.db) or post office...
  • Page 12 The Database Rebuilding Process Figure 26-2 Primary Domain wpdomain.db wpdomain.db creating.ddb Copy records from the primary domain wpdomain.db into creating.ddb. Successful? creating.ddb Delete wpdomain.db. Delete creating.ddb. creating.ddb wpdomain.db wpdomain.db Rename creating.ddb wpdomain.db remains to wpdomain.db. unchanged. Notify the administrator that wpdomain.db could not be rebuilt.
  • Page 13 6 Click Rebuild Database > Run. 7 When prompted, make sure the Path to Database is correct. If an incorrect path is displayed, browse to and select the path to the database being rebuilt. Click OK. 26.4 Rebuilding Database Indexes Each domain database (wpdomain.db) and post office database (wphost.db) contains three indexes that are used to determine the order of the Address Book: the system index, the domain index, and the post office index.
  • Page 14 4 Select Rebuild Indexes for Listing, then click Run. 5 When prompted, make sure the Path to Database is correct. If an incorrect path is displayed, browse to and select the path to the database being whose indexes are being rebuilt. Click OK. 384 GroupWise 7 Administration Guide...
  • Page 15 Maintaining User/Resource and Message Databases It is sometimes necessary to perform maintenance tasks on user and resource databases (userxxx.db) and message databases (msgnnn.db). The frequency depends on the reliability of your network and your own experience of how often problems are likely to occur. The following tasks help you maintain the integrity of your user and message databases.
  • Page 16 3 From the Action drop-down menu, select Analyze/Fix Databases. 4 Select from the following options: Structure: When a user experiences a problem that is related to the user, message, or library databases, you should perform a structure check. The structure check verifies the integrity of the databases and reports the amount of space that could be recovered.
  • Page 17 space in use by the user in the user databases, in any of the message databases, and in the attachment directory. Disk space limitations do not take into account the disk space used in document libraries. This option is usually run if the user totals are not being reflected correctly. 5 Using the tabs at the bottom of the Mailbox/Library Maintenance dialog box, set the following options: “Databases”...
  • Page 18 3 From the Action drop-down list, select Structural Rebuild. 4 Using the tabs at the bottom of the Mailbox/Library Maintenance dialog box, set the following options: “Databases” on page 429 “Logging” on page 429 “Results” on page 430 “Misc” on page 430 Selected options can be saved for repeated use.
  • Page 19 3 From the Action drop-down list, select Re-create User Database. 4 Using the tabs at the bottom of the Mailbox/Library Maintenance dialog box, set the following options: “Databases” on page 429 “Logging” on page 429 “Results” on page 430 “Misc” on page 430 Selected options can be saved for repeated use.
  • Page 20 390 GroupWise 7 Administration Guide...
  • Page 21 Maintaining Library Databases and Documents ® GroupWise Document Management Services (DMS) uses libraries as repositories for documents. For a review of library database structure, see Section 25.5, “Library Databases,” on page 374. Section 28.1, “Analyzing and Fixing Databases for Libraries and Documents,” on page 391 Section 28.2, “Analyzing and Fixing Library and Document Information,”...
  • Page 22 Structure: When a user experiences a problem that is related to the library databases, you should perform a structure check. The structure check verifies the integrity of the databases and reports the amount of space that could be recovered. If there is a structural problem, the databases are rebuilt with free space reclaimed.
  • Page 23 3 From the Action drop-down menu, select Analyze/Fix Library. 4 Select from the following options: Verify Library: This is a post office-level check. It verifies that all libraries are on the libraries list. It also checks the schema and guarantees its integrity. If there is a problem with the schema, it resets to a default schema to reclaim any missing items.
  • Page 24 the Validate Author/Creator Security option, and is more thorough. Therefore, you only need to select one option or the other. Synchronize User Name: The Author and Creator fields display users’ full names, not unique IDs. If a user’s name is changed, such as for marriage, this option verifies that the user’s name on document and version records is the same as the user’s current display name.
  • Page 25 Synchronizing Database Information ® In general, synchronization of object information throughout your GroupWise system occurs automatically. Whenever you add, delete, or modify a GroupWise object, the information is automatically replicated to all appropriate databases. Ideally, each domain database (wpdomain.db) in your system contains original records for all objects it owns and accurately replicated records for all objects owned by other domains.
  • Page 26 However, this process requires exclusive access to the post office database. See Section 26.3, “Rebuilding Domain or Post Office Databases,” on page 381. ® Occasionally, GroupWise user information can get out of sync with Novell eDirectory user information. This requires a different type of synchronization process. See Section 41.4.1, “Using...
  • Page 27 Current, correct post office information is then replicated throughout your GroupWise system. After synchronization is complete, you can verify that it was successful by checking the post office information when connected to different domains in your GroupWise system. See also Section 26.3, “Rebuilding Domain or Post Office Databases,”...
  • Page 28 See also Section 26.3, “Rebuilding Domain or Post Office Databases,” on page 381. 29.5 Synchronizing the Primary Domain from a Secondary Domain Information about a secondary domain stored in the secondary domain database is considered more current and correct than information about that secondary domain stored in the primary domain database.
  • Page 29 Managing Database Disk Space One of the most common maintenance issues in a growing system is running out of disk space. In ® addition to sending messages, users tend to use GroupWise for all sorts of communication, such as transferring large files. Library documents created with Document Management Services (DMS) can use huge amounts of disk space.
  • Page 30 3 From the Action drop-down menu, select Mailbox Statistics. 4 Select Mailbox Statistics. Mailbox Statistics: Specify a maximum number of items to see a report showing each user whose mailbox has more items in it than the number you specify. Select Expire Statistics.
  • Page 31 be deleted during an Expire/Reduce operation. For more information, see “Environment Options: Cleanup” on page 1057. The Only Retained Items option interacts with third-party message retention applications, as described in Chapter 33, “Retaining User Messages,” on page 419. 6 Using the tabs at the bottom of the Mailbox/Library Maintenance dialog box, set the following options: “Databases”...
  • Page 32 3 From the Action drop-down menu, select Expire/Reduce Messages. 4 Click Reduce Only to eliminate items that have already expired (that is, items that have been archived or deleted by users). Click Expire and Reduce to expire items in addition those that users have already archived or delete, based on the criteria you select.
  • Page 33 The Only Retained Items option interacts with third-party message retention applications, as described in Chapter 33, “Retaining User Messages,” on page 419. You might want to notify users of the types of items that will be deleted. 6 Using the tabs at the bottom of the Mailbox/Library Maintenance dialog box, set the following options: “Databases”...
  • Page 34 4 When prompted, make sure the Path to Database is correct. If an incorrect path is displayed, browse to and select the path to the database where you want to reclaim disk space. Click OK. 30.4 Reducing the Size of Libraries and Document Storage Areas The amount of disk space you allow at each post office for your library databases varies according to the GroupWise features they use.
  • Page 35 directory. If the BLOB does not fit, another archive directory is created and the BLOB is archived there. To archive/delete documents from one library or all libraries in the selected post offices: 1 In ConsoleOne, select one or more Library objects or Post Office objects for the documents you want to archive/delete.
  • Page 36 3 From the Action drop-down menu, select Delete Activity Logs. 4 Specify the number of days in the Delete Activity Logs Older Than field. The default is 60 days. 5 Using the tabs at the bottom of the Mailbox/Library Maintenance dialog box, set the following options: “Databases”...
  • Page 37 For a list of compatible products, see the Partner Product Guide (http:// www.novell.com/partnerguide). You can also use the GroupWise Database Copy utility (DBCopy) and the GroupWise Time Stamp utility (GWTMSTMP) to assist with backups. For details about how to use these utilities, see Section 34, “Standalone Database...
  • Page 38 Database Locations Table 31-2 Database Location wphost.db \post_office_directory ngwguard.db \post_office_directory msgnnn.db \post_office_directory\ofmsg userxxx.db \post_office_directory\ofuser puxxxxx.db \post_office_directory\ofuser *.idx and *.inc \post_office_directory\ofuser\index fd0-F6 \post_office_directory\offiles dmsh.db \post_office_directory\gwdms dmxxnn01-FF.db \post_office_directory\gwdms\lib0000-FF fd0-FF \post_office_directory\gwdms\lib0000-FF\docs *.idx and *.inc \post_office_directory\gwdms\lib0000-FF\index To view a post office directory structure diagram, see “Post Office Directory”...
  • Page 39 You should need to restore data in a document storage area only if files have been damaged or become inaccessible due to a hard disk failure. See also Section 32.3, “Restoring a Library,” on page 412. 31.4 Backing Up Individual Databases If you need to back up individual databases separately from backing up a post office, you can use your backup software of choice.
  • Page 40 410 GroupWise 7 Administration Guide...
  • Page 41 Restoring GroupWise Databases from Backup Database damage can usually be repaired using the database maintenance tools provided with ® GroupWise . Only very occasionally should you need to restore databases from backup. Section 32.1, “Restoring a Domain,” on page 411 Section 32.2, “Restoring a Post Office,”...
  • Page 42 3 If you do not use GWTSA or TSAFSGW to restore the post office, time-stamp the restored user databases so that old items are not automatically purged during nightly maintenance. 3a In ConsoleOne, browse to and select the Post Office object, then click Tools > GroupWise Utilities >...
  • Page 43 User databases are stored in the subdirectory in the post office. Message databases are ofuser stored in the subdirectory. ofmsg 3 To update the restored database with the most current information available, run Analyze/Fix Databases with Contents selected, as described in Section 27.1, “Analyzing and Fixing User and Message Databases,”...
  • Page 44 3 On the Identification tab, specify a unique name for the new restore area. If desired, provide a lengthier description to further identify the restore area. 4 In the UNC Path field, browse to and select an existing directory that you want to use as a restore area.
  • Page 45 8 Use the backup software for your platform, as listed in Section 31.2, “Backing Up a Post Office,” on page 407, to restore a backup copy of the post office into the restore area. 9 Grant the POA Read, Write, and File Scan rights to the restore area. 10 If the restore area is located on a different server from where the post office directory is located, provide the POA with a username and password for logging in to the remote server.
  • Page 46 32.5.3 Letting Client Users Restore Their Own Mailbox Items After you have set up a restore area and given client users access to it, users can selectively restore individual items into their mailboxes. This saves you the work of restoring mailbox items for users and it also saves users the work of deleting unwanted restored items.
  • Page 47 6 If desired, click Save to Clipboard, paste it into a file, then save or print it. 7 Click Next. 8 Click Finish. At this point, you have restored the user’s or resource’s GroupWise account into the GroupWise system. However, this does not restore ownership of resources, nor does the account’s mailbox contain any item at this point.
  • Page 48 418 GroupWise 7 Administration Guide...
  • Page 49 Retaining User Messages ® GroupWise enables you to retain user messages until they have been copied from message databases to another storage location. This means that a user cannot perform any action, such as emptying the mailbox Trash, that results in a message being removed from the message database before it has been copied.
  • Page 50 When ConsoleOne reads a trusted application record that has the Provides Message Retention Service setting turned on, it adds a Retention tab to the GroupWise Client Environment Options (Tools > GroupWise Utilities > Client Options > Environment). Environment Options Dialog Box with the Retention Tab Open Figure 33-2 You use this Retention tab to enable message retention at the domain, post office, or user level, meaning that you can enable it for all users in a domain, all users in a post office, or individual users.
  • Page 51 (http://www.novell.com/partnerguide). For information about developing a message retention application, see the GroupWise Object API and GroupWise Trusted Application API documentation at the Novell Developer Kit Web site (http:/ /developer.novell.com/wiki/index.php/Category:Novell_Developer_Kit). 33.3 Enabling Message Retention This section assumes that you’ve installed a message retention application as a GroupWise trusted application and that it is configured to provide a message retention service.
  • Page 52 Message retention is not enabled until you designate the users whose messages you want retained by the application. You can designate users at the domain level, post office level, or individual user level. 1 In ConsoleOne, right-click the domain, post office, or user for which you want to enable message retention, click GroupWise Utilities >...
  • Page 53 Standalone Database Maintenance Programs ® Some aspects of GroupWise database maintenance are performed by standalone maintenance programs that can be incorporated into batch files along with other system maintenance programs. Section 34.1, “GroupWise Check,” on page 423 Section 34.2, “Target Service Agents,” on page 434 Section 34.3, “GroupWise Time Stamp Utility,”...
  • Page 54 Three Databases That GWCheck Compares Table 34-1 WPHOST.DB NGWGUARD.DB FILE SYSTEM The post office database The guardian database The file system for this post office is (wphost.db) is checked for (ngwguard.db) is checked to find checked to see if the user database the file ID (FID) of the out if this user database has been (userxxx.db) for this user exists.
  • Page 55 ConsoleOne. For the Repair Mailbox item to display on the GroupWise Windows client Tools menu, the following files must be installed in the GroupWise directory; by default, this is c:\novell\groupwise. gwcheck.exe Standalone Database Maintenance Programs 425...
  • Page 56 Windows client, and selecting to install and enable GWCheck. The default for SetupIP is to install GWCheck, but not enable GWCheck. The files are then copied to the \novell\groupwise\gwcheck directory. For additional information about SetupIP and GWCheck, see “[GWCHECK]” on page 1087.
  • Page 57 GroupWise 7 Administrator for Linux CD if an updated software distribution directory is not available. 2 Install GWCheck. rpm -i groupwise-gwcheck-version-mmdd.i386.rpm 3 Change to the /opt/novell/groupwise/gwcheck/bin directory. 4 Enter ./gwcheck to start GWCheck. 5 To view online help in GWCheck, click Help. 6 Continue with Performing Mailbox/Library Maintenance Using GWCheck.
  • Page 58 7 Change to the /opt/novell/groupwise/gwcheck/bin directory. 8 Enter ./gwcheckt options_file to run text-based GWCheck. If you did not copy the options file to your home directory on the text-only server, specify the full path to the options file.
  • Page 59 34.1.5 Performing Mailbox/Library Maintenance Using GWCheck With only a few differences in interface functionality, as described in the online help, you can perform the same maintenance activities in GWCheck as you can in Mailbox/Library Maintenance in ConsoleOne: “Using Mailbox/Library Maintenance Tab Options” on page 429 “Reusing Library/Mailbox Maintenance Settings”...
  • Page 60 Select Individual Users to send each user the results that pertain to him or her. Click Message to include a message with the results file. Misc ® If you need to run a Mailbox/Library Maintenance check with special options provided by Novell Support, click Misc. Misc. Tab in the Mailbox/Library Maintenance Dialog Box Figure 34-4 Use the Support Options field to specify command line parameters.
  • Page 61 Exclude Tab in the Mailbox/Library Maintenance Dialog Box Figure 34-5 Click Add, select one or more users to exclude, then click OK. Reusing Library/Mailbox Maintenance Settings For convenience, you can store the options you select in Mailbox/Library Maintenance and GWCheck so that you can retrieve them for later use. “Saving Mailbox/Library Maintenance Options”...
  • Page 62 Section 34.1.3, “Using GWCheck on Linux,” on page 426 2 Create a script to execute GWCheck using the following syntax: /opt/novell/groupwise/gwcheck/bin/gwcheck --opt options_file --batch If you did not create the options file in your home directory, specify the full path to the options file.
  • Page 63 Linux GWCheck Windows GWCheck Syntax: --lang code /lang code The table below lists the valid language codes. Contact your local Novell sales office for information about language availability. Language Language Language Language Code Code Arabic Hungarian Chinese-Simplified Italian Chinese-Traditional Japanese...
  • Page 64 /pr-path For example, to specify the Remote mailbox that a user keeps on a computer at home, you would use: Linux: ./gwcheck --opt gwcheck.opt --pr /novell/groupwise\of7bharc Windows: gwcheck /opt=gwcheck.opt /pa-\novell\groupwise\of7bharc 34.2 Target Service Agents A Target Service Agent (TSA) helps generic backup software back up specialized data located on ®...
  • Page 65 For a complete and current list of compatible backup software, use the Partner Product Guide (http:/ /www.novell.com/partnerguide). GWTSA has no user interface of its own, but its presence running along with other backup software provides GroupWise options in the backup software that would not otherwise be available. As a Target Service Agent, GWTSA supports any feature that your backup software supports.
  • Page 66 GroupWise Subdirectories/Files Directories Location Backed Up Post Office post_office_directory wphost.db ngwguard.db ngwguard.dc ngwguard.rfl ngwguard.fbk ngwcheck.db ngwcheck.log gwpo.dc post_office_directory\gwdms dmsh.db post_office_directory\gwdms\library_direc *.db tory archive\*.* docs\*.* post_office_directory\offiles post_office_directory\ofmsg post_office_directory\ofmsg\guardbak ngwguard.fbk post_office_directory\ofuser userxxx.db post_office_directory\ofuser\index *.idx *.inc post_office_directory\ofviews\win *.vew *.ini Library library_directory *.db (Document archive\*.* Storage Area) docs\*.*...
  • Page 67 To start GWTSA automatically each time you restart the server: 1 Add a gwtsa.ncf line to the autoexec.ncf file. With GWTSA running, you are ready to back up GroupWise data with Novell Storage Management Services (SMS), as described in Backup and Restore Services (Storage Management Services) on NetWare 5.1 Documentation Web site...
  • Page 68 /tempdir-vol1:\temp /vserver Specifies the name of a virtual server in a NetWare cluster. See “Backing Up a GroupWise System in a NetWare Cluster” in “Novell Cluster Services on NetWare” in the GroupWise 7 Interoperability Guide. 438 GroupWise 7 Administration Guide...
  • Page 69 “Linux: Running TSAFS and TSAFSGW” on page 444 “TSAFSGW Startup Switches” on page 447 System Requirements TSAFS and TSAFSGW are available on NetWare 6.x and Novell Open Enterprise Server (OES) ® NetWare. They are also available with the Storage Management Services (SMS) package on SUSE Linux Enterprise Server (SLES) 9 and OES Linux.
  • Page 70 Administration Guide on the Novell Open Enterprise Server Documentation Web site (http:// www.novell.com/documentation/oes). You can use TSAFS as it ships with your operating system to back up GroupWise data, or you can enhance its functionality by using TSAFSGW along with it.
  • Page 71 GroupWise Subdirectories/Files Directories Location Backed Up Post Office post_office_directory wphost.db ngwguard.db ngwguard.dc ngwguard.rfl ngwguard.fbk ngwcheck.db ngwcheck.log gwpo.dc post_office_directory\gwdms dmsh.db post_office_directory\gwdms\ *.db library_directory archive\*.* docs\*.* post_office_directory\offiles post_office_directory\ofmsg post_office_directory\ofmsg\guardbak ngwguard.fbk post_office_directory\ofuser userxxx.db post_office_directory\ofuser\index *.idx *.inc post_office_directory\ofviews\win *.vew *.ini Library library_directory *.db (Document archive\*.* Storage Area) docs\*.*...
  • Page 72 Running TSAFS on NetWare To run TSAFS with GroupWise functionality: 1 At your NetWare server console, unload TSAFS. 2 Use the following command to start TSAFS with GroupWise functionality: load tsafs /EnableGW=True The switch setting is saved in a configuration file (sys:\etc\sms\tsa.cfg), so that you do not need to include the switch when you load tsafs.nlm in the future.
  • Page 73 To start TSAFSGW automatically each time you restart the server: 1 Add a tsafsgw.ncf line to the autoexec.ncf file. With TSAFSGW running, you are ready to back up GroupWise data with Novell Storage Management Services (SMS), as described in Storage Management Services Administration Guide...
  • Page 74 If you are running OES Linux, TSAFS was installed along with the novell-sms package when you installed OES Linux. If you are running SLES 9, you can copy the novell-sms RPM from the agents/linux directory of the GroupWise 7 Administrator for Linux CD or from the GroupWise software...
  • Page 75 NOTE: On the latest version of Novell Open Enterprise Server, GroupWise functionality is always enabled and you do not need to use the --EnableGW switch. 6 To make GroupWise functionality the default, modify the SMS configuration file: 6a Change to the directory where the SMS configuration file is located.
  • Page 76 5 To establish the specified GroupWise locations as defaults for automatic backups in the future, modify the SMS configuration file: 5a Change to the directory where the SMS configuration file is located. cd /etc/opt/novell/sms 5b In a text editor, open the smdrd.conf file. 5c Locate the following line:...
  • Page 77 The novell-sms package must be installed and running on the target server, as described in Section , “Running TSAFS on Linux,” on page 444.
  • Page 78 NetWare TSAFSGW Linux TSAFSGW Syntax: /home- path --home path For example, to back up a domain and a post office, you would use: NetWare /home-sys:\gwsystem\provo1 /home-sys:\gwsystem\dev Linux --home /gwsystem/provo1 --home /gwsystem/dev /tempdir Specifies where TSAFSGW places files during the backup process. You need sufficient disk space to accommodate the largest database, but not the entire domain or post office.
  • Page 79 34.3.1 GWTMSTMP Functionality 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. Backup To ensure thorough user database backups, you can make sure that deleted items are not purged from users’...
  • Page 80 34.3.3 Running GWTMSTMP on 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). 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...
  • Page 81 To check the existing time stamp on all GroupWise user databases in a post office, use the following command: Syntax: gwtmstmp.exe /p-drive:\post_office_directory Example: gwtmstmp.exe /p-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 /p-drive:\post_office_directory /set Example:...
  • Page 82 Specifies the post office directory where the user databases to time-stamp are located. This switch is required. NetWare GWTMSTMP Linux GWTMSTMP Windows GWTMSTMP Syntax: /p-volume:\post_office_dir -p /post_office_dir /p-drive:\post_office_dir Example: /p-mail:\dev -p /gwsystem/dev /p-j:\dev /backup, /restore, and /retention 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.
  • Page 83 NetWare: gwtmstmp /p-j:\dev Linux: ./gwtmstmp -p /gwsystem/dev Windows: gwtmstmp /p-j:\dev /set Sets the current date and time on user databases. NetWare GWTMSTMP Linux GWTMSTMP Windows GWTMSTMP Syntax: /set /set --set For example, to set the backup time stamp, you would use: NetWare: gwtmstmp /p-j:\dev /backup /set Linux:...
  • Page 84 NetWare GWTMSTMP Linux GWTMSTMP Windows GWTMSTMP Syntax: /date-mm/dd/yyyy -d mm/dd/yyyy /date-mm/dd/yyyy --date mm/dd/yyyy Example: /date-01/03/2007 -d 05/18/2007 /date-04/12/2007 --date 05/18/2007 For example, to set the restore date to June 15, 2007, you would use: NetWare: gwtmstmp /p-j:\dev /restore /date-06/14/2007 Linux: ./gwtmstmp -p /gwsystem/dev --restore --date 06/15/2007 Windows: gwtmstmp /p-j:\dev /restore /date-06/14/2007...
  • Page 85 Linux: ./gwtmstmp -p /gwsystem/dev -u mpalu -n -s Windows: gwtmstmp /p-j:\dev /u-mpalu /retention /set -e, --userdb Provides a specific GroupWise user database (userxxx.db) so that an individual user database can be time-stamped. NetWare GWTMSTMP Linux GWTMSTMP Windows GWTMSTMP Syntax: /userdb user_database -e user_database /userdb user_database --userdb user_database...
  • Page 86 GroupWise software distribution directory if you have created one /admin or on the GroupWise 7 Administrator for Linux CD. 2 Install DBCopy. rpm -i groupwise-dbcopy-version-mmdd.i386.rpm 3 Change to the /opt/novell/groupwise/agents/bin directory. 4 Use the following command to back up a post office: 456 GroupWise 7 Administration Guide...
  • Page 87 ./dbcopy /post_office_directory /destination_directory Use the following command to back up a domain: ./dbcopy /domain_directory /destination_directory 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.
  • Page 88 34.4.4 DBCopy Startup Switches The following startup switches can be used with DBCopy: NetWare DBCopy Linux DBCopy Windows DBCopy Indicates that DBCopy is copying a document storage area that includes BLOB (binary large object) files. NetWare DBCopy Linux DBCopy Windows DBCopy Syntax: /b-\storage_area_directory -b /storage_area_directory...
  • Page 89 NetWare DBCopy Linux DBCopy Windows DBCopy Syntax: Standalone Database Maintenance Programs 459...

This manual is also suitable for:

Groupwise 7