backupandrestore/backuptest/burtestserver/TestSteps/src/t_teststeprestore.cpp
branchRCL_3
changeset 19 0aa8cc770c8a
parent 0 d0791faffa3f
child 20 4a793f564d72
--- 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();
+            }
 		}