3. Participated in a hands-on workshop on Sunday
4. Learned something new
5. Had a 1:1 meeting with an InterSystems expert
6. Attended at least one Tech Exchange Demo
8. Took a free certification exam
9. Spun the Wheel of Fortune at Developer Community booth
10. Attended Keynotes and afternoon sessions
11. Met someone new / made a new connection
12. Met a fellow Developer Community Member

For sure Dmitriy, now i' am using windows, but probably i will use on Redhat too. but as i know, there is no way i can use only ".CSP" termination. Studio verify the name, i can't create the same file with this variation, for example:

i can't create a file "teste.CSP" and "Teste.csp", Studio validate this information and don't let me create the file. but i don't have a way to force the usage of ".CSP" type.

Hi Danillo, 

we use a similar mode to do it, 

first, you have to stop caché or Freeze it,

you can create a script to start it and add it on crontab:


su "user" -c 'csession CACHE -U %SYS "##Class(Backup.General).ExternalFreeze("","","","","",,7200,"","")"'


Then you have a list of databases you have to copy, or execute a snapshot.

in the end of the script, you have to do the ExternalThaw():


su "user" -c 'csession CACHE -U %SYS "##Class(Backup.General).ExternalThaw"'


you can verify the Status, like This:


status=$?

if [ $status -eq 5 ]; then
    echo "SUCCESS: System Resumed"
    exit 0
elif [ $status -eq 3 ]; then
    echo "ERROR: System is not Resumed"
    exit $status
fi

echo "ERROR: System is not Resumed"
exit $status