Linux Mint - Free and powerful

Wednesday, 9 May 2012

Backup Domino using rsync but exclude directories

The magic of Rsync.

Upgrading Domino is easy but sometimes the process goes wrong.

When it does how do you recover?

The best method on any platform is to make a copy of the program directories and exclude the user directories such as mail. In Linux you can use the following:



rsync -avz --exclude-from 'exclude-list.txt' source/ destination/

create a file called exclude-list.txt in the working directory.
gedit exclude-list.txt &
mail
DBJRN12
*.nsfbig
*.suspect
IBM_TECHNICAL_SUPPORT

then issue the command:


rsync -avz --exclude-from 'exclude-list.txt' /notesrv/notes1/ /notesrv/notes1bck/

This will now copy the contents to a backup directory.

Do not forget the /opt directories.

rsync -avz  /opt/ibm/lotus/ /opt/ibm/lotusbckp/

The upgrade never fails so no need to tell you how to restore :-)

0 comments :

Post a Comment

Thank you for taking the time to comment. Your opinion is important and of value and we appreciate the positive feedback! If you are "Negative Nancy" then please do us, and humanity, a favor, and piss off.

Total Pageviews

Google+ Followers

Pages

Blog Archive

Popular Posts

Recent Comments

Rays Twitter feed

Ads

Web sites come and go and information is lost and therefore some pages are archived. @rayd123. Powered by Blogger.