Being a belt and braces sort of fella I have two NAS devices - a ReadyNAS and a WD EX4 for my backups. I use batch files to backup from my WIN7 to my NASs on alternate days. Most of the time I use Xcopy and the commands /d /s /y and all is sweetness and light.
However for my ebook library I use Robocopy with its /mir command, this means that it maintains an exact copy of the original occasionally it needs to delete files as well as add or overwrite files. On the ReadyNAS there is no problem but on the EX4 when it has to delete files Robocopy makes a couple of attempts as instructed then gives up.
How can I tell the EX4 NAS to allow it to delete files as well as write them?
As an aside I notice that sometime when I use Windows Explorer to delete files on the EX4 it allows me to delete some but not others telling me I don’t have permission to delete. I have to go into the Dashboard to do it from there.
A snippet of the batch file (which is proven to work - the variables are just to enable the same batch file to be used with two different NAS devices on odd and even days and save a lot of typing)
SET ThisPath=%NASPath%\EDrive\ISO Files\
xcopy “E:\ISO Files\*.*” “%ThisPath%” /y /d
echo.
SET ThisPath=%NASPath%\DDrive\Calibre Library
robocopy “D:\Calibre Library” “%ThisPath%” /mir /R:1
Any ideas?