Our performance and test environment is set on full recovery mode, after every test the database logs where growing outoff control. But not any more.The script will set the database to single user, backup the transaction log ( " optional step") and finaly shrik the log file to 1 mb.