Database Backup Using Batch File, exe … Let us see how a DBA can automate their task about Backup and Restore using SQLCMD.