Procedure accepts 4 parameters, @databasename is mandatory.
In case you have multiple instances, change the 2nd parameter.
If you change @debug to 1, generated commands are displayed, not executed
if you change @verbose = 0, no output is generated
Snapshot is located on default datapath.
Make sure this procedure works correctly, use it in a test environment first. Also, use the @debug=1 parameter to test the generated SQL code.