September 28, 2008, 9:42 PM — A couple of months ago we upgraded our Lotus Domino server to the latest code from IBM. We're running Domino 8 on Linux. Weâ€™ve been running on Red Hat Linux for nearly four years now and itâ€™s been a good move. Weâ€™ve even survived hardware failure twice in the last three years thanks to good backups. We began with Red Hat 2.1 Enterprise and now weâ€™ve moved to Red Hat Enterprise 5. The in-place upgrade of the OS took a little over an hour and the upgrade of the Domino code was accomplished in much less time than that. We used a DVD of Red Hat 5 that came from and ISO downloaded from Red Hat
For the last couple of years Iâ€™d been backing up the server using a script that downed the server while the Notes Data directory was backed up with â€œtarâ€ and then â€œgzipped.â€ The tar.gz file was then copied to another directory on the server and then using another script was â€œrsyncedâ€ to another Linux server. We had been keeping day stamped backup files and they were taking up space on that server. This year, following the upgrade, I wanted to change that and following some research Iâ€™ve been able to do just that. On Monday-Friday each week our Domino Server is shutdown for about a half hour while the Notes data directory is backed up. Iâ€™ve also changed the script so that the date is appended to each tar file. This tar.gz file is then copied to a backup directory and then after rsync has safely moved it to another Linux server, it is deleted. This move has reclaimed nearly 45 gigabytes of disk space on our Domino server.
My backup server is a Ubuntu 7.04 server which also functions as our intranet web server and itâ€™s got plenty of disk space. Iâ€™ve decided that I wanted to keep two weeks of backups and so Iâ€™m using yet another script which has been added to cron.daily. This script uses the â€œfindâ€ â€œmtimeâ€, â€œexecâ€ and â€œrmâ€ to remove files older than 14 days. This has been a good solution and one that just works. Itâ€™s one of the reasons I love Linux and open source.