Archives: April 2009
Suggested Reading: Microsoft SQL Server 2008 Administration with Windows PowerShell
Suggested Reading: Microsoft SQL Server 2008 Administration with Windows PowerShell
My earliest forays into writing powershell for SQL Server found me scrambling for help. I found several resources online that covered some specific topics, but I still had trouble finding what I needed.
Ultimately, I found a lot of great… Read more
2 comments, 779 reads
Posted in SQL Server Soldier :: News from the frontlines of the database wars on 30 April 2009
Behind Every Great Restore is a Great Backup
Behind Every Great Restore is a Great Backup
I showed you how to do a database backup with powershell a few days ago. Today I'll show you how to do the restore. Restores can sometimes be quite a bit more complicated than a backup. You have to account for the… Read more
1 comments, 803 reads
Posted in SQL Server Soldier :: News from the frontlines of the database wars on 22 April 2009
I Need a Backup and I Need It Now
I Need a Backup ... And I Need It Now
Have you ever wished that creating a backup on the fly was easier and quicker? Whether you do it with the GUI or with T-SQL, you still have to open up Management Studio, connect to the database, and go through… Read more
12 comments, 1,124 reads
Posted in SQL Server Soldier :: News from the frontlines of the database wars on 18 April 2009
What's my (fully qualified domain) name?
What's my name?
Fully qualified domain name that is. One of the little gotchas I encountered when rewriting my database mirroring automation scripts in powershell was that there is no simple way to get the SQL Server's fully qualified domain name. I didn't want to resort to opening a connection… Read more
2 comments, 1,731 reads
Posted in SQL Server Soldier :: News from the frontlines of the database wars on 11 April 2009
My Kingdom for a Port
A Port, a Port! My Kingdom for a Port!!
One of the steps in setting up database mirroring is to assign a port to the endpoint. It's common practice to simply give it port 5022, but what if that port is already being used? The endpoint creation doesn't verify the… Read more
2 comments, 393 reads
Posted in SQL Server Soldier :: News from the frontlines of the database wars on 9 April 2009



Subscribe to this blog