This article contains a script that will automatically backup one database and restore it to another, it can be automated