Hello
I am in the process of writing some scripts to automatically backup my home server data to other remote drives. I am planning to use Robocopy commands in a script set to run via task scheduler.
It's the first time I've played with such a thing and have noticed a warning in the guide linked below
http://www.sevenforums.com/tutorials/187346-robocopy-create-backup-script.html
The warning suggests that the "MIR" option (and presumably using /E and /PURGE) could delete files from the source folder. This is naturally of concern to me.
In testing my scripts though, I cannot seem to replicate an instance of deleting files from the source folder.
Is the guide factually incorrect or could Robocopy introduce such a problem?
A sample of one of my commands is pasted below for reference.
robocopy "\\SERVER\Temp" "\\STORAGE\Temp" /E /PURGE /V /NP /R:10 /W:30
I posted in here as I'm assuming this sub-forum attracts more users who use such commands. I originally posted a query in the Windows forum but didn't receive much response.
Thank you for your time,
Mike
I am in the process of writing some scripts to automatically backup my home server data to other remote drives. I am planning to use Robocopy commands in a script set to run via task scheduler.
It's the first time I've played with such a thing and have noticed a warning in the guide linked below
http://www.sevenforums.com/tutorials/187346-robocopy-create-backup-script.html
The warning suggests that the "MIR" option (and presumably using /E and /PURGE) could delete files from the source folder. This is naturally of concern to me.
In testing my scripts though, I cannot seem to replicate an instance of deleting files from the source folder.
Is the guide factually incorrect or could Robocopy introduce such a problem?
A sample of one of my commands is pasted below for reference.
robocopy "\\SERVER\Temp" "\\STORAGE\Temp" /E /PURGE /V /NP /R:10 /W:30
I posted in here as I'm assuming this sub-forum attracts more users who use such commands. I originally posted a query in the Windows forum but didn't receive much response.
Thank you for your time,
Mike