Try this Backup_SP. Replace the IP-address and share-name in the procedure with actual IP address of the network share. Schedule it to run daily and what you find is a full backup of the main database everyday with day-of-week tag. The same procedure can be used without any change on different servers like dev, staging, production etc. to get dumps of all the databases on shared drives. This procedure automatically overwrites the dumps every week.
Author: Ravinder Kumar
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…
Back to Database Journal Home