Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 IPVault for sql server backup.

Author  Topic 

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-08-05 : 13:53:43
Anyone using IPvault for sql server backup?

I guess there is an option in IPVault for VSS backup(not sure). I want to know whether this VSS backup interferes with regular backup.

For e.g.

1. Take the FULL backup from SSMS
2. Take IPvault VSS full backup
3. If I start a SSMS log backup, what will be the starting point , point 1 or point 2?


------------------------
I think, therefore I am - Rene Descartes

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-08-05 : 13:55:47
Either full backup could be a starting point. You just need any full backup and then the transaction log chain since the one you picked.

But you shouldnt't be backing up using two different programs.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-08-05 : 14:15:47
I have a unique need where I need both backups. SQL as well as IPVault.

What will happen in the following case?

1. I take a SSMS FULL backup
2. I delete something – select * from t1
3. I take IPVault full backup
4. Take a SSMS log backup

Now, the log backup contains command on step 2 or not?


------------------------
I think, therefore I am - Rene Descartes
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-08-05 : 14:16:51
Yes it does.

Full backups do not interfere with the transaction log chain. They are a starting point only.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-08-05 : 14:18:45
Let's say a system went production 5 years ago. You do full backups daily and tlog backups every hour. You've got every file available on disk or tape since 5 years ago. You find that all of your full backups are corrupt except the very first one from 5 years ago. But all of your transaction log backups are fine.

You can restore the full backup from 5 years ago and then all of the transaction log backups since then as long as you aren't missing any transaction log backups.

This is a stupid scenario as it is highly unlikely to ever happen, but it illustrates my point.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-08-05 : 14:30:00
I got your point. Thanks.

How ever I have a different quetion. If what you are saying is correct (which I am sure it is correct), what is the use of COPY_ONLY option of backup clause?

------------------------
I think, therefore I am - Rene Descartes
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-08-05 : 14:37:49
According to BOL:

quote:

A copy-only backup does not affect your overall backup and restore procedures for the database.



quote:

The copy-only log backup has no effect on the log chain, and other log backups behave as if the copy-only backup does not exist.



Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-08-05 : 14:49:38
Got it! Thanks.

I have changed my question, and would like to know how it works for DIFF backup.

1. I take a SSMS FULL backup
2. I delete something – select * from t1
3. I take IPVault full backup
4. Take a SSMS DIFF backup

Now, the diff backup contains changes made from command on step 2 or not?


------------------------
I think, therefore I am - Rene Descartes
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-08-05 : 14:53:29
Differential backups do not affect the tlog chain.

Differentials contain all of the changes since the last full backup, so in your scenario your diff does not contain step 2.

Diffs are used so that you can restore less tlog backups in the case of a recovery.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-08-05 : 14:57:03
Everything is clear! Thank you Tara.

Just reached 1K posts!


------------------------
I think, therefore I am - Rene Descartes
Go to Top of Page
   

- Advertisement -