| Author |
Message |
mturaga
Joined: 04 Dec 2009 Posts: 1
|
Posted: Fri Dec 04, 2009 7:17 pm Post subject: Code to compare backups in C# |
|
|
Is there any resources for comparing the backups.
I wanted to do a
Differences dbSourceVsdbTarget = dbSource.CompareWith(db, Options.Default);
where db is a backup , How do I instanciate the backup datasource in the db above?. db is a backup location as in widgetdev.bak |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Mon Dec 07, 2009 3:49 pm Post subject: |
|
|
Hello Maruthi,
If you are simply looking for an example of comparing the schema of a backup file to a live database, a sample is available here:
http://labs.red-gate.com/index.php/Compare_to_Backup
It shouldn't be too much of a leap to modify this to compare two backups if that's what you need to do. Lots of code examples are available on the labs website. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group