Another revision. SQL version checking (will only run on SQL 2000, 2005), better logging, additional options.
Set Database name to:
ALLSYS = backs up master, model, msdb
ALLUSER = backs up all (online) user databases (excludes master, model, msdb, tempdb)
ALLDATABASES = backs up all (online) databases (excludes tempdb)
or just specify an individual database name.
MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare