Avatar of turbodewd
turbodewd
 asked on

Robocopy to NAS fails on files with orphaned SIDS

Hi all

I am trying to robocopy files from a Windows server to a NAS and my robocopy bombs out on files which have orphaned SIDs.  I get error 1337 'the security ID structure is invalid'.

Interestingly Robocopy is able to create the directories on the NAS and the orphaned SID is no longer there, its just that there are no files in there.

I have fiddled with the Robocopy /secfix option but am having noluck so far.  Can anyone think of a way around this?  Removing all orphaned SIDs on my fileshares will be hard because I support 950 of them!
StorageStorage Software

Avatar of undefined
Last Comment
turbodewd

8/22/2022 - Mon
ittogo

You could use NTbackup to backup the files and then do a restore to the new location.
SjoerdvW

Can you copy those files without security (/COPY:DAT for example?)
Is it an otion to copy all files withou security and place back security on the destination? or are there a lot of different ACLs?

Can you try to use the /B (Backup) switch?
turbodewd

ASKER
Firstly, i am dealing with very short timeframes.  A datacenter has to be vacated within weeks.  I have 17TB to move.

Ultimiately I need the security on there but I dont think robocopy can add it once the file is there. If the date/time stamp matches the source it wont copy coz i thinks the file is the same.  I may be wrong. Currently fiddling with robocopy.

Any NAS side solution to this?  Im guessing not coz it simply obviously doesnt support orphaned SIDs it seems and bombs out coz the format of an orphaned SID is all numbers and Ss and other characters.
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER CERTIFIED SOLUTION
turbodewd

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
turbodewd

ASKER
a colleague told me about this tool.