question on ExternalFreeze on windows platform --
All responses are appreciated. I am new to both scripting and CACHE so please bear with me. I am setting up a nightly backup script for freezing cache then backing it up and then thawing it back out. Currently when I enter the freeze command I am getting a response of access denied even though my id has %all access. I've tried passing the userid/password as a parameter in the externalfreeze command and passing it from a file. I've used my id and lastly I used the _system id in the file. What ID should I use for this or am I passing it wrong?
sample 1: ..\bin\cache -s. -u%%sys ##class(backup.General).externalfreeze() <c:\temp\login.scr
sample 2: ..\bin\cache -s. -u%%sys ##class(backup.General).externalfreeze(username="?????",password="???????")