Created
February 4, 2012 12:46
-
-
Save jfthuong/1737641 to your computer and use it in GitHub Desktop.
Batch script to backup Lotus Notes data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM !IMPORTANT: May not work with Lotus Notes 8.5.x on Windows 7! | |
@echo off | |
c: | |
cd \ | |
mkdir Backup_notes\data | |
cd Program Files | |
cd IBM | |
cd lotus/notes | |
@echo on | |
copy notes.ini c:\Backup_notes | |
@echo Backup notes preferences = notes.ini | |
@cd data | |
copy bookmark.nsf c:\Backup_notes\data | |
@echo Backup Bookmarks = bookmark.nsf | |
copy desktop6.ndk c:\Backup_notes\data | |
@echo Backup Workspace = desktop6.ndk | |
copy names.nsf c:\Backup_notes\data | |
@echo Backup AddressBook + Location and Connection = names.nsf | |
copy *.id c:\Backup_notes\data | |
@del c:\Backup_notes\data\cert.id | |
@echo Backup Lotus ID files (except cert.id that is deleted) | |
@echo off | |
echo. | |
echo ------------------------------------------------------------------- | |
echo ------------------------------------------------------------------- | |
echo ----------- LOTUS HAS BEEN BACKUPED in C:/Backup_notes ----------- | |
echo ------------------------------------------------------------------- | |
echo ---CAREFUL: if your ID file is not in IBM/lotus/notes/data--------- | |
echo --- Don't forget to backup your id file for Lotus Notes! --------- | |
echo ------------------------------------------------------------------- | |
echo ------------------------------------------------------------------- | |
echo. | |
pause | |
exit | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script assumes notes is installed within "C:\Program Files" I have found notes installed in many different locations, even if only talking about version 8.5.2