Posts Tagged ‘backup’

Troubleshoot backup restore issues with trace flag 3004

Written by VidhyaSagar. Posted in Troubleshooting

I faced an issue during restoration of very large db in our development database server. Issue is restoration takes very long time even though we had latest hardware and recent version of SQL Server (it’s SQL 2008 Ent. Ed). So to troubleshoot it I have used the trace flag 3004 which print all internal things happen during backup and restoration operation.

VN:F [1.9.14_1148]
Rating: 5.0/5 (1 vote cast)
VN:F [1.9.14_1148]
Rating: +1 (from 1 vote)

How Much Memory is Needed Taken for My Database Backup

Written by Lekss. Posted in DBA

In this article I will try and cover the concepts in understanding the amount of memory or buffers required for completing a database backup. I would be using a couple of trace flags to get that detail and further discuss two of the parameters MAXTRANSFERSIZE and BUFFERCOUNT in the BACKUP DATABASE TSQL syntax which will help us understand a bit more about memory consumption for a database backup and time involved in completing the backup.

VN:F [1.9.14_1148]
Rating: 5.0/5 (2 votes cast)
VN:F [1.9.14_1148]
Rating: +1 (from 1 vote)

Backup SQL Database to Remote location

Written by VidhyaSagar. Posted in General

Does the title sounds crazy? You might think that this topic is very simple? Yes you are right however some folks still raise this question in forums. Im seeing this question for for a long time in forums and thought of sharing the solution here, so that the folks can give a search to get this (coz Google is our first techie teacher or instant solution provider :P ).

VN:F [1.9.14_1148]
Rating: 5.0/5 (1 vote cast)
VN:F [1.9.14_1148]
Rating: +1 (from 1 vote)

Backup compression in SQL Server 2008

Written by VidhyaSagar. Posted in DBA

Introduction

Backup compression is one of the feature expected by every administrator to minimize the backup size and to squeeze the time taken for backup. In previous versions of SQL Server most of us are going for 3rd party tools like Quests Litespeed, Redgates SQL Backup etc. for which we need to pay additional amount. SQL Server 2008 adds an additional feature of taking compressed backup through native backup command itself.

VN:F [1.9.14_1148]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.14_1148]
Rating: 0 (from 0 votes)

Recent Comments

Praveen

|

Hi Sagar, Your script is working great. Thanks ton

DotNetShoutout

|

SQL-Articles ยป Script to get data file usage and autogrowth details…

Thank you for submitting this cool story – Trackback from DotNetShoutout…

VidhyaSagar

|

Saeed,
I don’t think so you can stop it in SMO, instead you need to turn off password policy for that login

VidhyaSagar

|

Thanks Ashish, I’ve updated the script.