Back up all databases in a SQL Server instance

Here is one of my favorite time saving scripts, that I wanted to pass on. This script will back up all databases, except for the system databases. I did not write this script. The author is Greg Robidoux and the original link is https://www.mssqltips.com/sqlservertip/1070/simple-script-to-backup-all-sql-server-databases/ —beginning of script—– DECLARE @name VARCHAR(50)