This procedure backs up all user or all system DBs. It does a full / diff or log backup. It was tested on SQL 2000 & 2008.
After backing up it tests full backups (performs a test restore).
You can log actions to a temp table with the @log param.
Other params are explained in the code.