UNSOLVED

Ryan_CSULB

updated

7 years ago

R

Ryan_CSULB

2 Intern

64 Posts

0

1791

November 15th, 2019 10:00

EMCopy Problem with Folder Removal on Diff Copy

Summary: Using emcopy64 v 4.20.2.0 (latest?) to mirror after making a first copy pass, won't delete folder on destination that no longer exist on source (when NTFS permissions are a certain way).

Details:

  1. I make the first copy pass of the folder structure.
  2. My account (local admin account) does not have permission to access certain folders in that structure; however, emcopy is able to copy them anyway by asserting the backup privilege that administrators have.
  3. A user deletes subfolder X in that structure on source, and this folder is one of the ones that my account does not have permission to access.
  4. I make the second copy pass of the folder structure to pick up changes.
  5. Emcopy returns an error “directory removing failed” when trying to delete subfolder X from the destination to mirror the change made at the source.
  6. Other tools, such as robocopy, fastcopy, and beyond compare are able to delete inaccessible folders like subfolder X, by asserting the restore privilege. However, I need to use emcopy because it’s the only tool where difference copies between Windows and Isilon work correctly.
  7. The command line switches I’m using are: emcopy64.exe “source path” “destination path” /secforce /o /s /de /sd /c /i /r:0 /w:0 /purge /preserveroot /sdd /stream /log+:"log path"

Anything conflicting that anyone can see with those combinations of switches?  Has anyone seen this or can duplicate?