Questions tagged [robocopy]

Robocopy is a command line file copy utility for Windows-based operating systems.

Robocopy is a Microsoft command line file copy utility that is built into Windows Server versions 2008 R2 and newer. Examples of basic functionality include directory mirroring, copying files over a network, restartable copy and multiple exclusion/inclusion flags.

272 questions
0
votes
0 answers

append date and time before each line in a text log file in windows 10

I want to append date and time before each line in a text log file in windows I run iperf command in cmd in windows 10. iperf.exe -c192.168.5.199 -u -t4 -i1 -f Kbytes -w1024k -b1024k >> client-log.txt C:\iperf-2.0.9-win64\iperf-2.0.9-win64>iperf.exe…
0
votes
2 answers

Windows - robocopy kill server service and server stop respond to smb - how to real time sync folders over lan without samba?

I have nightmare in company. New server 2019 with all patches. I use Robocopy to sync files to backup server. Robocopy kill smb "server service" several times per day, no any event log. Windows 10 clients cant access shares. Only solution is to…
foler
  • 1
0
votes
0 answers

robocopy doesn't remove attributes from copied folders

I try to use robocopy to copy all userdata from : "C:\Users" Command: robocopy /b /e /xjd /sl /a-:RSH /r:1 "C:\Users" "E:\backup" In the User directories are hidden folders. The parameter /A-:RSH should remove those attributes: /a-:[RASHCNET] ---…
int3g3r
  • 1
  • 1
0
votes
1 answer

parallel instances of Robocopy not getting CPU time

I'm trying to copy large directories from 3 sites. I noticed that robocopy was using < 25% of my CPU, I figured I can spawn 2 more instances in parallel to copy the other 2 sites. However, I am finding that it seems that the first instance is…
Ching Liu
  • 101
0
votes
2 answers

Robocopy mirroring only based on filename

I would like to mirror a shared drive directory to a Sharepoint library. It seems that Robocopy copy each time every file. My command line is Robocopy "source" "dest" /MIR /FFT /Z /XA:H /W:5 I will never have a different file in the source with…
-1
votes
2 answers

How to copy user permissions in Windows server 2012 r2?

I have windows server 2012 r2 and two storage drive. lest say A and B. I have created users and given files and folder access in drive A but now it is crashed and now I want to give all the same user permission in Drive B. I have same folders in…
-1
votes
1 answer

robocopy to new server and new domain

First question here so I thank you in advance for any input. Simple situation but a little different from the usual ones, so I want to confirm before proceeding. Small office with less than 10 users. Partnership ending but both are keeping the D…
-1
votes
1 answer

batch file command to continue execution after calling a powershell script which is located outside

Need one command, let me explain my query. I am running a robocopy command using the .bat file robocopy c:\Testing d:\Testing After above command, I am calling powershell script by using below command. powershell.exe -noexit -file…
-1
votes
1 answer

Mounted VHD gives access denied during file copy

I want to copy files from VM to another. I'm running windows 2008 on the VM Manager. Both machines are Server 2012. I tuned them both off. Mounted the VHDs to the manger pc. I can see the both files and folders, but cannot copy. I want to move files…
wlraider70
  • 133
  • 7
-1
votes
1 answer

Robocopy logon script - copy all files, except 1, unless it doesnt exist

Currently have a GPO that calls a batch file at logon, that copyies files from one folder to another: Robocopy "C:\logon" "X:\user1" /mir /r:1 w:1 Exit This overwrites all the files in the destination, which is what I want, but I need to exclude…
soMuch2Learn
  • 333
  • 1
  • 6
  • 16
-1
votes
1 answer

robocopy cannot find path

i have batch script like bellow: SET SOURCE=F:\Diff\For_VOYAGE\models.pck.files\models\players SET DESTINATION=F:\Diff\For_VOYAGE\models.pck.files\NEW\models\players SET LOG=LOG.txt robocopy %SOURCE%\装备\女\印度舞娘时装上衣 %DESTINATION%\装备\女\印度舞娘时装上衣 /E…
hrace009
  • 1
  • 3
-1
votes
1 answer

Robocopy is moving files really slowly

I've had Robocopy running for about 24 hours now...it's moving 2.6million images across a network, and is probably less than 10% of the way through. Is there a faster way to do this?
Paul
  • 221
  • 5
  • 15
-1
votes
1 answer

Copying large file with robocopy during VMWare storage vmotion

if I copy massive files via robocopy during storage vmotion then is there any negative impact ? thanks,
Cell-o
  • 317
  • 4
  • 13
  • 29
-2
votes
1 answer

Robocopy backup with date added BUT don't copy if you already have the files

I have found several posts about adding the date stamp to a backup but what I would like to do goes a bit beyond that. My situation is as follows: Weekly we do manual backups of software apps, databases, alarms, events and such. The day of the week…
-2
votes
1 answer

where can I learn the limitations of /LEV:n option of Robocopy command

Hey I am moving a file server to another datacenter. I use robocopy but I don't know the limits of the /LEV:nutility. Is this "n" can be 100 or something for some crazy admins? I searched but I didn't find any info about the maximum level size of…
1 2 3
18
19