Sub AutoBackup()
Dim FolderPath As String
Dim FileName As String
Dim Interval As Integer
FolderPath = "D:\data\"
FileName = ThisWorkbook.Name
ThisWorkbook.SaveCopyAs FolderPath & FileName & "_" & Format(Now(), "yyyy-mm-dd_hh-mm-ss") & ".xlsm"
Interval = 10 * 60
Application.OnTime Now + TimeValue("00:00:" & Interval), "AutoBackup"
End Sub