From 3b43ad5dcf2c8ceaac06ed37eff619dc1e6a8a6e Mon Sep 17 00:00:00 2001
From: Michael Butler <butler@cockroachlabs.com>
Date: Wed, 14 Aug 2024 09:27:41 -0400
Subject: [PATCH] roachtest: online restore with unsafe_incompatible_version

Fixes #128884

Release note: none
---
 pkg/cmd/roachtest/tests/online_restore.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/cmd/roachtest/tests/online_restore.go b/pkg/cmd/roachtest/tests/online_restore.go
index 570771a873b4..c469390ddcd1 100644
--- a/pkg/cmd/roachtest/tests/online_restore.go
+++ b/pkg/cmd/roachtest/tests/online_restore.go
@@ -564,9 +564,9 @@ func runRestore(
 			}
 
 		}
-		opts := ""
+		opts := "WITH unsafe_restore_incompatible_version"
 		if runOnline {
-			opts = "WITH EXPERIMENTAL DEFERRED COPY"
+			opts = "WITH EXPERIMENTAL DEFERRED COPY, unsafe_restore_incompatible_version"
 		}
 		if err := maybeAddSomeEmptyTables(ctx, rd); err != nil {
 			return errors.Wrapf(err, "failed to add some empty tables")