Restoring Databases with SCOS

Posted on 2004-11-22
Last Modified: 2013-12-18

I am rather new to dealing with Domino servers but need to know if there are any differences in performing a restore of a Lotus databases when SCOS (Shared Copy Object Store) was turned on during the backup period.  ArcServe was used for backup and is being used for restoration.  Any help is appreciated.  Whitepapers and links with further detail would be terrific.
Question by:bubbadatrub1emkr
    LVL 24

    Expert Comment

    There shouldn't be any difference.. When SCOS is enabled you are conserving space by sharing the data object. During restore from backup it is exactly restoring a single database which is shared by users !

    LVL 31

    Expert Comment

    Advice: dump SCOS.  Never heard of an installation where they did not regret using SCOS.

    WHen you use SCOS, the Body field is not delivered to the mail file.  Instead, it is delievered to SCOS, and a Body field pointer in the user mail file contains the ID of the SCOS document that has the body.

    SCOS corruption issues are common, as the user mail files sometimes get out of sync with the SCOS databases.  For restores, that can be especially tricky, especially if you have rebuilt SCOS since the backup you are retrieving.  Otherwise, it should work, as the user file restore will contain the same SCOS reference now as it did then, and SCOS will contain the same old Body images.

    Unless... here's an additional problem that can occur.  SCOS maintainenance includes deleting Body objects that are no longer referenced.  So, if a message is delievered to two users, the Body is delievered to SCOS, and the rest of the message is delivered to the two users with a Body reference to the corresponding SCOS document.  So, there are two exitsing references to this SCOS document.  If one of those users deletes the message, then the other user still has the reference, and there is only one reference to that SCOS document.  If the second user deletes the message, then there are no references to this SCOS document.

    SCOS maintenance checks for this situation and deletes the SCOS document as well.  If you later restore one of those users' files, the SCOS reference will be in the restored dile, but there will be no corresponding SCOS document, and the user will not be able to read that message.  The command that does this maintenance is LOAD OBJECT COLLECT.  I am not aware of any way to restore the SCOS document.

    Author Comment

    I should have clarified before.  We are restoring some data for a client who used SCOS temporarily in the past.  Certain tapes have shared mail databases that we will need to pull data from.  

    Will restoring the individual NSF file also pull the emails/attachments from the shared mail database?  
    LVL 31

    Expert Comment

    If the user file you are trying to restore was linked to SCOS at the time of backup, then yu will need to restore both the user file and all SCOS files from that period, and you must restore them (user and all SCOS files) to the same file path locations as they were in originally.

    Natuarlly, if you are doing this on a production server, that may be difficult.

    Author Comment

    Thank you for your help qwaletee, you're getting me almost there.  I have been looking all day for a whitepaper which fully describes this scenario and the variations that can be made, however I have been unsuccessful in finding online assistance, except for EE.  I hate to continue with the questoins, but do I need to configure a server identical to the server the nsf was on previously?  What needs to be done to push the appropriate attachments and emails to an individuals NSF for restoration?  How can I verify that all emails and attachments have been placed into their corresponding NSF?

    Thanks again for your answers!  If there is a good source of online documentation that I can look at instead that will be just as helpful!
    LVL 31

    Accepted Solution

    It does not have to be idnetical, but it would be best if you just did it on a test server, and cpied all "then current" SCOS files to the same location, plus the user file to the same location.

    I shoudl note that the "official" way according to Lotus is to replicate in the retsored SCOS file to the current server.  But I've always suspected that it is likely to cause MORE problems, as anyone can tell who has seen replication go bonkers when replicating between two files that have long histories, but never replicated before!

    I don't know of any good source of online documentation.  You can find a lot of comments about SCOS on, usually complaints.  How can you etll if all data has come back?  I don't really know.  I believe the attachment INDICATOR is independent of SCOS, so you could try just building a view that says SELECT @Attachments, then seeing if any give you errors.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now