Taming the Beast: A SharePoint Survival Guide for the Server Admin<br />Get more sleep and put out fires faster with these...
Welcome to SharePoint Saturday—The Conference<br />Thank you for being a part of the first SharePoint Saturday conference<...
3<br />Who am I?<br />Craig Trulove<br />A Senior SharePoint Infrastructure Consultant at Northridge. His role focuses lar...
4<br />Who is Northridge?<br />Northridge is one of the Southeast’s leading Microsoft Consulting firms, with a core focus ...
12+ years of delivering thought leadership and expertise around our core focus
Microsoft Gold Competencies </li></ul>Portals and Collaboration<br />Digital Marketing<br /><ul><li>Microsoft Managed Partner
Interactive and Creative Division
Headquartered in Atlanta, GA
Regional offices in Raleigh and Charlotte, NC
Fully-owned offshore operation in Buenos Aires, Argentina
WE ARE HIRING</li></li></ul><li>5<br />What are we talking about?<br />The bottom line. What do you need to know in order ...
Web Applications, Site Collections, and Webs
Lists, Libraries, and Items</li></ul>Always have an escape plan!<br /><ul><li>Recycle Bins
SharePoint UI/PowerShell Backups
SQL Backups
Offline Database Recovery</li></ul>Don’t bring a knife to a gun fight!<br /><ul><li>ULS Viewer, Get-SPLogEvent
PowerShell and PowerGUI
SharePoint Manager</li></li></ul><li>6<br />What are we talking about?<br />The bottom line. What do you need to know in o...
Web Applications, Site Collections, and Webs
Lists, Libraries, and Items</li></li></ul><li>7<br />Speak their language!<br />Worlds Greatest Slide (Courtesy of Shane Y...
8<br />What are we talking about?<br />The bottom line. What do you need to know in order to survive out in the SharePoint...
SharePoint UI/PowerShell Backups
Upcoming SlideShare
Loading in …5
×

Taming the Beast: A SharePoint Survival Guide for the Server Admin

2,023 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,023
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Farm: Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod {Full | Differential} [-Verbose]Config: Backup-SPConfigurationDatabase -Directory &lt;BackupFolder&gt; -DatabaseServer &lt;DatabaseServerName&gt; -DatabaseName &lt;DatabaseName&gt; -DatabaseCredentials &lt;WindowsPowerShellCredentialObject&gt; [-Verbose]WebApp: Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod {Full | Differential} -Item &lt;WebApplicationName&gt; [-Verbose]ServiceApp: Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod {Full | Differential} -Item &lt;ServiceApplicationName&gt; [-Verbose]Search: Backup-SPFarm -Directory &lt;Backup folder&gt; -BackupMethod {Full | Differential} -Item &lt;Search service application name&gt; [-Verbose]SecureStore:Backup-SPFarm -Directory  &lt;Backup folder&gt; -BackupMethod Full -Item &lt;Secure Store Service &gt; [-Verbose]ContentDB: Backup-SPFarm -Directory &lt;Backup folder&gt; -BackupMethod {Full | Differential} -Item &lt;Content database name&gt; [-Verbose]TrustedSolutions:Backup-SPFarm -backupmethod full -directory &lt;UNC location&gt; -item &quot;farm\\solutions“
  • Farm: Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod {Full | Differential} [-Verbose]Config: Backup-SPConfigurationDatabase -Directory &lt;BackupFolder&gt; -DatabaseServer &lt;DatabaseServerName&gt; -DatabaseName &lt;DatabaseName&gt; -DatabaseCredentials &lt;WindowsPowerShellCredentialObject&gt; [-Verbose]WebApp: Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod {Full | Differential} -Item &lt;WebApplicationName&gt; [-Verbose]ServiceApp: Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod {Full | Differential} -Item &lt;ServiceApplicationName&gt; [-Verbose]Search: Backup-SPFarm -Directory &lt;Backup folder&gt; -BackupMethod {Full | Differential} -Item &lt;Search service application name&gt; [-Verbose]SecureStore:Backup-SPFarm -Directory  &lt;Backup folder&gt; -BackupMethod Full -Item &lt;Secure Store Service &gt; [-Verbose]ContentDB: Backup-SPFarm -Directory &lt;Backup folder&gt; -BackupMethod {Full | Differential} -Item &lt;Content database name&gt; [-Verbose]TrustedSolutions:Backup-SPFarm -backupmethod full -directory &lt;UNC location&gt; -item &quot;farm\\solutions“
  • Farm: Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod {Full | Differential} [-Verbose]Config: Backup-SPConfigurationDatabase -Directory &lt;BackupFolder&gt; -DatabaseServer &lt;DatabaseServerName&gt; -DatabaseName &lt;DatabaseName&gt; -DatabaseCredentials &lt;WindowsPowerShellCredentialObject&gt; [-Verbose]WebApp: Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod {Full | Differential} -Item &lt;WebApplicationName&gt; [-Verbose]ServiceApp: Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod {Full | Differential} -Item &lt;ServiceApplicationName&gt; [-Verbose]Search: Backup-SPFarm -Directory &lt;Backup folder&gt; -BackupMethod {Full | Differential} -Item &lt;Search service application name&gt; [-Verbose]SecureStore:Backup-SPFarm -Directory  &lt;Backup folder&gt; -BackupMethod Full -Item &lt;Secure Store Service &gt; [-Verbose]ContentDB: Backup-SPFarm -Directory &lt;Backup folder&gt; -BackupMethod {Full | Differential} -Item &lt;Content database name&gt; [-Verbose]TrustedSolutions:Backup-SPFarm -backupmethod full -directory &lt;UNC location&gt; -item &quot;farm\\solutions“
  • Presence
  • Get-SPContentDatabase -ConnectAsUnattachedDatabase -DatabaseName&lt;DatabaseName&gt; -DatabaseServer&lt;DatabaseServer&gt;
  • Presence
  • Taming the Beast: A SharePoint Survival Guide for the Server Admin

    1. 1. Taming the Beast: A SharePoint Survival Guide for the Server Admin<br />Get more sleep and put out fires faster with these tools and tricks<br />
    2. 2. Welcome to SharePoint Saturday—The Conference<br />Thank you for being a part of the first SharePoint Saturday conference<br />Please turn off all electronic devices or set them to vibrate.<br />If you must take a phone call, please do so in the hall so as not to disturb others.<br />Open wireless access is available at SSID: SPSTC2011<br />Feel free to “tweet and blog” during the session<br />Thanks to our Diamond and Platinum Sponsors:<br />
    3. 3. 3<br />Who am I?<br />Craig Trulove<br />A Senior SharePoint Infrastructure Consultant at Northridge. His role focuses largely on designing and implementing solutions on Microsoft technologies including SharePoint, Office Communications Server, Exchange, and Hyper-V virtualization. He works closely with all members of the Northridge team to ensure that the solutions produced are successfully implemented and adopted. <br />SharePoint since 2007<br />PowerShell since 2009<br />MCTS, MCITP<br />Twitter: @CraigToThePoint<br />Blog: http://ctrulove.blogspot.com<br />Company: http://www.northridge.com<br />
    4. 4. 4<br />Who is Northridge?<br />Northridge is one of the Southeast’s leading Microsoft Consulting firms, with a core focus on enterprise solutions around SharePoint, Business Intelligence, and custom .NET development.<br /><ul><li>The Southeast’s most mature SharePoint consulting practice
    5. 5. 12+ years of delivering thought leadership and expertise around our core focus
    6. 6. Microsoft Gold Competencies </li></ul>Portals and Collaboration<br />Digital Marketing<br /><ul><li>Microsoft Managed Partner
    7. 7. Interactive and Creative Division
    8. 8. Headquartered in Atlanta, GA
    9. 9. Regional offices in Raleigh and Charlotte, NC
    10. 10. Fully-owned offshore operation in Buenos Aires, Argentina
    11. 11. WE ARE HIRING</li></li></ul><li>5<br />What are we talking about?<br />The bottom line. What do you need to know in order to survive out in the SharePoint wild?<br />Speak their language!<br /><ul><li>Farms, Servers, and Services
    12. 12. Web Applications, Site Collections, and Webs
    13. 13. Lists, Libraries, and Items</li></ul>Always have an escape plan!<br /><ul><li>Recycle Bins
    14. 14. SharePoint UI/PowerShell Backups
    15. 15. SQL Backups
    16. 16. Offline Database Recovery</li></ul>Don’t bring a knife to a gun fight!<br /><ul><li>ULS Viewer, Get-SPLogEvent
    17. 17. PowerShell and PowerGUI
    18. 18. SharePoint Manager</li></li></ul><li>6<br />What are we talking about?<br />The bottom line. What do you need to know in order to survive out in the SharePoint wild?<br />Speak their language!<br /><ul><li>Farms, Servers, and Services
    19. 19. Web Applications, Site Collections, and Webs
    20. 20. Lists, Libraries, and Items</li></li></ul><li>7<br />Speak their language!<br />Worlds Greatest Slide (Courtesy of Shane Young and Todd Klindt)<br />
    21. 21. 8<br />What are we talking about?<br />The bottom line. What do you need to know in order to survive out in the SharePoint wild?<br />Always have an escape plan!<br /><ul><li>Recycle Bins
    22. 22. SharePoint UI/PowerShell Backups
    23. 23. SQL Backups
    24. 24. Offline Database Recovery</li></li></ul><li>9<br />Always Have an Escape Plan!<br />Recycle Bins<br />End User Recycle Bin<br /><ul><li>30 Days by default</li></ul>Admin Recycle Bin<br /><ul><li>50% of the Site Quote by default
    25. 25. Lists, Libraries, Items, and with SP1 Webs!</li></ul>Site Recycle Bin<br /><ul><li>Get-SPDeletedSite
    26. 26. Restore-SPDeletedSite</li></li></ul><li>10<br />Always Have an Escape Plan!<br />SharePoint UI Backups<br />Farm<br /><ul><li>Backs up everything, can be very challenging to restore</li></ul>Farm Configuration<br /><ul><li>Get just the configuration settings, easier to restore than entire farm</li></ul>Web Application<br /><ul><li>Yeah, it gets the web application…</li></ul>Service Application<br /><ul><li>Search
    27. 27. Secure Store
    28. 28. Everything Else</li></ul>Content Database<br /><ul><li>You guessed it…</li></ul>Trusted Solutions<br /><ul><li>Does not backup sandboxed solutions, those are stored in the content database</li></li></ul><li>11<br />Always Have an Escape Plan!<br />PowerShell Backups Part 1<br />Farm<br /><ul><li>Backup-SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} [-Verbose]</li></ul>Farm Configuration<br /><ul><li>Backup-SPConfigurationDatabase -Directory <BackupFolder> -DatabaseServer <DatabaseServerName> -DatabaseName <DatabaseName> -DatabaseCredentials <WindowsPowerShellCredentialObject> [-Verbose]</li></ul>Web Application<br /><ul><li>Backup-SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} -Item <WebApplicationName> [-Verbose]</li></li></ul><li>12<br />Always Have an Escape Plan!<br />PowerShell Backups Part 2<br />Service Application<br /><ul><li>Backup-SPFarm -Directory <Backup folder> -BackupMethod {Full | Differential} -Item <Search service application name> [-Verbose]
    29. 29. Backup-SPFarm -Directory  <Backup folder> -BackupMethod Full -Item <Secure Store Service > [-Verbose]
    30. 30. Backup-SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} -Item <ServiceApplicationName> [-Verbose]</li></ul>Content Database<br /><ul><li>Backup-SPFarm -Directory <Backup folder> -BackupMethod {Full | Differential} -Item <Content database name> [-Verbose]</li></ul>Trusted Solutions<br /><ul><li>Backup-SPFarm -backupmethod full -directory <UNC location> -item "farmsolutions“</li></li></ul><li>13<br />Always Have an Escape Plan!<br />SQL Backups<br />Content Databases<br /><ul><li>What most people think of as SharePoint lives here</li></ul>Service Applications<br /><ul><li>Important to capture but will not give you everything you need</li></ul>Configuration Database<br /><ul><li>Great for documentation, most likely not going to restore</li></ul>Other Databases<br /><ul><li>Usage, Custom, etc.</li></li></ul><li>14<br />Always Have an Escape Plan!<br />Offline Database Recovery<br />Site Collection<br /><ul><li>Backup/Restore</li></ul>Web<br /><ul><li>Export/Import</li></ul>Library<br /><ul><li>Export/Import</li></ul>List<br /><ul><li>Export/Import</li></ul>Item<br /><ul><li>Going to have to go to the list or library level</li></li></ul><li>15<br />What are we talking about?<br />The bottom line. What do you need to know in order to survive out in the SharePoint wild?<br />Don’t bring a knife to a gun fight!<br /><ul><li>ULS Viewer, Get-SPLogEvent
    31. 31. PowerShell and PowerGUI
    32. 32. SharePoint Manager</li></li></ul><li>16<br />Don’t bring a knife to a gun fight!<br />Pick the right tool for the job<br />The Tool Box<br /><ul><li>Event Logs
    33. 33. ULS Logs
    34. 34. ULS Viewer
    35. 35. PowerShell
    36. 36. PowerGUI
    37. 37. SharePoint Manager
    38. 38. Procmon
    39. 39. SPSFarmReport
    40. 40. Developer Dashboard
    41. 41. Fiddler
    42. 42. SPDisposeCheck
    43. 43. RDCMan</li></li></ul><li>17<br />Don’t bring a knife to a gun fight!<br />Correlation ID<br />
    44. 44. 18<br />What are we talking about?<br />We can use PowerShell to make this a little easier<br />Get-SPLogEvent<br />Get-SPLogEvent-StartTime 11:00 | Where-Object{$_.Correlation -eq"86c96b5d-9209-4db1-af47-58890d244781"} | Select-ObjectTimestamp,Level,Message | Format-List<br />
    45. 45. 19<br />What are we talking about?<br />Developer Dashboard<br />Turn it on with PowerShell<br />$svc= [Microsoft.SharePoint.Administration.SPWebService]::ContentService<br />$ddSetting=$svc.DeveloperDashboardSettings<br />$ddSetting.DisplayLevel= [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand<br />$ddSetting.Update()<br />
    46. 46. 20<br />Helpful Links<br />Tools<br /><ul><li>ULS Viewer - http://archive.msdn.microsoft.com/ULSViewer
    47. 47. SharePoint Manager 2010 - http://spm.codeplex.com
    48. 48. PowerGUI- http://powergui.org</li></ul>Blogs<br /><ul><li>Hey Scripting Guy! - http://blogs.technet.com/b/heyscriptingguy
    49. 49. SharePoint Team Blog - http://sharepoint.microsoft.com/blog
    50. 50. Stefan Goßner - http://blogs.technet.com/b/stefan_gossner
    51. 51. NothingButSharePoint - https://www.nothingbutsharepoint.com
    52. 52. Me – http://ctrulove.blogspot.com</li></ul>TechNet<br /><ul><li>SharePoint 201 Resource Center - http://technet.microsoft.com/sharepoint
    53. 53. SharePoint Updates - http://technet.microsoft.com/en-us/sharepoint/ff800847</li></li></ul><li>Thanks to Our Other Sponsors!<br />Thanks to our Sponsors<br />
    54. 54. Session Evaluation<br />Please complete and turn in your Session Evaluation Form so we can improve future events. Survey can be filled out at:<br />http://app.fluidsurveys.com/s/spstc2011-Fri-S4A-102<br />Presenter: Craig Trulove<br />Session Name: Taming the Beast: A SharePoint Survival Guide for the Server Administrator<br />Session No.: Fri-S4A-102<br />

    ×