Category Archives: SQL Server

How to Backup SQL Server to OneDrive for Business

How to Backup SQL Server to OneDrive for BusinessThere are many ways of making SQL Server database backup and there are as many methods as to how and where to store them. But is your method really convenient for you? Lets assume that your backup plan is a full backup once a day, differential backup every six hours and transaction log backup every hour, and all these backups you need to send to OneDrive for Business. If you perform all the scenarios manually, it would take almost all of your time every day. Fortunately, you can do it in minutes with the help of SqlBak. Continue reading How to Backup SQL Server to OneDrive for Business

How to Group Several Notifications into One Email

Using SqlBak you can set email confirmation to get email notifications of successful or failed backup jobs. This is a very important part of your database backup strategy which will keep you informed in case if one of your backups failed.

On the other hand, sometimes notifications can be very annoying especially if you get several consequent errors within a short period of time. That’s why SqlBak has an option to merge several emails into a single one. Continue reading to see how it actually works. Continue reading How to Group Several Notifications into One Email

When Does One Need to “DBCC SHRINKFILE”

Untitled drawing (4)Internet is teeming with information that using DBCC SHRINKFILE operation on a regular basis is a bad practice, and we agree in general. It can lead to low performance and high fragmentation. We recommend to avoid shrinking the data and log files unless you have a good reason to do it (see below) . If you have such a reason  – you can find some useful tips below. Continue reading When Does One Need to “DBCC SHRINKFILE”