Intersystems Cache DB

Last post 02-12-2018, 11:00 AM by lfisher. 3 replies.
Sort Posts: Previous Next
  • Intersystems Cache DB
    Posted: 02-09-2018, 12:17 PM

    Im trying to find out the best method to freeze and thaw a cache DB during intellesnap. Does anyone do this? Mind assisting?

  • Re: Intersystems Cache DB
    Posted: 02-09-2018, 12:54 PM

    Hi mmagbee,

    Intersystems has documentation on how to create batch files which can be triggered by external backup tools to place the DB in a desired state:

    http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCDI_backup

    If you have questions we can do our best to support you.

  • Re: Intersystems Cache DB
    Posted: 02-09-2018, 1:53 PM
    • efg is not online. Last active: 05-23-2018, 8:48 AM efg
    • Top 10 Contributor
    • Joined on 02-02-2010
    • CommVault Tinton Falls NJ
    • Expert
    • Points 1,452

    You can use the pre-post scripts feature for the Intellisnap backup.  The File system iDA has a place holder for pre and post snap processing, so you can use that to place the scripts that freeze and thaw the DB.  Here is a link to the documentation for pre and post scripts:

    Configuring Pre-processing and Post-processing for Backups

     


    Ernst F. Graeler
    Product Specialist
    Applications and File Systems
  • Re: Intersystems Cache DB
    Posted: 02-12-2018, 11:00 AM

    Hi mmagbee,

    As noted here, pre/post scripts is currently the best way to do this in Intellisnap.

    If you are looking for the actual Cache DB commands to put in such a script, depending on the method you use, there are some examples here:

    http://docs.intersystems.com/latest/csp/docbook/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25sys&CLASSNAME=Backup.General

    Pay attention to the ExternalFreeze() arguments as you may want to adjust for your environment.  You may also want to check that the freeze or thaw worked by running a query on the Write Daemon.  That should return a 1 if it is Frozen, and 0 if Thaw.  An example of that:

    csession <instancename>

    zn "%SYS"

    set status=##class(Backup.General).ExternalFreeze()

    write status

    1

    set status=##class(Backup.General).IsWDSuspended()

    write status

    1

    halt

     

     

    csession <instancename>

    zn "%SYS"

    set status=##class(Backup.General).ExternalThaw()

    write status

    1

    set status=##class(Backup.General).IsWDSuspended()

    write status

    0

    halt

     

     

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2018 Commvault | All Rights Reserved. | Legal | Privacy Policy