When executing a script which includes the GUI job ID in query analyzer, the error 'Msg 50002, Level 19, State 1, Line 0 SLSCmdLine ' returns.
exec master.dbo.xp_backup_database
@database = 'works',
@GUID = '2A9D24FA-CC8C-4F28-8695-8AA36C9E30FA',
@init = 1,
@filename = 'J:\Backup\WorksBackup1.BAK',
@backupname = 'Works: Full LiteSpeed Backup',
@desc = 'Works Full Backup ',
@job = 'jobinfoD83FCB2C-6FB7-4309-8722-580A7463D455',
@logging = 0,
@GUID and @job are parameters from the GUI. They are not required when script is run in query analyzer. The job ID is created when the Maintenance Plan is created in LiteSpeed.
Comment out or delete @GUID and @job when executing the script in Query Analyzer.
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy