Solved copy bug

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-10 20:14:52 +01:00
parent 617c2eac9e
commit 6f6b804593

View File

@ -55,7 +55,7 @@ def pause_and_move(storage_path, volume, volume_path, containers):
os.makedirs(storage_volume_path,exist_ok=False)
# Move the data
run_rsync(volume_path, storage_volume_path)
run_rsync(f"{storage_volume_path}/", f"{volume_path}/")
# Delete the source directory
delete_directory(volume_path)