Frank C
Member
Hi,
I am using Robocopy to backup photos and music files to a local network connected 1TB Western Digital drive.
The initial backup worked for both tasks.
This is the command line in the .bat
Robocopy C:\Users\Owner\Music\recordings\ \\externaldrive\public\BackUp-Music\recordings\ /S /COPY:DT /MIR /Log:MusicBkupLog.txt
Now, the subsequent backup for my music folders fails on a specific folder with error:
ERROR 5 (0x00000005) Deleting Extra File \\externaldrive\public\BackUp-Music\recordings\AmbroseNew\A Fine Romance-Browne.mp3
Access is denied.
The process stops there. Subsequent folders are not backed up.
The ownership for that folder looks suspect:
nobody (Unix User\nobody)
Other folders that work have owner as:
administrator (EXTERNALDRIVE\admin)
I can not change the offending folder's owner.
I have tried the following as administrator:
Properties > Security > Advanced > Owner > Edit > change owner to
I get access denied.
And with DOS from an administrator command prompt:
takeown /f S:\BackUp-Music\Recordings\AmbroseNew
RMDIR /S S:\BackUp-Music\Recordings\AmbroseNew
I get access denied.
I can access the directory so my path must be correct:
dir S:\BackUp-Music\Recordings\AmbroseNew
How can I change ownership or delete the offending folder?
Thanks
Frank C
Vista Ultimate 64 bit SP2
I am using Robocopy to backup photos and music files to a local network connected 1TB Western Digital drive.
The initial backup worked for both tasks.
This is the command line in the .bat
Robocopy C:\Users\Owner\Music\recordings\ \\externaldrive\public\BackUp-Music\recordings\ /S /COPY:DT /MIR /Log:MusicBkupLog.txt
Now, the subsequent backup for my music folders fails on a specific folder with error:
ERROR 5 (0x00000005) Deleting Extra File \\externaldrive\public\BackUp-Music\recordings\AmbroseNew\A Fine Romance-Browne.mp3
Access is denied.
The process stops there. Subsequent folders are not backed up.
The ownership for that folder looks suspect:
nobody (Unix User\nobody)
Other folders that work have owner as:
administrator (EXTERNALDRIVE\admin)
I can not change the offending folder's owner.
I have tried the following as administrator:
Properties > Security > Advanced > Owner > Edit > change owner to
I get access denied.
And with DOS from an administrator command prompt:
takeown /f S:\BackUp-Music\Recordings\AmbroseNew
RMDIR /S S:\BackUp-Music\Recordings\AmbroseNew
I get access denied.
I can access the directory so my path must be correct:
dir S:\BackUp-Music\Recordings\AmbroseNew
How can I change ownership or delete the offending folder?
Thanks
Frank C
Vista Ultimate 64 bit SP2