User-1716253493 posted
Maybe you can use copy website facility from website menu
You can connect to another folder in file system, Local IIS, FTP, or Remote website.
There are two windows there,
left side is current website that you edit
right side is working website
You can copy file from left to right vice versa.
Now, dont worry about wrong source, you can delete, rename, modify whatever in left side because working website is right side.
You can copy from left side to right side after finished editing
Copy from right to left side to get original file.
Don't edit working website directly.