This SP will dump all databases except pubs and tempdb to a tapedevice, regardless of how the tapedevice is named; the SP determines the name of the device. It also checks for the existence of a tapedevice and checks if multiple tapedevices are attached. The tape will be erased when dumping the first database, but only of retaindays > 1. You can easily modify this if you like. To dump all databases to a tape simply enter “sp_dump_userdb” or schedule this with SQLexecutive.

For SQL Server 6.5

Author: Wilfred van Dijk

Download Script:

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…

Disclaimer Continued

Back to Database Journal Home

Latest Articles