Hi @Ed7 ,
Robocopy is a great tool for data migration, you can find all the syntaxes on the following pages:
The basic command for copying files/folders is the following command:
robocopy C:\Source C:\Destination
The above command will copy all files (excluding subfolders) from C:\Source to C:\Destination.
The most commonly used command is the following:
robocopy C:\Source C:\Destination /E /COPYALL
The above command copies all NTFS ACLs, file owners, subfolders (including empty ones) and all file attributes.
I strongly suggest going through the following guide for some basics:
If you want to copy files/folders from one domain to another domain, you will need to connect to the servers using the appropriate credentials before running the robocopy command.
One way is to first mount the drives/folders from the source and destination servers (this will require the credentials), then run the robocopy command.
net use \\SourceServer\D$ /user:Domain1\Admin1 * net use \\DestinationServer\D$ /user:Domain2\Admin2 * robocopy \\SourceServer\D$\FolderX\%3 \\DestinationServer\D$\FolderY
If the reply was helpful please don't forget to
accept as answer, thank you!