From 0382c749c532df6058b045184d4eb962ae3b9784 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Fri, 2 Jun 2023 00:04:42 +0200 Subject: [PATCH] - --- cmd/sync/sync.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/sync/sync.go b/cmd/sync/sync.go index d13a85d03..510f859b9 100644 --- a/cmd/sync/sync.go +++ b/cmd/sync/sync.go @@ -56,6 +56,9 @@ func syncOptionsFromArgs(cmd *cobra.Command, args []string) (*sync.SyncOptions, // exist and add it to the `.gitignore` file in the root. SnapshotBasePath: filepath.Join(args[0], ".databricks"), WorkspaceClient: databricks.Must(databricks.NewWorkspaceClient()), + + PersistSnapshot: true, + AllowOverwrites: true, } return &opts, nil }