diff --git a/ush/ufsda/stage.py b/ush/ufsda/stage.py index fa14d346d..582191090 100644 --- a/ush/ufsda/stage.py +++ b/ush/ufsda/stage.py @@ -497,11 +497,12 @@ def background_ens(config): mkdir(jedi_bkg_mem) # copy RESTART to RESTART_GES - try: - shutil.copytree(rst_dir, ges_dir) - except FileExistsError: - shutil.rmtree(ges_dir) - shutil.copytree(rst_dir, ges_dir) + if not os.path.exists(ges_dir): + try: + shutil.copytree(rst_dir, ges_dir) + except FileExistsError: + shutil.rmtree(ges_dir) + shutil.copytree(rst_dir, ges_dir) try: os.symlink(ges_dir, jedi_bkg_dir) except FileExistsError: