AlexSQLForums - Monday, February 12, 2018 2:11 PM
Sure. This is the command I'm using. Do you need more detail than this?
sqlcmd -E -S $(ESCAPE_SQUOTE(SRVR)) -d DBA_Utils -Q "EXECUTE [dbo].[DatabaseBackup] @databases = 'USER_DATABASES', @Directory = N'F:\SQLBackups', @BackupType = 'DIFF', @Verify = 'Y', @CleanupTime = 360, @checksum = 'Y', @LogToTable = 'Y'" -b
Mike Scalise, PMP
https://www.michaelscalise.com