File Manager for Lotus Notes

February 23 2006 06:00:00 AM Add/Read Comments [10]
Since today is Show-N-Tell Thursday, and I have not blogged yet this week (sorry, working on stuff!) I figured I'd share a tool I wrote a while back with everyone.   It is called File Manager For Lotus Notes, and I've posted it on OpenNTF.  I originally designed this tool many years ago when I was an administrator and wanted to keep track of all the mail files across our many server.  However, I find this tool can be handy for users as well.  For example you can keep track of the Notes databases and templates on your own computer, running a report once a week/month allowing you to keep track of how various databases sizes are changing.

When you open the database you will see that the screen is divided into two sections.   The top section contains the documents with the lists of your files.  The bottom section contains any reports that you have created about these file.

Image:File Manager for Lotus Notes

To create a new document, click on the "New File Listing" action button on the top left of the screen.    This composes a new document where you:
- Enter a title for the document:  I use names like "My local databases", or "All mail files on server MAIL01".
- Enter the server name or leave it blank for local.
- Enter a specific path name to search, or leave it blank for all.
- Choose Databases (NSFs), Templates (NTFs), or both.

Next click the button "Press here to list files".   After the results are returned you can then click on the up or down arrows to sort either by title, path, or size.

Image:File Manager for Lotus Notes

After creating the File Manager documents, you can select one or more of them and click on the "Create Report" action button.   These provides you the option to create four different report types:  Largest Databases, All over a certain size, # of databases in a certain range, or just a summary of the database information.

Image:File Manager for Lotus Notes

Finally, this tools has an additional feature which allows you to compare two lists of databases.   As shown below, you can enter the name of two servers, the paths, and what type of files you want to compare.   For example, say you have MailServerA and MailServerB clustered and you want to make sure all the files in the mail\ directory are on both servers.   Simply enter the two server names, "mail" for the path, and click the buttons for "Directory Listing A" and "Directory Listing B".  Then click "What doesn't List B have" and "What doesn't list A have", and viola, you now know which file you need to add/remove from each server.

Image:File Manager for Lotus Notes

So to all you Administrators out there, I hope this tool helps you keep track of the files on your servers!  Play around with the reports, you'll see there are of great benefit, especially when you generate reports on multiple servers.   To all you users, download the tool, give it a try, and it might help keep you more organized, and at a minimum show you how many databases you have on your local computer.

BTW, suggestions for improvement are always welcome!

Alan
  1. Chris Whisonant
    1 | 2/23/2006 12:08:52 PM

    This is nice.... I'm testing it out now. I use your paste application all the time and have even put it on my server and have my other admins using it. It's a big time saver for me.

    Thanks!

  2. Thomas Adrian
    2 | 2/23/2006 12:46:28 PM

    Great tool Alan.

    I made a Visual Basic tool a few years ago which is lika a filemanager for databases as well. try it out !

    { Link }

    Thomas Adrian

    { Link }

  3. Ashok
    3 | 2/23/2006 1:12:19 PM

    Nice tool. I had pointed out this tool on openntf.org to one of our notes administrator and he found it to be quite useful.

    Thanks.

    Ashok

  4. Maurizio
    4 | 2/24/2006 12:29:08 PM

    I tried to run this against either my pc and one of our server

    It collect the data correctly, but when I try to do a report, I obtain the error in subject.

    What I did wrong?

  5. Rich Thomsen
    5 | 2/24/2006 1:58:29 PM

    This would be very useful for me, and I can run it on small groups of files by limiting the path. However if I try to run it for all mail files (desired), the titles and path is lost; all I have is the size and it can't create a report from the info. I have about 2300 mail files I am scanning.

  6. Alan Lepofsky
    6 | 2/25/2006 9:33:56 AM

    Hi Rich, can you run it with the LotusScript debugger on, and try and see on what number of files it fails? (I'd use a break point on each new file, or it would take a long time to step through!) The titles, path, and size are different fields, so I don't understand why it would list only one of them and not the other two.

  7. Rich Thomsen
    7 | 2/27/2006 8:41:50 AM

    Sure I'll try to do this later this week.

    I suspect the field is filling up with too much data...

    RT

  8. Maria Helm
    8 | 3/1/2006 10:22:52 AM

    The report for "All databases over x MBs" doesn't seem to be listing all the databases for me. If I choose "over 150MB", I get only 9 databases in the report.

    My original file listing, when sorted descending, shows:

    486,014,976

    357,491,200

    326,180,096

    303,443,968

    227,551,744

    208,031,232

    195,936,512

    188,279,296

    185,823,232

    185,212,928

    178,782,208

    174,657,536

    173,706,496

    168,927,232

    165,029,632

    162,791,424

    159,498,240

    158,126,080

    157,027,840

    156,894,976

    156,770,304

    156,237,824

    156,221,440

    156,006,656

    155,742,208

    155,347,200

    153,190,144

    153,097,216

    152,633,600

    151,519,232

    The report lists 9 databases with sizes:

    486,014,976

    326,180,096

    227,551,744

    195,936,512

    185,823,232

    178,782,208

    173,706,496

    165,029,632

    159,498,240

    So, it appears it is skipping, and only listing every other database over the size chosen. The "skipping" is also showing up if I choose "over 200" or the default of "over 50"MB. Client I'm running this from is R6.5.2 .

  9. Alan Lepofsky
    9 | 3/1/2006 1:44:40 PM

    Thanks... I see this happening as well. I will take a look at the code as soon as I can.

  10. N3v3r3v3r
    10 | 4/21/2008 2:49:08 AM

    Very useful tool :). I have a little knowledge of louts notes script. I would like to get display mail file's OU as well. Is that possible?