|
Order |
Login |
Contact |
Resellers
|
|
PerfectBackup online backup. Online internet data backup. Security of online backup. Advantages online backup How does online backup work? Testimonial online Backup Users. Frequently Asked Questions. Technical knowledge. |
Online Backup for Lotus Notes/Domino.
This page will describe in detail how to configure the online backup manager to backup and restore Lotus Notes/Domino database.
i. Te online backup manager must be installed onto the computer running Lotus Domino server / Notes client. ii. Data from Lotus Domino server / Notes client will be backed up to a temporary directory before they are sent to Offsite Backup Server. Please make sure you have sufficient disk space on your computer to store these data when you run the backup job. iii. Lotus Domino server must runs with archive transaction logging enabled. To set up transaction logging in archive style, please do the following: a. Ensure that all databases to be logged reside in the Domino data directory, either at the root or in subdirectories. b. From the Domino Administrator, click the Configuration tab. a. In the "Use Directory on" field, choose the server's Domino Directory. b. Click Server Configuration, and then click Current Server Document. c. Click the Transactional Logging tab. d. Complete these fields, and then save the document. Transactional Logging Log path The default path name is \LOGDIR in the Domino data directory, although it is strongly recommended to store the log on a separate, mirrored device, such as a RAID (Redundant Array of Independent Disks) level 0 or 1 device with a dedicated controller. The separate device should have at least 1GB of disk space for the transaction log. If you are using the device solely for storing the transaction log, set the "Use all available space on log device" field to Yes. Maximum log space Use all available space on log device Choose one: Yes to use all available space on the device for the transaction log. This is recommended if you use a separate device dedicated to storing the log. If you choose Yes, you don’t need to enter a value in the "Maximum log space" field. No to use the default or specified value in the "Maximum log space" field.Automatic fixup of corrupt databases Choose one: Enabled (default). If a database is corrupt and Domino cannot use the transaction log to recover it, Domino runs the Fixup task, assigns a new DBIID, and notifies the administrator that a new database backup is required. Disabled. Domino does not run the Fixup task automatically and notifies the administrator to run the Fixup task with the -J parameter on corrupt logged databases.Runtime / Restart performance This field controls how often Domino records a recovery checkpoint in the transaction log, which affects server performance. To record a recovery checkpoint, Domino evaluates each active logged database to determine how many transactions would be necessary to recover each database after a system failure. When Domino completes this evaluation, it: Creates a recovery checkpoint record in the transaction log, listing each open database and the starting point transaction needed for recovery Forces database changes to be saved to disk if they have not been saved alreadyChoose one: Standard (default and recommended). Checkpoints occur regularly. Favor runtime. Domino records fewer checkpoints, which requires fewer system resources and improves server run time performance. Favor restart recovery time. Domino records more checkpoints, which improves restart recovery time because fewer transactions are required for recovery.Logging style Choose Archive. The default is Circular. Notes: You can only run transaction log backup if you have transaction logging enabled and you are using archive mode. This command does not apply if you have transaction logging enabled not in archive mode or if transaction logging is not enabled at all. If you try to issue it, you will receive an error message.
The online backup manager will backup your Lotus Domino server / Notes client by taking the following steps: i. Run all Pre-Commands of this backup set ii. If the backup type to run is [Database Backup type], a. all file(s) / database(s) selected are copied to the temporary directory specified by this backup set b. the notes.ini file, if selected, will be copied to the temporary directory c. only filled log extents will be copied to the temporary directory, and the Domino server is notified of their availability for reuse (for Domino server only) iii. (for Domino server only) If the backup type to run is [Transaction Log Backup type], a. only filled log extents will be copied to the temporary directory, and the Domino server is notified of their availability for reuse iv. Run all Post-Commands of this backup set v. Upload all files copied to the temporary directory to the Offsite Backup Server vi. Remove temporary files from the temporary directory if [Setting] -> [Temporary Directory for storing backup files] is enabled How to backup a Lotus Notes / Domino Database Please follow the instructions below to backup your Lotus Domino server / Notes client databases / files using online backup manager. Right click online backup manager icon available in the system tray and choose [Open] i. Open the online backup manager Right click the online backup manager icon available in the system tray and choose [Open]
ii. Create a backup set a. From the Menu, Choose [Backup Set] -> [New] -> [Lotus Backup Set]
b. Enter a name for your backup set
c. Select the Backup Set Type (Lotus Domino Server Backup / Lotus Notes Client Backup) d. Select the database(s) / file(s) you want to backup
e. Enter a temporary location to store the backup files before they are sent to an Offsite Backup Server f. Set the backup schedule for Database Backup
g. Set the backup schedule for Transaction Log Backup (for Domino server only) (Note: You can have more than one schedule in a backup set, i.e. you can perform intra-day transaction log backup by adding more than one daily transaction log backup schedule to your backup set) h. Set the encryption algorithm, encryption mode and encrypting key for this backup set
(Hint: For maximum security, please select AES (Advanced Encryption Standard) Algorithm, CBC (Cipher Block Chaining) mode and use an encrypting key with more than 8 characters.) iii. Run Backup a. Select the backup set you want to run on the left panel and press the [Start Backup] button (►) b. Select the backup type (e.g. Database, Transaction Log) you would like to perform (for Domino server only)
c. Select [Off-site Backup Server] to start backing up your files to an Offsite Backup Server.
How to restore Lotus Domino / Notes database(s) / file(s) on Windows Please follow the instructions below to restore Lotus Domino server / Notes client database(s) / file(s) from an Offsite Backup Server. i. Install Lotus Domino server / Notes client back to its original folder (if required) ii. Install online backup manager Please refer to the [Installation] section for information on how to install online backup manager onto your computer. iii. Copy LotusMediaRecovery.exe from the bin directory (default to C:\Program Files\OBM\bin) to Lotus Domino installation directory (default to C:\Lotus\Domino) iv. Shutdown Lotus Domino Server v. If you want to perform a full domino restore (restore all databases and files): a. Download the backup files to be restored from the Offsite Backup Server and save them back to its original location. It includes notes.ini, all backup files from the lotus domino data directory and all archived transaction logs b. Run LotusMediaRecovery.exe from the Lotus Domino installation directory (e.g. C:\Lotus\Domino\LotusMediaRecovery.exe) and press ‘Y’ to continue. For example: C:\Lotus\Domino\> LotusMediaRecovery.exe This will run media recovery for all databases (*.nsf and mail.box) found under the Lotus data directory (e.g. C:\Lotus\Domino\Data). You should see something similar to the screen below. Media Recovery Example: C:\Lotus\Domino>LotusMediaRecovery Media Recovery Utility for Lotus Domino 5.0 or above Please make sure that you have done the following: 1. Reinstall Lotus Domino on this computer in the same directory 2. Restore Notes.ini to the Lotus Domino installation directory (e.g. C:\Lotus\Domino) 3. Restore Domino Data directory back to the directory defined in Notes.ini (e.g. C:\Lotus\Domino\Data) 4. Restore all archived transaction logs to the directory defined in Notes.ini (e.g. C:\Lotus\Domino\Data\logdir) Continue ? (Y) or (N) y Running media recovery ... Please wait, creating new transaction logs in directory: C:\logdir\ 02/12/2003 14:39:19 Recovery Manager: Restart Recovery complete. (0/0 databases needed full/partial recovery) Media Recovery Replay (122 MB): 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 02/12/2003 14:39:22 Recovery Manager: Media Recovery complete for C:\Lotus\Domino\Data\admin4.nsf, last update applied . Backup file C:\Lotus\Domino\Data\admin4.nsf recovered. Media Recovery Replay (122 MB): 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 02/12/2003 14:40:57 Recovery Manager: Media Recovery complete for C:\Lotus\Domino\Data\statrep.nsf, last update applied . Backup file C:\Lotus\Domino\Data\statrep.nsf recovered. C:\Lotus\Domino> c. All content of all database(s) are now rolled forward to the last committed transaction found in the last archived transaction log. d. Restart Lotus Domino server vi. If you just want to restore a single database: a. Download the database file to be restored from the Offsite Backup Server and save them back to its original location. b. (optional) If you need to perform media recovery on this database, please download all archived transaction logs and save them back to its original location c. Run LotusMediaRecovery.exe from the Lotus Domino installation directory with an argument of the full path of database to be restored. For example, if you want to restore C:\Lotus\Domino\data\admin4.nsf, please run: C:\Lotus\Domino\> LotusMediaRecovery.exe C:\Lotus\Domino\data\admin4.nsf You should see something similar to the screen below. C:\Lotus\Domino>LotusMediaRecovery C:\Lotus\Domino\data\admin4.nsf Media Recovery Utility for Lotus Domino 5.0 or above Running media recovery ... Restart Analysis (0 MB): 100% 02/12/2003 14:42:15 Recovery Manager: Restart Recovery complete. (0/0 databases needed full/partial recovery) Media Recovery Replay (122 MB): 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 02/12/2003 14:42:17 Recovery Manager: Media Recovery complete for C:\Lotus\Domino\data\admin4.nsf, last update applied 01/12/2003 00:02:42. Backup file C:\Lotus\Domino\data\admin4.nsf recovered. C:\Lotus\Domino> d. All content of the database are now rolled forward to the last committed transaction found in the last archived transaction log. vii. Restart Lotus Domino Server How to backup Lotus Domino / Notes database(s) / file(s) on Linux Please make sure that the user running OBM have sufficient privileges to read and write to the “notesenv” file located in the “bin” subdirectory of where OBM is installed. This file is used by OBM to store the location of the domino/notes application executables. e.g. use chmod to set read, write & execute permissions # cd $OBM_HOME/bin # chmod 777 notesenv Please follow the instructions below to backup your Lotus Domino server / Notes client databases / files using OBM. i. Open OBM by typing the following in a terminal # cd $OBM_HOME # ./bin/BackupManager.sh ii. Create a backup set a. From the Menu, Choose [Backup Set] -> [New] -> [Lotus Backup Set]
b. Enter a name for your backup set
c. Select the location of the “note.ini” file. The default path for this will be in the /local/notesdata folder.
e. Enter a temporary location to store the backup files before they are sent to an Offsite Backup Server. Please make sure that the user running the online backup manager have sufficient privileges to read and write to this location and sufficient space is available. f. Set the backup schedule for Database Backup
g. Set the backup schedule for Transaction Log Backup (for Domino server only) (Note: You can have more than one schedule in a backup set, i.e. you can perform intra-day transaction log backup by adding more than one daily transaction log backup schedule to your backup set) h. Set the encryption algorithm, encryption mode and encrypting key for this backup set
(Hint: For maximum security, please select AES (Advanced Encryption Standard) Algorithm, CBC (Cipher Block Chaining) mode and use an encrypting key with more than 8 characters.) iii. Run Backup a. Select the backup set you want to run on the left panel and press the [Start Backup] button (►) b. Select the backup type (e.g. Database, Transaction Log) you would like to perform (for Domino server only)
c. Select [Off-site Backup Server] to start backing up your files to an Offsite Backup Server.
d. You should get something similar to the screen shot below.
How to restore Lotus Domino / Notes database(s) / file(s) on Linux Please follow the instructions below to restore Lotus Domino server / Notes client database(s) / file(s) from an Offsite Backup Server. i. Install Lotus Domino server / Notes client back to its original folder (if required) ii. Install the online backup manager Please refer to the [Installation] section for information on how to install the online backup manager onto your computer. iii. Shutdown Lotus Domino Server iv. If you want to perform a full domino restore (restore all databases and files): a. Download the backup files to be restored from the Offsite Backup Server and save them back to its original location. It includes notes.ini, all backup files from the lotus domino data directory and all archived transaction logs. If you encounter any access problems, please try restoring using the “root” user. b. Make sure that the owner and group permissions of the restored files are the notes user For example: # chown –R notes:notes /local/notesdata This will assign the owner and group to all files and directories within /local/notesdata. c. Modify the “DominoRecover.sh” located under the bin directory of the OBM installation to reflect your setup. You need to specify the data directory and the lotus executable directory. For example change the DATA_DIR and LOTUS tags to: DATA_DIR=/local/notesdata LOTUS=/opt/ibm/lotus d. Make sure the current user is the notes user before running the “DominoRecover.sh”. e. Run “DominoRecover.sh” and press ‘Y’ to continue. For example: #./usr/local/obm/bin/DominoRecover.sh This will run media recovery for all databases (*.nsf and mail.box) found under the Lotus data directory (e.g. /local/notesdata). You should see something similar to the screen below. Media Recovery Example bash-3.00$ cd /usr/local/obm/binbash-3.00$ ./DominoRecover.shMedia Recovery Utility for Lotus Domino 5.0 or above Please make sure that you have done the following: 1. Reinstall Lotus Domino on this computer in the same directory 2. Restore Notes.ini to the Lotus Domino installation directory (e.g. /local/notesdata) 3. Restore Domino Data directory back to the directory defined in Notes.ini (e.g. /local/notesdata) 4. Restore all archived transaction logs to the directory defined in Notes.ini (e.g. /local/notesdata/logdir) Continue ? (Y) or (N) y Running media recovery ... directory /local/notesdata// already exists Please wait, creating new transaction logs in directory: /local/notesdata/logdir/ 02/01/2007 11:38:43 AM Recovery Manager: Restart Recovery complete. (0/0 databases needed full/partial recovery) 02/01/2007 11:38:45 AM Recovery Manager: Assigning new DBIID for /local/notesdata/names.nsf (need new backup for media recovery). Media Recovery Replay (0 MB): 100% 02/01/2007 11:38:45 AM Recovery Manager: Media Recovery complete for /local/notesdata/dfc/dfc100.nsf, last update applied . Backup file /local/notesdata/dfc/dfc100.nsf recovered. Media Recovery Replay (0 MB): 100% 02/01/2007 11:38:46 AM Recovery Manager: Media Recovery complete for /local/notesdata/help/decsdoc.nsf, last update applied . … Backup file /local/notesdata/iNotes/help70_iwa_en.nsf recovered. Media Recovery Replay (0 MB): 100% 02/01/2007 11:38:50 AM Recovery Manager: Media Recovery complete for /local/notesdata/mail/notes.nsf, last update applied . Backup file /local/notesdata/mail/notes.nsf recovered. bash-3.00$ f. All content of all database(s) are now rolled forward to the last committed transaction found in the last archived transaction log. g. Restart Lotus Domino server v. If you just want to restore a single database: a. Download the database file to be restored from the Offsite Backup Server and save them back to its original location. b. (optional) If you need to perform media recovery on this database, please download all archived transaction logs and save them back to its original location c. Modify the “DominoRecover.sh” located under the bin directory of the OBM installation to reflect your setup. For example we will recover the “admin4.nsf” and have restored the file to /restore/local/notesdata, change the tags to: DATA_DIR=/local/notesdata LOTUS=/opt/ibm/lotus INPUTFILE=/restore/local/notesdata/admin4.nsf RESTOREDB=/local/notesdata/admin4.nsf RECDATE=02/01/2007 RECTIME=22:41 d. Make sure the current user is the notes user before running the “DominoRecover.sh”. e. Run “DominoRecover.sh”. You should see something similar to the screen below. Media Recovery Example: bash-3.00$ cd /usr/local/obm/binbash-3.00$ ./DominoRecover.shMedia Recovery Utility for Lotus Domino 5.0 or above directory /local/notesdata// already exists Recovering backup file ... Restart Analysis (0 MB): 100% 02/01/2007 03:35:56 PM Recovery Manager: Restart Recovery complete. (0/0 databa ses needed full/partial recovery) Media Recovery Replay (1 MB): 30% 50% 80% 100% 02/01/2007 03:35:57 PM Recovery Manager: Media Recovery complete for /local/res tore/local/notesdata/admin4.nsf, last update applied . Backup file /local/restore/local/notesdata/admin4.nsf recovered. Taking database /local/notesdata/admin4.nsf offline ... Restoring database /local/notesdata/admin4.nsf from recovered backup file /local/restore/local/notesdata/admin4.nsf ... Database file /local/notesdata/admin4.nsf restored from /local/restore/local/not esdata/admin4.nsf Bringing database /local/notesdata/admin4.nsf online ... Program completed successfully. bash-3.00$ f. All content of the database are now rolled forward to the last committed transaction found in the last archived transaction log. vi. Restart Lotus Domino Server
Online Backup for: |
|
© 2006 PerfectBackup
|
|