- Install the SQL CMD Utility tool https://learn.microsoft.com/en-us/sql/tools/sqlcmd-utility?view=sql-server-ver16
- CD to the SQLCMD Bin file
- Use the following command to backup the database
SqlCmd -E -S SERVERNAME –Q "BACKUP DATABASE [NAMEOFTHEDATABSE] TO DISK='\\MyDestination\Path\Databases[NAMEOFTHEDATABSE].bak'"