Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How do you deal with Sql Service Pack Upgrades....? Expand / Collapse
Author
Message
Posted Monday, June 17, 2013 10:40 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Monday, November 10, 2014 2:04 PM
Points: 865, Visits: 874
Years ago we installed a sql server service pack on a non-clustered server and the results were usually fine. Now they want a fallback plan in case the service pack install fails. This is a good idea but I'm not sure what comprises a good fallback plan for sql. (Uninstall the service pack -- never done that before. We can start by backing up all databases but restoring them, including the system databases, will be time consuming. Maybe we should image the entire server to trim the restoration time.)

Any thoughts you have on this matter will be appreciated.

TIA,

Barkingdog


P.S. I presume a sql service pack can possibly update\modify both system and user databases.




Post #1464452
Posted Tuesday, June 18, 2013 5:31 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 3:48 AM
Points: 1,380, Visits: 2,705
As far as I know - as of 2005 a service pack cannot be uninstalled - I might be wrong here.

If possible, backup the entire image of the server before the service pack installation.

My usual steps are, besides the above:

Make sure all DB's have current backups
Backup system databases
Stop SQL Services and copy out the system DB's
Post #1464584
Posted Tuesday, June 18, 2013 3:03 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Yesterday @ 9:29 AM
Points: 54, Visits: 703
If this is a VM you could take a snapshot before the SP install. If it goes south recovery is easy just don't delete the snapshot until your sure the SP is good.

If not then you need good backups (I usually stop SQL and make a copy of the system DB's as an extra backout option as copy/paste is easier than restoring the system DB's). If issues then uninstall SQL, re-install to the same location, service pack to the same level before the update, stop sql services and copy the system containers back, start SQL!! Or you can re-install and service pack, start SQL in single user mode and restore system DB's then start sql normally and attach user DB's.
Post #1464883
Posted Tuesday, June 18, 2013 7:59 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Monday, November 10, 2014 2:04 PM
Points: 865, Visits: 874
DeWayne_McCallie,

>>>>I usually stop SQL and make a copy of the system DB's as an extra backout option as copy/paste is easier than restoring the system DB's

Ha! I didn't think of that very sensible item. I will do that from now on.

Thanks,

Barkingdog



Post #1464933
Posted Wednesday, June 19, 2013 1:13 AM
Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Monday, November 24, 2014 3:46 AM
Points: 709, Visits: 1,442
If it is 2008+ you can uninstall using Programs and Features just like a hotfix uninstall. If it is 2005- you will need to uninstall/reinstall.

Backups of system/user databases are required in both scenarios though.

Uninstalling a SQL Server Service Pack


Joie Andrew
"Since 1982"
Post #1464971
Posted Monday, June 24, 2013 3:16 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 2:10 PM
Points: 889, Visits: 2,460
If you really want a good fallback plan, the gold standard is a drive image; whether that's a vRanger backup of a VMWare VM, or a Paragon/Acronis TrueImage/DD/Clonezilla/Norton Ghost image of a physical box, or even a Parted Magic copy of a partition, it's a way of doing a bare-metal restore to exactly the state you were in prior to the image.

Note that for the commercial options, it's usually several hundred dollars per Server OS.
Post #1466925
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse