Can be a solution, but you are forced to leave http(s) service active or enable/disable for use that function.
(Obviously you can use external website and "solve" this "problem")
This is better, also contain corrections on coding...:
{
/system
:local name [identity get name]
:local date [clock get date]
:local day [:pick $date 4 6]
:local month [:pick $date 0 3]
:local folderName "/backup"
:local backupName "$folderName/$name_$day-$month_log"
:put $backupName
/ip smb shares
:local temp [get [find default=yes] directory]
set [find default=yes] directory=$folderName
set [find default=yes] directory=$temp
/system backup save name="$backupName"
}