Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

DatabaseBackup

$
0
0

On SQL Server 2012 Version

I was trying to create a package to perform regular backup and archive of databases on my server.  I have created a table to store selected list of databases to be backed up, however I see that the backup database task is providing the drop down list to select the db.  Is there anyway to parameterized the db list?

Because I want to have control in table to decide which db to backup etc.  I have created object variable to hold the list of dbs using esql task, and defined couple of variables to catch these values in for each loop

I want to run backup of only those dbs which I list in the table (or flag with yes or no from db table)

 


Neil




Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>