• There is a script here http://www.sqlservercentral.com/scripts/Administration/73478/ posted by Pavle-192195 that should do everything you need with the proper parameters. It also does an actual restore to a test DB and then drops it. If you don't want to do an actual restore I would suggest commenting out or removing that part from both the system DB and user DB parts of the script.

    Once you're sure the script works how you want just schedule job with at least 2 steps for it to execute twice (once for the system DBs and once for the user DBs) with enough time to finish before the files are moved or copied and you're good to go. Also, if the files are copied, you'll want an additional job step to remove the old files after a certain period of your choice.

    I have not tested this script so make sure you do so in a development environment prior to deploying in production.