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
1 answer

xcopy & robocopy - Encrypted during transfer?

I need to transfer some files on some windows hosts, as i come from the unix side, i searched for a tool similar to scp or rsync. I came across xcopy and robocopy and searched the manuals for a hint if the filestream is encrypted or not. The only…
embedded
  • 456
  • 1
  • 6
  • 19
0
votes
4 answers

Run scheduled task with other domain user

I have a .bat that copies files from source to destination. The source is the local joined server, the destination is a non-joined computer on the network. I need to run this .bat with task scheduler. What user can have privileges on the destination…
maurice
  • 51
  • 2
  • 6
0
votes
1 answer

Robocopy permission denied as I cannot traverse folders

I am in the process of migrating few NAS shares from one storage to other. I am using robocopy to do the migration. Let me try to explain the issue. Sorry in case if its lengthy. I have cifs share created in my source share\nas-strg1\data. Once we…
0
votes
1 answer

Copy multiple files from different folders to 1 folder

i'm looking for a sollution to copy multiple files from different folders to 1 folder. What I have is that I need to copy files from c:\Customers\folderA\folderB\files copy to e:\FolderB\files The problem is that the "Customers" everytime is…
ptjuh
  • 11
  • 1
  • 4
0
votes
1 answer

Robocopy: How to copy assets from multiple locations to a single location and maintain a log

I have multiple folders containing assets (each folder has subfolders containing these assets .mp3, .txt, .png, etc). I want to copy all this assets along with the subfolder to a single location/folder. I was able to successfully run a robocopy…
0
votes
1 answer

Best direction to synchronize two file servers (with robocopy)

I'am speaking of 'direction' in this questions but maybe it isn't the best word. Please correct me if I'm wrong after the full question. We have 2 file servers, one of them is the active one, and the other is the passive (or backup). We mainly sync…
0
votes
1 answer

Copy folder structure template to current folder

When our users create a new Project folder, I would like it to automatically copy a template folder structure and the template's permissions. So far the only thing I've come up with is a batch script that asks the user for a project name and then…
Fiernaq
  • 41
  • 7
0
votes
0 answers

Best way to spread ~4gb of data(windows updates) to ~50clients

I have a few Windows updates of a few operating systems. Those are made with the program wsusoffline and contain several .cab and .exe files. I got those on a USB. What is the best way to deploy them to around 50clients? I was thinking about putting…
wouter
  • 1
  • 2
0
votes
0 answers

Is this the Right Way to Perserve Owners, Permissions and Attributes when copying files with robocopy?

Note: This example is making a copy of an existing directory to an non-existing prior to copying directory. Note: When my scheduled tasks were giving me an error, this is how I went about attempting to resolve it. Step 1: Copying the Files to the…
leeand00
  • 4,807
  • 13
  • 64
  • 106
0
votes
1 answer

Using robocopy to correct date and time

After using robocopy to copy files to a new drive I realized that all the files and directories creation times had been reset to the time of copying. I now know that is standard for Microsoft. I have seen threads on this site detailing how to avoid…
dkocian
  • 11
  • 1
  • 2
0
votes
3 answers

1GBit copy throughput, protocol independent

I've a question which bothers me since quite some time now. I have several environments and servers. All of them are connected to 1 Gbit ethernet swiches (e.g. Cisco 3560). My understanding is, that a 1 Gbit link should provide 125Mbyte/s - of…
zero_r
  • 2,345
  • 2
  • 15
  • 16
0
votes
1 answer

robocopy says its receiving invalid parameters in when used in powershell script

I'm attempting to use robocopy in a PowerShell script, but currently failing. When I run the following command manually robocopy \\corporatesystem00.local.com\C$\Maven\ \\corporatesystem01.local.com\C$\Maven\ * /e /purge I am able to copy all the…
FilBot3
  • 234
  • 4
  • 18
0
votes
3 answers

Copying files with permissions

We have a new Windows 2008 server and want to transfer over our old files. Tried using Robocopy with /E /SEC /COPYALL, but did not do anything, RichCopy copies the files between the computers but does not maintain the permissions. Any ideas?
Terry
  • 1,073
  • 1
  • 11
  • 17
0
votes
1 answer

Robocopy files to different destinations - per file

I'm trying to mirror a direcory with images to a set of detination folders, where each folder receives only a part of the source directory. Example say the source contains 10 images: 1.jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg, 6.jpg, 7.jpg, 8.jpg, 9.jpg,…
eno
  • 1
0
votes
2 answers

Robocopy not working for Active Directory snapshot backups

I am trying to automate backups of a Windows 2008 Active Directory database (ntds.dit). Mounted AD snapshots get created in C:\$SNAPxxxxxxxxxx\Windows\NTDS. The script below works for creating, mounting, unmounting and deleting AD snapshots. What…
JJBladester
  • 13
  • 1
  • 5