Viewing 15 posts - 16 through 30 (of 75 total)
Here is the code that I use to get failed backups. You may be able to use it:
CLEAR
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | out-null
# Initialize Arrays
$InstanceList = @()
$NoBackups = @()
# Don't check...
July 27, 2016 at 11:08 am
Thanks all, for the responses. I think we are starting to stray from my original questions, into general DR. We are trying to understand how we can, or if...
June 3, 2016 at 11:00 am
and the light bulb goes on. Yes, Steve, you are correct, we are testing our production systems. If we were truly DR, then the Always On is actually a good...
June 2, 2016 at 6:39 am
There are lots of solutions, but other than the SAN replication, we haven't really found a better solution.
We use log shipping for a couple of databases for DR purposes,...
June 1, 2016 at 2:06 pm
Thanks for the response. I do in fact appreciate it. I wanted to get a conversation going, to see how others are using Always On, and how they use...
June 1, 2016 at 1:30 pm
SQL Agents are per instance, as Steve has said, however, they fail over with the instance, as long as it's in the same cluster group as the instance.
Leonard
June 1, 2016 at 8:51 am
Thanks Joie.
Yes, I had already read those links, and unfortunately, they didn't answer my questions.
I will keep digging, or maybe just try it and see what happens.
Leonard
May 31, 2016 at 11:26 am
My suggestion would be to use Ola Hallengrens scripts. You can find it here, https://ola.hallengren.com
Leonard
January 21, 2016 at 9:46 am
Straight to html, you can use something like this, combined with the code I previously posted.
# Use this for reporting, if not emailing
$InstanceVersList | Select @{Name='Instance Name';Expression={$_.InstanceName}}, @{Name='Server Name';Expression={$_.ServerName}},...
August 4, 2015 at 3:24 pm
Hi,
As for where the details should be stored, that is up to you. I typically run my reports from a SQL Server instance, so I use a table that has...
May 31, 2015 at 8:24 am
As has been stated before, you should probably set up a backup job, on each server, using regular t-sql. No need to do the backups from a singular location. ...
May 28, 2015 at 12:37 pm
I have some code that may be useful. To get your instance list, db names, etc, you can do something like this. I have cleaned up the code a...
May 28, 2015 at 12:26 pm
I found it my issue. It seems the trigger generated thousands of emails, that ended up in my SQL unsent email table, and SQL was sending those. so even after...
January 30, 2015 at 7:48 am
Just my 2 cents, and it has been a while since I attempted to use a synonym. Thought it would be useful, created some for test, then tried to...
September 12, 2014 at 1:48 pm
Viewing 15 posts - 16 through 30 (of 75 total)