Questions tagged [robocopy]
Robocopy is a command line file copy utility for Windows-based operating systems.
66
questions with no upvoted or accepted answers
4
votes
3
answers
2k
views
Move, and split up, 5TB of data
Here is the scenario:
I have 5 TB (yes, that's a T) of files on a Windows server that I need to migrate to a new server in as short and efficient time as possible. (Think: Robocopy, Rsync, etc as I ...
3
votes
0
answers
2k
views
Copy large amount of file - better to "pull" or to "push"?
I need to copy a large amount from "old" server to "new" server. Both servers are Windows Servers
Is there a difference if I go onto old server, access new server by unc path and "push" files onto ...
3
votes
1
answer
1k
views
robocopy wierd behavior for /copyall
When I use robocopy with /copyall flag, the 1st attempt for the files will be display as "New Files" and the output will display the number of new files copied and other transfer/bytes information.
...
3
votes
0
answers
640
views
server side copy for Linux does not work
I have a NAS embedded Linux device which has Samba4 installed and running.
I have configured a samba share, and I am trying to do server-side copy within that samba share from a client.
This is what I ...
3
votes
0
answers
202
views
Robocopy from one to many
I am trying to use robocopy to update some internal AV clients that are not working. They will update once I the files are copied manually in.
I've tried the following robocopy script, but can't get ...
3
votes
1
answer
588
views
Robocopy: Why you no include same?
So here's my script:
robocopy X:\WebApplications\Harrier\Stage X:\WebApplications\Harrier\production /is /e /xf: web.config
robocopy X:\WebApplications\Osprey\Stage X:\WebApplications\Osprey\...
2
votes
1
answer
581
views
robocopy not retrying failed files
I'm currently trying to fetch old files off of a box of floppy disks and many of the files fail on the first try but copy successfully after a few tries, I'm assuming because the internal cleaning ...
2
votes
0
answers
68
views
Extreme Latency Using Storage Migration Service
Issue Summary:
High latency experienced on LAN when running a Storage Migration Service job -- copy share data from one DC to another. Latency drops considerably when using a simple robo script.
...
2
votes
0
answers
309
views
Which attributes/descriptors are changed by hardlinking a file on Windows?
I'm working on a little backup script using robocopy and hardlinks. My aim is to have differential backups using similar concept as rsync's --link-dest without having to resort to 3rd party tools. For ...
2
votes
0
answers
734
views
Check file size changes before copying.
I need to move files from one directory to another on a daily basis.
robocopy seems to be suitable but my problem is the files are made during some time (spectroscopy raw data) and I need to check ...
2
votes
0
answers
1k
views
Robocopy - change language
Is there a way to change the output language or robocopy?
I have a lot of scripts that run and I find a script that extracts only important info from the output but works only in english which isn't ...
2
votes
1
answer
1k
views
robocopy - if a folder is excluded, but then removed from the source, it is removed from the destination also
I have a robocopy script that uses /xd to exclude some folders in a /MIR copy which works well unless I delete the folder from the source - in which case it does not exclude the folder, it includes it ...
1
vote
0
answers
54
views
Robocopy not copying 66% of files
I need to move the contents of a network share to another location and am trying to use robocopy to do this - robocopy /mir /tee /log:logfile.txt
This runs and returns no errors - but when I compare ...
1
vote
0
answers
80
views
Limit access on network share to a specific computer, Device claim under DAC not working
There are certain confidential data and we want to make sure that is does not get copied by user and eventually leaked out of organisation.
For achieving the same, we have defined a restricted windows ...
1
vote
0
answers
89
views
Strange Robocopy behavior in directory mirroring
I use robocopy to keep some directories synchronized between two iSCSI attached arrays on a Windows Server 2012.
I have noticed strange behavior in Robocopy and have done a test. I created a script ...
1
vote
0
answers
90
views
Robocopy: log output doesn't explain what happened to the total=436 dirs?
Total Copied Skipped Mismatch FAILED Extras
Dirs : 436 0 11 0 0 3
Can you explain that output of robocopy? I've used the /MIR parameter. What ...
1
vote
0
answers
366
views
How do I use Power Shell to copy folders from local to remote Linux Server
I am trying to make a script that will let me update the files on the server by copying then from local. I made a bash script for this task that works on Linux, but a Power Shell script is also needed ...
1
vote
0
answers
268
views
robocopy, no access to certain file vs not being allowed to use that kind of command
I want to make an exact copy of a Windows User Profile and I thought robocopy would be the right tool for such a task. Now I am facing a little paradox situation
run robocopy as admin
robocopy C:\...
1
vote
0
answers
160
views
Q: How Robycopy deals with pointers to directories (short-cuts)
For example, in the statement below
robocopy %src% %target% copy:DATSO
the parameter %src% may be a pointer to a directory.
In my case, Robocopy FAILED TO COPY the content the pointer is pointing ...
1
vote
1
answer
2k
views
Moving a lot of files with robocopy and 7zip
With the help of StackOverflow and a number of other places I've created the following script, the purpose is to look at a folder and it's subdirectories, if the files are older than 32 days -> move ...
1
vote
0
answers
958
views
Is Using Robocopy /B pointless as an Administrator?
From what I can tell, the /B switch only seems useful to grant a limited user the ability to make backups. Am I correct on this?
1
vote
0
answers
74
views
Local Hard disk IO of robpcopy on copying file across remote PC
Robocopy is running in local machine in india and files are copied between remote machines in USA . command is indiamachine> robocopy \usamachine1\src \usamachine2\dest .in this scenario does files ...
1
vote
0
answers
446
views
Robocopy and IIS log date modified behavior
I am trying to create a mechanism (in my case Robocopy wrapped in PowerShell) that will back up IIS logs from all of our web servers into a central CIFS share. As you'd expect, I've had issues with ...
1
vote
2
answers
2k
views
robocopy fails copy with multiple options
Using robocopy trying to copy files from network drive to local workstation folder with some options, but getting the error 123, 1314. The filename, directory name, or volume label syntax is incorrect ...
1
vote
1
answer
364
views
Full backup, files copy or VSS for disk replacement on a Windows 2003 server?
I have to replace all disks of a Raid 5 volume for more space on a Windows 2003.
I want to see what is the more reliable method to backup or move data of this volume (about 800 Gb).
In first I was ...
1
vote
1
answer
1k
views
Overriding destination directory from ROBOCOPY Job file?
I am using Robocopy for backing up my project directories to an external disk, and it works like a charm.
Except for one little issue: sometimes, I wish I could override the destination directory ...
1
vote
2
answers
603
views
Software for moving files and leaving shortcuts
i want to move files from my server to another server. This is working fine with robocopy but now i want to leave a shortcut in the old source directory with the same name like the moved file pointing ...
0
votes
0
answers
106
views
Robocopy getting access denied but Copy isn't
For Offline work purposes, I was asked to copy users Network drive to their local machines and then from that point forward keep the two sync'd up.
I am having a weirdly hard time even starting this ...
0
votes
0
answers
38
views
Windows Server 2016 File Server GPT (4K cluster size) to GPT (8K cluster size) (or Robocopy)
We are replacing our GPT partitioned E:\ drive which is out of space, and migrating those files over to the new F:\ drive which is GPT.
The directory tree will stay the same.
E:\ drive 15TB (4K ...
0
votes
3
answers
219
views
Robocopy only copy *.vhdx files in root folder
how can I copy with Robocopy only *.vhdx files in the root directory?
It is important to me that the file attribute and secuirty is preserved.
I used
robocopy \\Server\Users ServerNew\Users /sec /mir /...
0
votes
0
answers
216
views
Start-Process argument list includes nested quotes - still possible to do?
After searching for answers and trying many things, nothing is working.
Goal: Run robocopy from within Powershell in order to grab the latest 30 days of files from a user's home directory, omitting ...
0
votes
0
answers
180
views
Copy files from the same subdirectory to the same Directory in Windows
I am having a hard time describing the problem and I can't find the solution anywhere so here is an example
SourceFolder\ProjectA\Legal\ContractA.txt
SourceFolder\ProjectB\Legal\ContractB.txt
...
0
votes
0
answers
112
views
How to merge two data sources with slightly different folder names
How can I copy all .msg files that are spread throughout some GUID sub-folders in one folder to another folder that has a slightly different folder name at the end. Is it possible?
So for example:
...
0
votes
2
answers
2k
views
How to copy with robocopy the time attributes without re-copying the files
I transferred the files to a new disk but found that files with the wrong year (1980) and these files I can't open with Photoshop.
I would like to copy the time attributes from the first drive to the ...
0
votes
1
answer
484
views
copying many folders with not inherited permissions
So we have this folder with hundreds of user folders (not sure what they are used for but there is mostly Desktop, Documents and Favorites). We need to back them up to another disk, but the problem is ...
0
votes
0
answers
1k
views
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-...
0
votes
2
answers
491
views
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. ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
629
views
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 ...
0
votes
2
answers
626
views
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 ...
0
votes
1
answer
481
views
Lock-Bitlocker after Robocopy - access denied
I'm trying to create a backup script that unlocks an external bitlocker drive, robocopies files to it, then locks it when it's done. I am able to unlock and copy just fine, but the final step of "Lock-...
0
votes
0
answers
4k
views
Robocopy - ERROR 87 (0x00000057) Accessing Destination Directory
I'm currently using a robocopy in a loop performing the following command over a number of different directories:
robocopy $sourceFolder $purgeFolder /MOV /LEV:0 /MINAGE:$OlderThan
All source folder ...
0
votes
2
answers
657
views
How to keep a local folder’s contents synchronized with a network share? (Windows)
I would like to have a local folder on all of my domain connected computers kept in sync with a share on one of my servers.
Only Domain Admins and the SYSTEM account should have Modify permissions to ...
0
votes
1
answer
585
views
Robocopy for only deltas in a certain time frame
Is there a way to utilize Robocopy to target only files/folders that were modified within a certain time range? For example, if there is a file share with n-number of folders/files dating back several ...
0
votes
0
answers
711
views
Permissions: Robocopy vs NTFS
It seems that NTFS rules take precedence over Robocopy when copying folders from one volume to another. Is there a way around this?
Example: Copying a folder from one volume to another using the ...
0
votes
1
answer
90
views
How can I Robocopy between servers and just manage the deltas without destroying existing content?
I've been playing around a bit with Robocopy on my local machine, and I'd like to do it between different servers now. I've stood up a server and created a blank folder called "Test2." On my local ...
0
votes
0
answers
3k
views
What is the cause of ERROR 1327 "Account restrictions are preventing this user from signing in..." when ROBOCOPY is copying files?
I am using ROBOCOPY to copy some files from a remote share to a local folder on a server. The file set is fairly large (about 500,000 files). The copy process starts and runs successfully for an hour ...
0
votes
2
answers
568
views
Use Robocopy or Powershell to search folder, rename and move
I'm trying to figure out a solution for this
ex. paths
C:\Designs\CustomerA\PhotoshopFiles\
C:\Designs\CustomerB\PhotoshopFiles\
C:\Designs\CustomerC\PhotoshopFiles\
What I want to do is move the ...
0
votes
0
answers
134
views
Is there a tool that allows mirroring of a merge of two source directories onto the given target directory without intermediate copying/moving?
robocopy makes it easy to mirror a single directory onto a target directory.
But what if I have two source directories with disjoint sets of files and I want the merge of them to be mirrored? I do ...
0
votes
0
answers
831
views
Invoke Powershell Script Async? (Robocopy)
Our Backup Script runs every day. At the end of the month, every file should be moved to the "Staging" location, in order to be copied "to tape"...
So, I wrote a PS-Script, moving all the files. ...