0

I'm testing Drive Snapshot and what got me really interested was this script: https://github.com/pcanterino/dsmonrot

However, I've got a problem. I try to interrupt the script (close the PowerShell window while creating the backup) the backup script stops, it's normal. When I try to rerun the script, it closes itself and it can't do the full backup again, because the backup files still exist in my backup folder. It only works when I manually delete them. It doesn't replace the failed files with new ones.

How to configure this script to delete unsuccessful full backup files and create the new one, of course in the same folder. This way I can be sure that backup is created every time I run it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.