...
1) Backup the DAM Database on Production & the destination Database (For Azure hosted servers, copy the backup files to the production storage drivesthese are normally saved in H:\SQLBackups) this will mitigate the need to transfer/copy the backup files to the Test server later in the process.
2) Stop Digibatch, digimonitor,website + application pools
4) Delete the logfiles for Digibatch, Digimonitor and websites (Optional)
5) Copy the .bak file to the database you want to overwrite. (Only for non azure hosted servers)
6) restore the databases
6b) Check the ownership of the databases (dam and dam_jobs). It should be an SA user.
...