Category: SQL

SQL Server Backup from inside Azure VM

You can backup SQL Server databases and instances running inside Azure VM using Azure Backup. The solution leverages the SQL native APIs to take backup of your SQL databases. When you specify the SQL Server VM that you want to…

Continue Reading SQL Server Backup from inside Azure VM

Sharepoint 2013/16 and WSS_Logging DB

Sharepoint gathers usage and health data to database called WSS_Logging. By Default retention period is 14 days. If You want to make it lower, lets say 2 days use the below oneliner for it.

And then just a quick…

Continue Reading Sharepoint 2013/16 and WSS_Logging DB

User has db_owner my mistake.

Hi, When you are trying to remove user from a database, you will get: The database principal owns a schema in the database, and cannot be dropped. (Microsoft SQL Server, Error: 15138) There is a easy fix for this. First…

Continue Reading User has db_owner my mistake.

Install SQL when reboot is pending

Hi, First of all. There are some instructions that say you should remove pending renames from registry. Don’t do it. Just type text below from an administrative command prompt. setup /ACTION=install /SkipRules=RebootRequiredCheck

Continue Reading Install SQL when reboot is pending

Move Sharepoint database to a different server.

I wont write on article on this because I found an excellent ready one. But the situation is that you have to move sharepoint to a different server keeping the sql-server instance name as is. http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=255 Thanks Todd!

Continue Reading Move Sharepoint database to a different server.

Transfer SQL Logins and their passwords.

Hi again, Done this multiple times, but thought it would be wisdom to share it. Remember this wont be necessary in SQL 2012 and higher because they save users and password directly to the user database not the master database….

Continue Reading Transfer SQL Logins and their passwords.

Sharepoint 2007 and attaching content database with SQL 2012 R2

Today I had to migrate an old wss 3.0 site to Sql 2012 R2. Made backup of the old DB and transfered it to the new server. Then restored it and tried. STSADM –o addcontentdb –url http://ssps001:7242 -databasename _wss_content_old -databaseserver…

Continue Reading Sharepoint 2007 and attaching content database with SQL 2012 R2

Lync 2013 Response Groups Usage Report not working.

Lync 2013 Monitoring is great … well when it works 🙂 Today one customer wanted to open Response Group Usage Report and got nothing after 15 minutes on waiting. The reason was a broken index in lcscdr database. And the…

Continue Reading Lync 2013 Response Groups Usage Report not working.