Windows 10: Robocopy NTFS to SMB

Discus and support Robocopy NTFS to SMB in Windows 10 Network and Sharing to solve the problem; I'm using Robocopy to copy the contents of a folder called "MSBackups", which is stored on an NTFS HDD. The Destination folder is on a Samba share on... Discussion in 'Windows 10 Network and Sharing' started by JeffDvo, Apr 18, 2022.

  1. JeffDvo Win User

    Robocopy NTFS to SMB


    I'm using Robocopy to copy the contents of a folder called "MSBackups", which is stored on an NTFS HDD. The Destination folder is on a Samba share on my LAN. Samba is installed on CentOS 7.9 Robcopy uses a "bat" file and runs as a scheduled task, this has been the case for few years with no issues but during the past few of months I've started to get errors when the task runs e.g. "access denied" and "network problems". The backup fails on one of 2 folders, \user\AppData and / or \user\Data\$OFThe work round has been to stop the task if needed and use WinSCP to re-apply the perms on the De

    :)
     
    JeffDvo, Apr 18, 2022
    #1

  2. Copy NTFS permissions to a NAS with Robocopy

    Hello,

    I'm actually using Robocopy to copy a "home" folder with NTFS permissions to a NAS Synology. All theses equipment are on the domain, that will be named XXXXX in this post.

    The permissions on the "home" folder are explicit, and not inherited from the parent folder. Also note that the SYNOLOGY NAS have the Windows Permissions activated.

    The goal is to create a backup of this "home" folder to the NAS with the permissions.

    Here is the Robocopy script that i'm using :

    ------------

    set rep_log=C:\Script\log

    set rep_sync_DATA=\\SRV1\e$\home\

    set rep_sync_NAS=\\NAS-SYNOLOGY01\test01\backup\home\

    robocopy %rep_sync_DATA% %rep_sync_NAS% /MIR /SEC /ZB /NP /XF thumbs.db /R:2 /W:5 /log:%rep_log%\Synchronisation_backup_nas.txt

    -----------

    The Robocopy script works well, and the files are well copied. EXCEPT one. On my "home" source folder, we can find on the permission list the XXXXXX\Administrators group. (explicit permission)

    But, unfortunately, once the folder is copied to the NAS, it change the XXXXX\Administrators group to NAS-SYSNOLOG01\Administrators. This folder take the local domain of the NAS instead of my AD domain.

    Please note that this "domain change" is only applied to this group, and the others lambda groups are not impacted by this strange change. (example XXXXXX\Sales group on source folder will be copied as XXXXXX\Sales to the destination)

    The same script works perfectly if the destination is a USB HDD for example. It only happens if I want to copy to the NAS.

    Any idea to fix this issue ? I faced this issue twice, with SYNOLOGY and with NETAPP technology. Whatever soft I tried to copy (robocopy or others), the result is the same...

    Thanks for your potential help Robocopy NTFS to SMB :)

    Sébastien
     
    Sébastien_980, Apr 18, 2022
    #2
  3. robocopy

    Hi All,

    I am receiving an error while copying a folder from one server to other server

    the cmd which i am using is

    robocopy \\newft\C$Newfolder \\newft2\C$Jyothsna /COPYALL

    the below error i am getting

    C:\Users\Demouser>robocopy \\newft\C$Newfolder \\newft2\C$Jyothsna /COPYALL

    -------------------------------------------------------------------------------

    ROBOCOPY :: Robust File Copy for Windows :: Version XP010

    -------------------------------------------------------------------------------

    Started : Thu Oct 04 07:53:42 2018

    2018/10/04 07:53:42 ERROR 67 (0x00000043) Getting File System Type of Source \\newft\C$Newfolder\

    The network name cannot be found.

    2018/10/04 07:54:04 ERROR 53 (0x00000035) Getting File System Type of Destination \\newft2\C$Jyothsna\

    The network path was not found.

    Source - \\newft\C$Newfolder\

    Dest - \\newft2\C$Jyothsna\

    Files : *.*

    Options : *.* /COPYALL /R:1000000 /W:30

    ------------------------------------------------------------------------------

    NOTE: NTFS Security may not be copied - Source may not be NTFS.

    NOTE: NTFS Security may not be copied - Destination may not be NTFS.

    2018/10/04 07:54:04 ERROR 67 (0x00000043) Accessing Source Directory \\newft\C$Newfolder\

    The network name cannot be found.
     
    JyothsnaM1, Apr 18, 2022
    #3
  4. Robocopy NTFS to SMB

    Robocopy issue

    Hi MS team,

    we have very strange issue while coping data from the SMB share to another SMB share via Robocopy . it has alwasy displayes the below issue

    Light??.png

    A device attached to the system is not functioning.

    The common observation is file is having the emoji on his name - did anyway to copy it in nas path and whenever we copy it local machine it does not allowed to copy on the NAS path, a quick help is much appreciated..
     
    prtmjavajava, Apr 18, 2022
    #4
