--- a/backupandrestore/backuptest/burtestserver/TestSteps/src/t_teststeprestore.cpp Thu Aug 19 10:44:03 2010 +0300
+++ b/backupandrestore/backuptest/burtestserver/TestSteps/src/t_teststeprestore.cpp Tue Aug 31 16:03:15 2010 +0300
@@ -241,9 +241,13 @@
SupplyPassiveSnapshotDataL();
RestorePassiveBaseDataL();
- //active
- SupplyActiveSnapshotDataL();
- RestoreActiveBaseDataL();
+ // do active restore when in partial restore mode
+ if (iIsPartial)
+ {
+ //active
+ SupplyActiveSnapshotDataL();
+ RestoreActiveBaseDataL();
+ }
}
void CBURTestStepRestore::IncrementalRestoreL()
@@ -259,11 +263,14 @@
RestorePassiveBaseDataL();
RestorePassiveIncDataL();
-
- //active
- SupplyActiveSnapshotDataL();
- RestoreActiveBaseDataL();
- RestoreActiveIncDataL();
+ // do active restore when in partial restore mode
+ if (iIsPartial)
+ {
+ //active
+ SupplyActiveSnapshotDataL();
+ RestoreActiveBaseDataL();
+ RestoreActiveIncDataL();
+ }
}