• I would like to include the script of it to a build process instead of a SQL job.

    Is there a way that I can have the backup- copy-restore inside a sqlcmd sql file not including the code for job steps?

    Thanks,