Thema:

Robocopy NTFS to SMB

Loading...
  1. Robocopy NTFS to SMB - Similar Threads - Robocopy NTFS SMB

  2. robocopy to retain ntfs permission while copying folders/files

    in Windows 10 Network and Sharing
    robocopy to retain ntfs permission while copying folders/files: I am trying to copy folders/filder using robocopy from serverA to serverB, I run the following and it wouldnt keep the ntfs permission at the destinationRobocopy E:\"share1" H:\folder1/share2" /E /DCOPY:DAT /Copy:datsou /R:0 /W:0 /V /MT:16 /TEE...
  3. robocopy to retain ntfs permission while copying folders/files

    in Windows 10 Gaming
    robocopy to retain ntfs permission while copying folders/files: I am trying to copy folders/filder using robocopy from serverA to serverB, I run the following and it wouldnt keep the ntfs permission at the destinationRobocopy E:\"share1" H:\folder1/share2" /E /DCOPY:DAT /Copy:datsou /R:0 /W:0 /V /MT:16 /TEE...
  4. robocopy to retain ntfs permission while copying folders/files

    in Windows 10 Software and Apps
    robocopy to retain ntfs permission while copying folders/files: I am trying to copy folders/filder using robocopy from serverA to serverB, I run the following and it wouldnt keep the ntfs permission at the destinationRobocopy E:\"share1" H:\folder1/share2" /E /DCOPY:DAT /Copy:datsou /R:0 /W:0 /V /MT:16 /TEE...
  5. robocopy

    in Windows 10 Network and Sharing
    robocopy: Hi robocopylog Total Copied ?1055, 197, log.txt818?/MIR /MT:8 /r:2 https://answers.microsoft.com/en-us/windows/forum/all/robocopy/dca938b6-3089-4c84-ac33-6ae7c255f0b5
  6. robocopy

    in Windows 10 Gaming
    robocopy: Hi robocopylog Total Copied ?1055, 197, log.txt818?/MIR /MT:8 /r:2 https://answers.microsoft.com/en-us/windows/forum/all/robocopy/dca938b6-3089-4c84-ac33-6ae7c255f0b5
  7. robocopy

    in Windows 10 Software and Apps
    robocopy: Hi robocopylog Total Copied ?1055, 197, log.txt818?/MIR /MT:8 /r:2 https://answers.microsoft.com/en-us/windows/forum/all/robocopy/dca938b6-3089-4c84-ac33-6ae7c255f0b5
  8. Robocopy NTFS to SMB

    in Windows 10 Gaming
    Robocopy NTFS to SMB: I'm using Robocopy to copy the contents of a folder called "MSBackups", which is stored on an NTFS HDD. The Destination folder is on a Samba share on my LAN. Samba is installed on CentOS 7.9 Robcopy uses a "bat" file and runs as a scheduled task, this has been the case for...
  9. Robocopy NTFS to SMB

    in Windows 10 Software and Apps
    Robocopy NTFS to SMB: I'm using Robocopy to copy the contents of a folder called "MSBackups", which is stored on an NTFS HDD. The Destination folder is on a Samba share on my LAN. Samba is installed on CentOS 7.9 Robcopy uses a "bat" file and runs as a scheduled task, this has been the case for...
  10. Robocopy

    in Windows 10 Customization
    Robocopy: I like Robocopy and used it for a long time but after upgrading from Windows 7 to Windows 10, it got in a loop when I tried to back up via the Documents and Settings Junction. I know that I didn’t change permissions on this folder. But If I try to open it, I get "Access...