Viewing 15 posts - 376 through 390 (of 1,539 total)
Hi Praveen,
Good point. I'll try to write this into a vbs file (i'm actually not too competent in vb scripting, learnt recently).
Even then it'd prompt you twice with a message...
December 3, 2009 at 3:46 am
Please remove the commented lines written before the < HTML > tag.
December 3, 2009 at 1:57 am
From BOL :
A log backup taken from a possibly damaged database to capture log records that have not yet been backed up. A tail-log backup is taken after a...
November 28, 2009 at 5:41 am
you can check that from windows explorer file creation date property. However, if sql server services has been recycled after file creation, you wont get accurate date as tempdb is...
November 20, 2009 at 8:51 am
when we are restoring a database, we are essentially creating a new database and hence i tried for dbcreator role. I think this should be an optimal solution.
November 14, 2009 at 3:02 am
I gave dbcreator fixed server role to the user i created and this user was able to restore the database.
can u try that out.
November 14, 2009 at 2:38 am
This is how i connect to sql server using vb 6.0
constr = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;"
constr = constr + "Initial Catalog=master;"
constr...
November 14, 2009 at 2:12 am
You can provide that user with db_backupoperator fixed database role on all databases which that user will have the privilages to backup.
November 14, 2009 at 2:06 am
gururajkamath (11/10/2009)
November 10, 2009 at 8:05 am
Instead of asking these questions, why dont you put little effort in googling for answers. Show us what effort u've put to find out answers and then we'd be glad...
November 6, 2009 at 5:41 am
I agree with Ian's suggestion to consider Database Mirroring as ur disaster recovery solution. You may also consider Log shipping (only coz of its ease of implementation and maintainance)..
November 6, 2009 at 5:36 am
you'll need to use with differential clause...
sample code:
declare @log_name as varchar(50)
set @log_name='c:\backup\test_Diff_' + convert(varchar,getdate(),112) + '.bak'
backup database test to disk=@log_name with differential
November 5, 2009 at 9:20 am
One thing to note here..
Backup files will continously be created. You'll need to delete old files manually to prevent the disk from getting full.
November 5, 2009 at 9:03 am
A similar code and a seperate job would suffice for full backups.
declare @log_name as varchar(50)
set @log_name='c:\backup\test_Full_' + convert(varchar,getdate(),112) + '.bak'
backup database test to disk=@log_name
As stated earlier, do not forget to...
November 5, 2009 at 8:47 am
Viewing 15 posts - 376 through 390 (of 1,539 total)