Best practice to backup CACHE DATABASE residing on a VM
ALL,
I have a requirement to STOP the CACHE DB ,take a snapshot using NBU VMWARE policy type and backup the data from snapshot and START the CACHE DB once the snapshot is taken.
Since i am using VMWARE policy type i cannot use the bpstart & bpend scripts to start and stop the CACHE DB as there is no NBU software on the client to place these scripts.
Master,Media and client are on NBU 7.7.3 version
Is there a way this could be achieved while i could still leverage the VMWARE policy type.
Assuming we are talking about a vm hosted on vmware, you can use a pre freeze and post thaw script to control cache.
More info on this can be found on:
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006671If this is the same type of caché database we are talking about, you can use the following commands to let caché know you will freeze and thaw:
cache -s. -U%%SYS ##Class(Backup.General).ExternalFreeze()
cache -s. -U%SYS ##Class(Backup.General).ExternalThaw()

