######################### # Last Change: 12.01.2006 ######################### # tsm server definitionen ############################################ # 90 tage vorhaltezeit der notes-datenbanken ############################################ upd copyg NOTES SET1 NOTESMC vere=NOLimit VERD=NOLimit RETExtra=90 RETOnly=90 ########## # validate ########## validate pol NOTES set1 ANR1554W DEFAULT Management class NOTESMC in policy set NOTES SET1 does not have an ARCHIVE copygroup: files will not be archived by default if this set is activated. ANR1515I Policy set SET1 validated in domain NOTES (ready for activation). ########## # activate ########## activate pol NOTES set1 ANR1554W DEFAULT Management class NOTESMC in policy set NOTES SET1 does not have an ARCHIVE copygroup: files will not be archived by default if this set is activated. Do you wish to proceed? (Yes (Y)/No (N)) y ANR1554W DEFAULT Management class NOTESMC in policy set NOTES SET1 does not have an ARCHIVE copygroup: files will not be archived by default if this set is activated. ANR1514I Policy set SET1 activated in policy domain NOTES. ############################ # define yearly notes backup ############################ DEFine STGpool tp.notes_yearly 3590DEVCL HI=90 LO=70 MAXSCR=20 desc="Lotus Notes Jahressicherung" ANR2200I Storage pool TP.NOTES_YEARLY defined (device class 3590DEVCL). ############# # copy domain ############# copy domain notes notes_yearly ANR1503I Policy domain NOTES copied to domain NOTES_YEARLY. ############### # define policy ############### define pol notes notes_yearly desc='Lotus Notes Jahressicherung' ANR1510I Policy set NOTES_YEARLY defined in policy domain NOTES_YEARLY. ######################## # define managementclass ######################## def mg NOTES NOTES_YEARLY notesmc_yearly MIGDEST=SPACEMGPOOL DESC='Standard fuer Notes Yearly' ANR1520I Management class NOTESMC_YEARLY defined in policy domain NOTES_YEARLY, set NOTES_YEARLY. ################################ # assign default managementclass ################################ ASsign DEFMGmtclass NOTES NOTES_YEARLY notesmc_yearly ANR1538I Default management class set to NOTESMC_YEARLY for policy domain NOTES, set NOTES_YEARLY. ######################### # define backup copygroup ######################### DEFine COpygroup NOTES NOTES_YEARLY NOTESMC_YEARLY type=backup dest=tp.notes_yearly ANR1530I Backup copy group STANDARD defined in policy domain NOTES, set NOTES_YEARLY, management class NOTESMC_YEARLY. ####################################### # upd copygroup auf 1 Jahr Vorhaltezeit ####################################### upd copyg NOTES NOTES_YEARLY NOTESMC_YEARLY VERExists=NOLimit VERDeleted=NOLimit RETExtra=365 RETOnly=365 ANR1532I Backup copy group STANDARD updated in policy domain NOTES, set NOTES_YEARLY, management class NOTESMC_YEARLY. ########################## # define archive copygroup ########################## DEFine COpygroup NOTES NOTES_YEARLY NOTESMC_YEARLY type=archive DEST=tp.notes_yearly ANR1535I Archive copy group STANDARD defined in policy domain NOTES, set NOTES_YEARLY, management class NOTESMC_YEARLY. #################### # validate policyset #################### val pol NOTES NOTES_YEARLY ANR1550W Management class NOTESMC is NOT defined in policy set NOTES_YEARLY but IS defined in the ACTIVE policy set for domain NOTES_YEARLY: files bound to this management class will be REBOUND to the default management class if/when this set is activated. ANR1515I Policy set NOTES_YEARLY validated in domain NOTES_YEARLY (ready for activation). #################### # activate policyset #################### activate pol NOTES NOTES_YEARLY ANR1550W Management class NOTESMC is NOT defined in policy set NOTES_YEARLY but IS defined in the ACTIVE policy set for domain NOTES_YEARLY: files bound to this management class will be REBOUND to the default management class if/when this set is activated. Do you wish to proceed? (Yes (Y)/No (N)) y ANR1550W Management class NOTESMC is NOT defined in policy set NOTES_YEARLY but IS defined in the ACTIVE policy set for domain NOTES_YEARLY: files bound to this management class will be REBOUND to the default management class if/when this set is activated. ANR1514I Policy set NOTES_YEARLY activated in policy domain NOTES_YEARLY. ######################## # delete mgm polset set1 ######################## DELete mgm NOTES_YEARLY SET1 NOTESMC Do you wish to proceed? (Yes (Y)/No (N)) y ANR1521I Management class NOTESMC deleted from policy domain NOTES_YEARLY, set SET1. ############################### # query notes managementclasses ############################### q mg notes* Policy Policy Mgmt Default Description Domain Set Name Class Mgmt Name Name Class ? --------- --------- --------- --------- ------------------------ NOTES ACTIVE NOTESMC Yes Backup von Lotus-Notes NOTES SET1 NOTESMC Yes Backup von Lotus-Notes NOTES_YE- ACTIVE NOTESMC_- Yes Standard fuer Notes ARLY YEARLY Yearly NOTES_YE- NOTES_YE- NOTESMC_- Yes Standard fuer Notes ARLY ARLY YEARLY Yearly ######################## # query notes copygroups ######################## q copyg notes* Policy Policy Mgmt Copy Versions Versions Retain Retain Domain Set Name Class Group Data Data Extra Only Name Name Name Exists Deleted Versions Version --------- --------- --------- --------- -------- -------- -------- ------- NOTES ACTIVE NOTESMC STANDARD No Limit No Limit 90 90 NOTES SET1 NOTESMC STANDARD No Limit No Limit 90 90 NOTES_YE- ACTIVE NOTESMC_- STANDARD No Limit No Limit 365 365 ARLY YEARLY NOTES_YE- NOTES_YE- NOTESMC_- STANDARD No Limit No Limit 365 365 ARLY ARLY YEARLY ##################### # client installation ##################### notes-t:/tmp/tdp_fuer_lotus_notes # ls . TDP-Domino.msg.zh_CN-5.1.5-1.i386.rpm .. TDP-Domino.msg.zh_TW-5.1.5-1.i386.rpm IP22558_1.README TIVguid.i386.rpm IP22558_1.README.FTP TIVsm-API.i386.rpm IP22558_1.tar.gz TIVsm-API.msg.de_DE.i386.rpm README.API TIVsm-API.msg.es_ES.i386.rpm TDP-Domino-5.1.5-1.i386.rpm TIVsm-API.msg.fr_FR.i386.rpm TDP-Domino.msg.de_DE-5.1.5-1.i386.rpm TIVsm-API.msg.it_IT.i386.rpm TDP-Domino.msg.es_ES-5.1.5-1.i386.rpm TIVsm-API.msg.ja_JP.i386.rpm TDP-Domino.msg.fr_FR-5.1.5-1.i386.rpm TIVsm-API.msg.ko_KR.i386.rpm TDP-Domino.msg.it_IT-5.1.5-1.i386.rpm TIVsm-API.msg.pt_BR.i386.rpm TDP-Domino.msg.ja_JP-5.1.5-1.i386.rpm TIVsm-API.msg.zh_CN.i386.rpm TDP-Domino.msg.ko_KR-5.1.5-1.i386.rpm TIVsm-API.msg.zh_TW.i386.rpm TDP-Domino.msg.pt_BR-5.1.5-1.i386.rpm notes-t:/tmp/tdp_fuer_lotus_notes # rpm -ivh TIVguid.i386.rpm Preparing... ########################################### [100%] 1:TIVguid ########################################### [100%] Postinstall of the Tivoli GUID tivguid 1.1.0 : (C) Copyright IBM Corporation 2002 All Rights Reserved. Guid:f3.7d.c4.3c.f2.ba.11.d9.9d.bd.00.b0.d0.de.76.94 Tivoli GUID installation complete. notes-t:/tmp/tdp_fuer_lotus_notes # rpm -ivh TIVsm-API.i386.rpm Preparing... ########################################### [100%] 1:TIVsm-API ########################################### [100%] Postinstall of the API tivguid 1.1.0 : (C) Copyright IBM Corporation 2002 All Rights Reserved. Guid:f3.7d.c4.3c.f2.ba.11.d9.9d.bd.00.b0.d0.de.76.94 TSM Linux API installation complete. Be sure to set up the configuration files! notes-t:/tmp/tdp_fuer_lotus_notes # rpm -ivh TIVsm-API.msg.de_DE.i386.rpm Preparing... ########################################### [100%] 1:TIVsm-API.msg.de_DE ########################################### [100%] notes-t:/tmp/tdp_fuer_lotus_notes # rpm -ivh TDP-Domino-5.1.5-1.i386.rpm Preparing... ########################################### [100%] 1:TDP-Domino ########################################### [100%] Post Installation of IBM Tivoli Storage Manager for Mail - Domino. Checking Tivoli Signature File. Created Tivoli Signature File. Post Installation of IBM Tivoli Storage Manager for Mail - Domino Complete. Be sure to set up the system configuration file before starting the client! notes-t:/tmp/tdp_fuer_lotus_notes # rpm -ivh TDP-Domino.msg.de_DE-5.1.5-1.i386.rpm Preparing... ########################################### [100%] 1:TDP-Domino.msg.de_DE ########################################### [100%] Post Installation of IBM Tivoli Storage Manager for Mail - Domino Messages. Post Installation of IBM Tivoli Storage Manager for Mail - Domino Messages Com plete. notes-t:~ # rpm -qa|grep T TIVsm-API-5.1.5-0 TDP-Domino-5.1.5-1 TIVguid-1.1.0-0 TIVsm-API.msg.de_DE-5.1.5-0 TDP-Domino.msg.de_DE-5.1.5-1 # cd /opt/tivoli/tsm/client/domino/bin # ls . README domarc.smp domina.smp dominstall dsm.opt.smp inclexcl.smp .. de_DE domdsmc dominc.smp domsel.smp en_US # ./dominstall IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 1, Level 5.01 (C) Copyright IBM Corporation 1999, 2002. All rights reserved. Using the Data Protection for Lotus Domino client, domdsmc, installed in /opt/tivoli/tsm/client/domino/bin. Is that correct?. (Yes (Y)/No (N)) Y Using the Domino, libnotes.so, installed in /opt/lotus/notes/latest/linux. Is that correct?. (Yes (Y)/No (N)) Y Unable to locate Domino file. Please specify the directory where notes.ini is installed. /opt/lotus/notesdata Using the Tivoli Storage Manager Api, libApiDS.so, installed in /opt/tivoli/tsm/client/api/bin. Is that correct?. (Yes (Y)/No (N)) Y Setting notes as owner for the Data Protection for Domino executables. Created symbolic link /opt/lotus/notes/latest/linux/domdsmc to /opt/tivoli/tsm/client/domino/bin/domdsmc. Created symbolic link /opt/lotus/bin/domdsmc to tools/startup. Installing domdsmc_notes profile in directory /opt/tivoli/tsm/client/domino/bin. Is that correct?. (Yes (Y)/No (N)) Y Setting notes as owner for the Data Protection for Domino executable /opt/tivoli/tsm/client/domino/bin/domdsmc_notes/domdsmc. Created symbolic link /opt/lotus/notes/latest/linux/domdsmc_notes to /opt/tivoli/tsm/client/domino/bin/domdsmc_notes/domdsmc. Created symbolic link /opt/lotus/bin/domdsmc_notes to tools/startup. Reply with the next notesdata partition or a NULL line (enter key). Data Protection for Domino installation process has successfully completed. # mkdir /var/tsm # mkdir /etc/tsm # su - notes $ cd /opt/tivoli/tsm/client/domino/bin $ . domdsmc_notes/notes.profile $ domdsmc query adsmserver IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 1, Level 5.01 (C) Copyright IBM Corporation 1999, 2002. All rights reserved. ACD0053E License file (/opt/tivoli/tsm/client/domino/bin/domclient.lic) could not be opened. # domdsmc IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. ACD5412W An error was encountered with Tivoli Storage Manager API initialization, rc = 610. Examine the dsierror.log for more information or determine if the TSM API is installed properly. Warning! Error initializing the connection to the TDP library Choose from the following commands: DOMDSMC ACTIVatedbs [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/APPLYLogs=date[,time]] (default: currentdate,currenttime) [/BUFFers=numbuffers[,buffersize]] (default: 3,1024) [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/MOUNTWait=Yes|No] (default: Yes) [/PICk] [/Quiet] DOMDSMC ARCHivelog [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/BUFFers=numbuffers[,buffersize]] (default: 3,1024) [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/MOUNTWait=Yes|No] (default: Yes) [/Quiet] [/THRESHold=highvalue[,lowvalue]] DOMDSMC CHANGEADSMPwd [oldpw [newpw [verifypw]]] [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) DOMDSMC HELP|? [*|command] [*|subcmd] Valid command names : Valid subcmds : ACTIVatedbs Adsmserver ARCHivelog DBBackup CHANGEADSMPwd DOMino HELP LOGArchive INACTivatelogs PENDingdbs Incremental PREFerences Query RESTore RESTORELOGArchive Selective SET DOMDSMC INACTivatelogs [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/Quiet] [/SERVer=currentserver|servername] DOMDSMC Incremental dbname[,dbname,...] [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/BUFFers=numbuffers[,buffersize]] (default: 3,1024) [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/MOUNTWait=Yes|No] (default: Yes) [/Quiet] [/SUBDir=No|Yes] (default: No) DOMDSMC Query Adsmserver [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) DOMDSMC Query DBBackup *|dbname [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/INACTive] [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/SERVer=currentserver|servername] [/SUBDir=No|Yes] (default: No) DOMDSMC Query DOMino [*|dbname] [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/SUBDir=No|Yes] (default: No) DOMDSMC Query LOGArchive [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/INACTive] [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/SERVer=currentserver|servername] DOMDSMC Query PENDingdbs [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) DOMDSMC Query PREFerences [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) DOMDSMC RESETdatabase [dbname|dbname,...] [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) DOMDSMC RESTore dbname[,dbname,...] [/ACTIVate=No|Yes] (default: No) [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/BUFFers=numbuffers[,buffersize]] (default: 3,1024) [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/INTO=filename] [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/MOUNTWait=Yes|No] (default: Yes) [/PICk=SHOWACtive|SHOWALl] (default: SHOWACtive) [/PIT=date[,time]] (default: currentdate,currenttime) [/Quiet] [/REPlace=Yes|No] (default: Yes) [/SERVer=currentserver|servername] [/SUBDir=No|Yes] (default: No) DOMDSMC RESTORELOGArchive [logname[,logname,...]] (default: 'last') [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/BUFFers=numbuffers[,buffersize]] (default: 3,1024) [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/INTOPath=pathname] [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/MOUNTWait=Yes|No] (default: Yes) [/PICk=SHOWACtive|SHOWALl] (default: SHOWACtive) [/Quiet] [/REPlace=Yes|No] (default: Yes) [/SERVer=currentserver|servername] DOMDSMC Selective dbname[,dbname,...] [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/BUFFers=numbuffers[,buffersize]] (default: 3,1024) [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGGedonly] [/LOGPRUne=60|n|No] (default: 60) [/MOUNTWait=Yes|No] (default: Yes) [/Quiet] [/SUBDir=No|Yes] (default:No) DOMDSMC SET PARMname=value [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) where PARMname and default values are: ADSMLOGDir= ADSMOPTFile= BUFFers=3 (2..8) BUFFERSIze=1024 (64..8192) DATEformat= 1 MM/DD/YYYY 2 DD-MM-YYYY 3 YYYY-MM-DD 4 DD.MM.YYYY 5 YYYY.MM.DD DOMI_DIR= DOMINstallpath= LOGFile=domdsm.log LOGPRUne=60 (0..9999 | No) MOUNTWait=Yes (Yes|No) NOTESInipath= NUMberformat= 1 n,nnn.dd 2 n,nnn,dd 3 n nnn,dd 4 n nnn.dd 5 n.nnn,dd 6 n'nnn,dd REPlace=Yes (Yes|No) STATistics=No (No|Yes) SUBDir=No (No|Yes) TIMEformat= 1 HH:MM:SS 2 HH,MM,SS 3 HH.MM.SS 4 HH:MM:SSA/P EXAMPLES: DOMDSMC Selective adb.nsf DOMDSMC Query Domino # su - notes $ vi .bashrc . /opt/tivoli/tsm/client/domino/bin/domdsmc_notes/notes.profile notes@notes-t:~> domdsmc query adsm -configfile=/opt/tivoli/tsm/client/domino/bin/domdsmc_notes/domdsm.cfg -adsmpwd=xxxxxx notes@notes-t:~> domdsmc query domino IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. Domino Server Information ------------------------- Domino Server Name: Cluster Domino Server Level: 6.5 Domino Server Build: 195 Logging: No Logging notes@notes-t:~> domdsmc query preferences IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. Data Protection for Domino Preferences -------------------------------- ADSMLOGDir ..................... /opt/tivoli/tsm/client/domino/bin/domdsmc_notes ADSMOPTFile .................... /opt/tivoli/tsm/client/domino/bin/domdsmc_notes/dsm.opt BUFFers ........................ 3 BUFFERSIze ..................... 1024 DATEformat ..................... 0 DOMI_DIR ....................... /opt/tivoli/tsm/client/domino/bin DOMINstallpath ................. /opt/lotus/bin LOGFile ........................ /opt/tivoli/tsm/client/domino/bin/domdsmc_notes/domdsm.log LOGPRUne ....................... 60 MOUNTWait ...................... Yes NOTESInipath ................... /opt/lotus/notesdata NUMberformat ................... 0 REPlace ........................ Yes STATistics ..................... No SUBDir ......................... No TIMEformat ..................... 0 $ domdsmc inc "*" IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. Starting Domino database backup... Initializing Domino connection... Querying Domino for a list of databases, please wait... Logging on to the Tivoli Storage Manager server, please wait... Querying Tivoli Storage Manager server for a list of database backups, please wait... Backing up database dbdirman.nsf, 1 of 1. Full: 3 Read: 1350144 Written: 0 Rate: 0.00 Kb/Sec Waiting for TSM server........................................ Full: 0 Read: 1350144 Written: 1350144 Rate: 29.26 Kb/Sec Backup of dbdirman.nsf completed successfully. Expiring database backup 'log.nsf'... Expiring database backup 'mail.box'... Total Domino databases inspected: 134 Total Domino databases backed up: 1 Total Domino databases excluded: 2 Total Domino backup objects expired: 2 Throughput rate: 28.62 Kb/Sec Total bytes transferred: 1,350,144 Elapsed processing time: 46.07 Secs ############### # TDPL Commands ############### Command Description See domdsmc query adsmserver Displays general information about the Tivoli Storage Manager server domdsmc query dbbackup Displays a list of Domino database backups stored on the Tivoli Storage Manager server domdsmc query domino Displays general information about the Domino server and optionally lists databases on the Domino server domdsmc query logarchive Displays a list of the archived transaction log extents stored on the Tivoli Storage Manager server domdsmc query pendingdbs Displays a list of databases that have been restored but not yet activated domdsmc query preferences Displays the current values for Data Protection for Domino domdsmc archivelog Backs up Domino transaction log files when archival logging is in effect on the Domino server domdsmc incremental Backs up Domino databases that meet certain criteria to Tivoli Storage Manager server storage domdsmc selective Backs up specified databases unconditionally, unless excluded from backup services domdsmc activatedbs Brings restored database backups online domdsmc changeadsmpwd Changes the Tivoli Storage Manager password used by the registered Tivoli Storage Manager nodename domdsmc help Displays online help for the domdsmc commands domdsmc inactivatelogs Allows for expiration of transaction log files from backup storage domdsmc resetdatabase Resets a Domino server database that is in an incomplete state as a result of an unexpected termination during a Data Protection for Domino backup. domdsmc restore Restores database backups from Tivoli Storage Manager storage to the Domino server and optionally activates the databases domdsmc restorelogarchive Restores archived transaction logs from Tivoli Storage Manager storage to the Domino server domdsmc set Sets the Data Protection for Domino configuration parameters and saves for future use ######################### # incrementelle Sicherung ######################### notes@notes-t:~> domdsmc inc "*" IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. Starting Domino database backup... Initializing Domino connection... Querying Domino for a list of databases, please wait... Logging on to the Tivoli Storage Manager server, please wait... Querying Tivoli Storage Manager server for a list of database backups, please wait... Backing up database dbdirman.nsf, 1 of 1. Full: 3 Read: 1350144 Written: 0 Rate: 0.00 Kb/Sec Waiting for TSM server........................................ Full: 0 Read: 1350144 Written: 1350144 Rate: 29.26 Kb/Sec Backup of dbdirman.nsf completed successfully. Expiring database backup 'log.nsf'... Expiring database backup 'mail.box'... Total Domino databases inspected: 134 Total Domino databases backed up: 1 Total Domino databases excluded: 2 Total Domino backup objects expired: 2 Throughput rate: 28.62 Kb/Sec Total bytes transferred: 1,350,144 Elapsed processing time: 46.07 Secs ###################################### # incrementelle Sicherung aller Subdir ###################################### notes@notes-t:~> domdsmc incremental "*" /subdir=yes IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. Starting Domino database backup... Initializing Domino connection... Querying Domino for a list of databases, please wait... Logging on to the Tivoli Storage Manager server, please wait... Querying Tivoli Storage Manager server for a list of database backups, please wait... Backing up database Administration/Benutzer.nsf, 1 of 213. Full: 3 Read: 3145728 Written: 0 Rate: 0.00 Kb/Sec Waiting for TSM server........................................ Full: 0 Read: 3145728 Written: 3145728 Rate: 66.19 Kb/Sec Backup of Administration/Benutzer.nsf completed successfully. Backing up database Administration/BenutzerAnforderung.nsf, 2 of 213. Full: 0 Read: 1239552 Written: 1239552 Rate: 1,199.70 Kb/Sec Backup of Administration/BenutzerAnforderung.nsf completed successfully. Backing up database Administration/LognlyzrV2.nsf, 3 of 213. Full: 0 Read: 3145728 Written: 3145728 Rate: 3,044.60 Kb/Sec Backup of Administration/LognlyzrV2.nsf completed successfully. Backing up database Administration/MailForwarding-AgentLog.nsf, 4 of 213. Full: 0 Read: 79429632 Written: 79429632 Rate: 8,139.35 Kb/Sec Backup of Administration/MailForwarding-AgentLog.nsf completed successfully. Backing up database Consulting/ProduktDokumentation.nsf, 5 of 213. Full: 0 Read: 67895296 Written: 67895296 Rate: 8,040.75 Kb/Sec Backup of Consulting/ProduktDokumentation.nsf completed successfully. ... Backing up database temp/smvlog.ntf, 213 of 213. Full: 0 Read: 6488064 Written: 6488064 Rate: 3,062.35 Kb/Sec Backup of temp/smvlog.ntf completed successfully. Total Domino databases inspected: 346 Total Domino databases backed up: 213 Total Domino databases excluded: 2 Total Domino backup objects expired: 0 Throughput rate: 8,676.91 Kb/Sec Total bytes transferred: 79,098,854,400 Elapsed processing time: 8,902.36 Secs ##################### # check am tag danach ##################### notes@notes-t:~> domdsmc incremental "*" /subdir=yes IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. ACD5221I The /opt/tivoli/tsm/client/domino/bin/domdsmc_notes/domdsm.log log file has been pruned successfully. Starting Domino database backup... Initializing Domino connection... Querying Domino for a list of databases, please wait... Logging on to the Tivoli Storage Manager server, please wait... Querying Tivoli Storage Manager server for a list of database backups, please wait... Backing up database dbdirman.nsf, 1 of 1. Full: 3 Read: 1350144 Written: 0 Rate: 0.00 Kb/Sec Waiting for TSM server.......................................................................... Full: 0 Read: 1350144 Written: 1350144 Rate: 16.34 Kb/Sec Backup of dbdirman.nsf completed successfully. Total Domino databases inspected: 346 Total Domino databases backed up: 1 Total Domino databases excluded: 2 Total Domino backup objects expired: 0 Throughput rate: 16.34 Kb/Sec Total bytes transferred: 1,350,144 Elapsed processing time: 80.69 Secs ################ # dbbackup notes ################ notes@notes-t:~> domdsmc query dbbackup IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. Database Backup List -------------------- Domino Server: Cluster -------------- DB Backup Date Size A/I Logged Database Title Database File --------------------- ----------- --- ------ -------------- ------------- 07/18/05 14:25:57 448.00KB A No Java AgentRunne AgentRunner.nsf 07/18/05 14:26:35 512.00KB A No NT/Migrating Us NTSync45.nsf 07/18/05 14:26:36 10.50MB A No PAGO Ressourcen Ressourcen.nsf 07/18/05 14:26:38 1,876.50KB A No PAGO Ressourcen Ressourcen.ntf 07/18/05 14:26:39 3,328.00KB A No Pago TeamRoom TeamRoom.ntf 07/18/05 14:26:40 1,237.00KB A No Activity Trends activity.ntf 07/18/05 14:26:41 8,448.00KB A No Admin-Anforderu admin4.nsf 07/18/05 14:26:43 1,568.00KB A No Administration admin4.ntf 07/18/05 14:26:44 288.00KB A No Agent Log alog4.ntf 07/18/05 14:26:45 460.50KB A No Archive Log (6) archlg50.ntf 07/18/05 14:26:46 339.50KB A No Billing billing.ntf 07/18/05 14:26:46 1,678.50KB A No bookmark.nsf 07/18/05 14:26:47 10.42MB A No Bookmarks (6) bookmark.ntf 07/18/05 14:26:49 384.00KB A No Local free time busytime.nsf 07/18/05 14:26:51 241.50KB A No Local free time busytime.ntf 07/18/05 14:26:52 296.50KB A No Local Document cache.ntf 07/18/05 14:26:53 5,376.00KB A No Katalog (5.0) catalog.nsf 07/18/05 14:26:54 1,132.50KB A No Catalog (6) catalog.ntf 07/18/05 14:26:55 2,014.50KB A No Domino Certific cca50.ntf 07/18/05 14:26:56 1,444.50KB A No Zulassungsproto certlog.nsf 07/18/05 14:26:57 288.00KB A No Certification L certlog.ntf 07/18/05 14:26:58 648.00KB A No Domino Certific certpub.ntf 07/18/05 14:26:59 1,347.00KB A No Certificate Req certreq.ntf 07/18/05 14:27:00 1,264.50KB A No Server- Zertifi certsrv.nsf 07/18/05 14:27:01 452.50KB A No Cluster Directo cldbdir4.ntf 07/18/05 14:27:01 296.00KB A No Cluster Analysi clusta4.ntf 07/18/05 14:27:02 2,304.00KB A No Domino Server.P cpa.nsf 07/18/05 14:27:03 1,064.00KB A No Server Certific csrv50.ntf 07/18/05 14:27:04 588.50KB A No Directory Assis da50.ntf 07/18/05 14:27:05 288.00KB A No Database Analys dba4.ntf 07/19/05 09:56:37 1,318.50KB A No Domino Director dbdirman.nsf 07/18/05 14:27:08 235.50KB A No Domino Director dbdirman.ntf 07/18/05 14:27:09 316.50KB A No Database Librar dblib4.ntf 07/18/05 14:27:10 306.50KB A No Decommission Se decomsrv.ntf 07/18/05 14:27:11 2,592.00KB A No DECS Administra decsadm.ntf 07/18/05 14:27:12 692.50KB A No Directory Catal dircat5.ntf 07/18/05 14:27:13 1,223.00KB A No Discussion - No discsw50.ntf 07/18/05 14:27:14 2,097.50KB A No Discussion - No discsw6.ntf 07/18/05 14:27:15 896.00KB A No MS Office Bibli doclbm50.ntf 07/18/05 14:27:16 884.50KB A No Microsoft Offic doclbm6.ntf 07/18/05 14:27:16 943.00KB A No Lotus SmartSuit doclbs5.ntf 07/18/05 14:27:17 759.00KB A No Lotus SmartSuit doclbs6.ntf 07/18/05 14:27:18 952.00KB A No Dok-Bibliothek doclbw50.ntf 07/18/05 14:27:19 1,312.00KB A No Doc Library - N doclbw6.ntf 07/18/05 14:27:21 913.50KB A No Offline Service doladmin.nsf 07/18/05 14:27:22 512.00KB A No DOLS Administra doladmin.ntf 07/18/05 14:27:23 819.00KB A No DOLS Resource T dolres.ntf 07/18/05 14:27:24 3,072.00KB A No Domino Administ domadmin.nsf 07/18/05 14:27:25 3,196.50KB A No Domino Administ domadmin.ntf 07/18/05 14:27:26 648.00KB A No Domino Web Serv domcfg5.ntf 07/18/05 14:27:27 3,072.00KB A No Domino Change C domchange.ntf 07/18/05 14:27:28 994.50KB A No Domino Web-Serv domlog.nsf 07/18/05 14:27:29 384.00KB A No Domino Web Serv domlog.ntf 07/18/05 14:27:30 238.50KB A No Design Synopsis dsgnsyn.ntf 07/18/05 14:27:31 1,460.50KB A No Server.Planner: dspa.ntf 07/18/05 14:27:32 994.50KB A No Server.Planner: dspd.ntf 07/18/05 14:27:32 1,196.50KB A No Server.Planner: dspv.ntf 07/18/05 14:27:33 14.50MB A No Statistics & Ev events4.nsf 07/18/05 14:27:35 12.23MB A No Monitoring Conf events4.ntf 07/18/05 14:27:38 388.50KB A No Subscriptions ( headline.ntf 07/18/05 14:27:38 448.00KB A No Homepage (6) homepage.nsf 07/18/05 14:27:40 6,474.00KB A No iNotes Web Acce iNotes5.ntf 07/18/05 14:27:42 27.50MB A No Domino Web Acce iNotes6.ntf 07/18/05 14:27:45 544.00KB A No Issued Certific icl.ntf 07/18/05 14:27:46 595.50KB A No Mail (IMAP) imapcl5.ntf 07/18/05 14:27:47 819.00KB A No Domino Web Acce iwaredir.ntf 07/18/05 14:27:48 768.00KB A No Persöches Jo journal5.ntf 07/18/05 14:27:49 978.50KB A No Personal Journa journal6.ntf 07/18/05 14:27:50 648.00KB A No Lotus Notes/Dom lndfr.ntf 07/18/05 14:27:51 648.00KB A No Lotus Notes/Dom lndsutr.ntf 07/18/05 14:28:03 761.50KB A No Notes Log (6) log.ntf 07/18/05 14:28:04 588.00KB A No Notes Log Analy loga4.ntf 07/18/05 14:28:06 1,536.00KB A No NOTES Mailbox # mail1.box 07/18/05 14:28:08 1,536.00KB A No NOTES Mailbox # mail2.box 07/18/05 14:28:10 13.25MB A No NOTES Mailbox # mail3.box 07/18/05 14:28:12 5,804.50KB A No Mail (R5.0) mail50.ntf 07/18/05 14:28:14 6,346.00KB A No Extended Mail ( mail50ex.ntf 07/18/05 14:28:16 25.75MB A No Mail (R6) mail6.ntf 07/18/05 14:28:20 26.75MB A No Extended Mail ( mail6ex.ntf 07/18/05 14:28:23 2,650.50KB A No Mail Router Mai mailbox.ntf 07/18/05 14:28:25 14.32MB A No Mail Journaling mailjrn.ntf 07/18/05 14:28:27 344.00KB A No Mailing-Liste ( maillist.ntf 07/18/05 14:28:28 729.00KB A No Lotus MTA Table mtatbls.nsf 07/18/05 14:28:29 648.00KB A No Domino MailTrac mtstore.ntf 07/18/05 14:28:29 19.50MB A No Adreßuch von p names.nsf 07/18/05 14:28:32 384.00KB A No Newsgroup-Artik nntpcl5.ntf 07/18/05 14:28:34 325.00KB A No News Articles ( nntpcl6.ntf 07/18/05 14:28:35 816.00KB A No NNTP Discussion nntpdi50.ntf 07/18/05 14:28:36 244.50KB A No NNTP Cross-Post nntppost.ntf 07/18/05 14:28:37 328.00KB A No NT/Migrating Us ntsync45.ntf 07/18/05 14:28:37 3,512.00KB A No Paoo-Adreßuch pagonames.ntf 07/18/05 14:28:39 8,192.00KB A No Personal Addres pernames.ntf 07/18/05 14:28:41 1,093.50KB A No Personal Web Na perweb50.ntf 07/18/05 14:28:42 991.00KB A No Phonebook (6) phonebook.ntf 07/18/05 14:28:43 238.00KB A No Policy Synopsis polcysyn.ntf 07/18/05 14:28:44 10.50MB A No Domino Director pubnames.ntf 07/18/05 14:28:46 1,630.50KB A No Server Web Navi pubweb50.ntf 07/18/05 14:28:47 1,093.50KB A No Berichte fü reports.nsf 07/18/05 14:28:48 760.50KB A No Message Trackin reports.ntf 07/18/05 14:28:48 1,428.50KB A No Resource Reserv resrc50.ntf 07/18/05 14:28:50 4,508.50KB A No Resource Reserv resrc60.ntf 07/18/05 14:28:51 2,110.50KB A No Domino LDAP Sch schema.nsf 07/18/05 14:28:52 800.00KB A No Domino LDAP Sch schema.ntf 07/18/05 14:28:53 2,046.00KB A No Domino Konfigur setup.nsf 07/18/05 14:28:54 1,368.00KB A No Domino Configur setupweb.nsf 07/18/05 14:28:55 650.00KB A No Site Registrati siregw50.ntf 07/18/05 14:28:56 648.00KB A No SMLNAdmin smadmR5.nsf 07/18/05 14:28:57 5,632.00KB A No ScanMail for Lo smconf.nsf 07/18/05 14:28:59 6,224.00KB A No smconf.ntf 07/18/05 14:29:01 14.50MB A No ScanMail Patter smency.nsf 07/18/05 14:29:03 6,976.00KB A No smency.ntf 07/18/05 14:29:05 1,170.00KB A No ScanMail Filety smftypes.nsf 07/18/05 14:29:06 1,760.00KB A No smftypes.ntf 07/18/05 14:29:07 5,632.00KB A No ScanMail Help smhelp.nsf 07/18/05 14:29:09 9,713.50KB A No smhelp.ntf 07/18/05 14:29:12 922.50KB A No ScanMail Messag smmsg.nsf 07/18/05 14:29:13 33.25MB A No ScanMail Quaran smquar.nsf 07/18/05 14:29:18 2,025.50KB A No smquar.ntf 07/18/05 14:29:19 576.00KB A No ScanMail for Lo smtime.nsf 07/18/05 14:29:19 576.00KB A No Smart Upgrade K smupgrade.ntf 07/18/05 14:29:21 15.00MB A No ScanMail for Lo smvlog.nsf 07/18/05 14:29:23 7,776.00KB A No smvlog.ntf 07/18/05 14:29:25 465.00KB A No Search Site (6) srchsite.ntf 07/18/05 14:29:26 6,656.00KB A No Statistik statmail.nsf 07/18/05 14:29:28 29.00MB A No Statistics Repo statrep.nsf 07/18/05 14:29:32 1,300.50KB A No Monitoring Resu statrep5.ntf 07/18/05 14:29:33 2,152.00KB A No TeamRoom (5.0) teamrm50.ntf 07/18/05 14:29:34 4,012.50KB A No TeamRoom (6) teamrm6.ntf 07/18/05 14:29:36 576.00KB A No Domino User Lic userlicenses.ntf 07/18/05 14:29:36 448.00KB A No User Registrati userreg.ntf 07/18/05 14:29:38 8,704.00KB A No Domino Web Admi webadmin.nsf 07/18/05 14:29:40 7,168.00KB A No Domino Web Admi webadmin.ntf ######################## # restore eines db-files ######################## domdsmc help restore IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. DOMDSMC RESTore dbname[,dbname,...] [/ACTIVate=No|Yes] (default: No) [/ADSMNODe=nodename] [/ADSMOPTFile=dsm.opt|filename] (default: dsm.opt) [/ADSMPWD=password] [/BUFFers=numbuffers[,buffersize]] (default: 3,1024) [/CONFIGfile=domdsm.cfg|filename] (default: domdsm.cfg) [/INTO=filename] [/LOGFile=domdsm.log|logfilename] (default: domdsm.log) [/LOGPRUne=60|n|No] (default: 60) [/MOUNTWait=Yes|No] (default: Yes) [/PICk=SHOWACtive|SHOWALl] (default: SHOWACtive) [/PIT=date[,time]] (default: currentdate,currenttime) [/Quiet] [/REPlace=Yes|No] (default: Yes) [/SERVer=currentserver|servername] [/SUBDir=No|Yes] (default: No) notes@notes-t:/opt/lotus/notesdata> domdsmc restore mail2/stender.nsf /ACTIVate=yes IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. Starting Domino database restore... Initializing Domino connection... Logging on to the Tivoli Storage Manager server, please wait... Querying Tivoli Storage Manager server for a list of database backups, please wait... Restoring database mail2/stender.nsf, 1 of 1, to /opt/lotus/notesdata/mail2/stender.nsf Full: 0 Read: 6815744 Written: 6815744 Rate: 67.08 Kb/Sec Restore of mail2/stender.nsf completed successfully. Total database backups inspected: 1 Total database backups requested for restore: 1 Total database backups restored: 1 Total database activated: 1 Throughput rate: 67.08 Kb/Sec Total bytes transferred: 6,815,744 Elapsed processing time: 99.23 Secs ############################ # query domino for databases ############################ notes@notes-t:/opt/lotus/notesdata> domdsmc query domino "mail2/stender.nsf" IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Version 5, Release 3, Level 0.0 (C) Copyright IBM Corporation 1999, 2004. All rights reserved. Domino Server Information ------------------------- Domino Server Name: Cluster Domino Server Level: 6.5 Domino Server Build: 195 Logging: No Logging Domino Database Information --------------------------- Last Modified Date Size Logged Database Title Database ------------------ ---- ------ -------------- -------- 04/02/05 14:31:41 6,656.00KB No Philipp Stender mail2/stender.nsf #################### # restore mit pickup #################### notes@notes-s:~> domdsmc restore Entwicklung/Urlaubsplaner.nsf /pick /into=/tmp/urlaubsplaner.nsf /activate=yes IBM Tivoli Storage Manager for Mail Scrollable PICK Window - Restore # DB Backup Date Size A/I Logged Database File ----------------------------------------------------------------------- x 1. | 12/25/05 10:48:36 9,472.00KB A No Entwicklung/Urlaubs | | | | | | | | | | | | | 0---------10--------20--------30--------40--------50--------60--------7 =Up =Down =Top =Bottom =Right =Left =Goto Line # <#>=Toggle Entry <+>=Select All <->=Deselect All <#:#+>=Select A Range <#:#->=Deselect A Range =Ok =Cancel pick> C Total database backups inspected: 1 Total database backups requested for restore: 0 Total database backups restored: 0 Total database activated: 0 IBM Tivoli Storage Manager for Mail Scrollable PICK Window - Restore # DB Backup Date Size A/I Logged Database File ----------------------------------------------------------------------- x 1. | 12/25/05 10:48:36 9,472.00KB A No Entwicklung/Urlaubs | | | | | | | | | | | | | 0---------10--------20--------30--------40--------50--------60--------7 =Up =Down =Top =Bottom =Right =Left =Goto Line # <#>=Toggle Entry <+>=Select All <->=Deselect All <#:#+>=Select A Range <#:#->=Deselect A Range =Ok =Cancel pick> O Restoring database Entwicklung/Urlaubsplaner.nsf, 1 of 1, to /tmp/urlaubsplaner.nsf Full: 0 Read: 0 Written: 0 Rate: 0.00 Kb/Sec Waiting for TSM server............................................................................................. Full: 0 Read: 9699328 Written: 9699328 Rate: 95.97 Kb/Sec Restore of Entwicklung/Urlaubsplaner.nsf completed successfully. Total database backups inspected: 1 Total database backups requested for restore: 1 Total database backups restored: 1 Total database activated: 1 Throughput rate: 95.97 Kb/Sec Total bytes transferred: 9,699,328 Elapsed processing time: 98.70 Secs notes@notes-s:~> ls -al /tmp/urlaubsplaner.nsf ####################### # restore alter backups ####################### notes@notes-s:~> domdsmc restore mail/gcordes.nsf /pick=SHOWALl /into=/tmp/gcordes.nsf /activate=yes IBM Tivoli Storage Manager for Mail Scrollable PICK Window - Restore # DB Backup Date Size A/I Logged Database File ----------------------------------------------------------------------- 1. | 01/07/06 10:45:07 1,360.50MB A No mail/gcordes.nsf x 2. | 12/31/05 10:39:19 988.75MB I No mail/gcordes.nsf 3. | 12/25/05 11:54:46 970.00MB I No mail/gcordes.nsf | | | | | | | | | | | 0---------10--------20--------30--------40--------50--------60--------7 =Up =Down =Top =Bottom =Right =Left =Goto Line # <#>=Toggle Entry <+>=Select All <->=Deselect All <#:#+>=Select A Range <#:#->=Deselect A Range =Ok =Cancel pick> O Restoring database mail/gcordes.nsf, 1 of 1, to /tmp/gcordes.nsf Full: 0 Read: 0 Written: 0 Rate: 0.00 Kb/Sec Waiting for TSM server....................................................... Full: 0 Read: 1036779520 Written: 1036779520 Rate: 6,668.55 Kb/Sec Restore of mail/gcordes.nsf completed successfully. Total database backups inspected: 3 Total database backups requested for restore: 1 Total database backups restored: 1 Total database activated: 1 Throughput rate: 6,668.55 Kb/Sec Total bytes transferred: 1,036,779,520 Elapsed processing time: 151.83 Secs notes@notes-s:~> ls -al /tmp/gcordes.nsf -rw-r--r-- 1 notes edv 1036779520 Jan 9 17:30 /tmp/gcordes.nsf ############### # crontab notes ############### # Forget the Crontab MAN #minute (0-59) #| hour (0-23) #| | day of the month (1-31) #| | | month of the year (1-12) #| | | | day of the week (0-6 with 0=Sunday #| | | | | commands #0 3 * * * /usr/sbin/skulker >/dev/null 2>&1 #--------------------------------------------------------------------------- # selektives Backup Notes (Samstags) #30 9 * * 6 /opt/tivoli/tsm/client/domino/bin/domsel >/dev/null 2>&1 # inkrementelles Backup Notes #0 20 * * * /opt/tivoli/tsm/client/domino/bin/dominc >/dev/null 2>&1 # Archivelog Backup #31 * * * * /opt/tivoli/tsm/client/domino/bin/domarc >/dev/null 2>&1 # loeschen der inaktiven Logs #1 4 * * 6 /opt/tivoli/tsm/client/domino/bin/domina >/dev/null 2>&1