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
2
votes
2 answers

Replacing a fileserver within a domain

We're upgrading our fileserver running on Windows 2008 R2 Standard, and it's part of a Windows 2008 Domain. We would like to migrate the files over retaining all the permission and later reuse the same hostname, it's essentially a swap of hardware…
faulty
  • 235
  • 1
  • 4
  • 14
2
votes
4 answers

Looking for fastest way to sift through old files

We have multiple file servers where I work containing terabytes and terabytes worth of files. We have no system in place currently for archiving/deleting stale data. My task is to create a script that will move/delete files older than 3 years.…
Benjamin Hubbard
  • 173
  • 1
  • 1
  • 7
2
votes
1 answer

Is file copying limited by free space on C drive?

I have some Windows Server 2003 and 2008 boxes that have files I need to copy that are in the range of 20 GB to 80 GB ranges. The 20 GB files transfer without a problem from one server to another using UNC path. The 80 GB files do not. I get a…
2
votes
1 answer

Long 'pause' after copying large files on windows 2008

I have a mystery regarding pauses after file copies on windows server 2008 (and other releases) When copying large files, like vhds, to locally attached USB disks I often see a long pause after the copy has completed 100%. As an example:…
Ian Murphy
  • 1,329
  • 4
  • 19
  • 29
2
votes
1 answer

Robocopy and NTFS Permissions

If as an administrator I remove all permissions from a folder - and set the owner to another user in Active Directory, I will not be able to copy that folder through explorer to another folder/drive or server etc. How come robocopy can? For example…
PnP
  • 1,684
  • 8
  • 37
  • 65
2
votes
3 answers

Robocopy Server 2003 does not support the /mt option

I am doing a rather large transfer (8TB) from inside our network to another network share. Most of the files are ranging anywhere to .1 MB to 15 MB. The machine that I need to do the copying on is Windows Server 2003. I am familiar with robocopy…
Halfwarr
  • 131
  • 1
  • 6
2
votes
1 answer

Mirror directory, only purging files in destination directory older than 7 days

I would like to mirror a directory, but only delete files in the destination directory older than 7 days. Situation: - Directory A is mirrored to Directory B. - A file from Directory A is deleted I would like for that file to remain in Directory B…
user1905482
  • 21
  • 1
  • 2
2
votes
2 answers

Robocopy with local catalog of remote data for incremental backup

I am currently using robocopy to an extremely slow destination. The compare between source and destination files can take a while to run through. Since the destination will never change (apart from the robocopy changes), is there any program that…
Bill
  • 21
  • 1
2
votes
1 answer

Robocopy copies folders but not files

I'm using robocopy on a Windows Server 2008 R2 SP2 machine with the following options: robocopy W:\ E:\old_files\daten1\ /R:1 /W:1 /MIR /COPYALL /ZB /DCOPY:T /MT 50 /LOG:E:\old_files\copy_w.txt robocopy copies all of the folders, but at the…
joe
  • 55
  • 2
  • 5
2
votes
4 answers

Clone a windows server volume over a network -- NOT make an image

I have a 5TB volume (non-bootable) on a Windows Server 2008 box. I need to copy it to another server over the network. Because the volume has 30 million files, filesystem copy tools like robocopy will take forever; I need a block-level copy. The…
Jesse
  • 1,910
  • 3
  • 23
  • 28
2
votes
1 answer

Robocopy and Mercurial

I recently took a new job, and one aspects of the job is maintaining the organisation's Umbraco website. The site was not under source control nor was there a testing environment. Changes were made to a production system with no backups. My…
2
votes
3 answers

Best way to rsync a win2003 on linux

I'm currently dealing with a Windows 2003 (web) server, definitely not my cup of tea. The target is to download and keep synchronized some folders (~55GB) with a linux server. The windows server is somewhere in internet and my connection is a common…
damko
  • 457
  • 3
  • 15
2
votes
1 answer

Copying File into hidden folder

I'm attempting to copy a URL link for our companies library system onto all users workstation desktops. I've tried creating a shortcut via Group policy: User Configuration > Preferences > Windows Settings > Shortcuts however from what I can tell,…
chr
  • 112
  • 1
  • 2
  • 10
2
votes
1 answer

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 and deletes it in the destination also! How do…
Trev
  • 111
  • 1
  • 4
2
votes
3 answers

good, free undelete for windows?

I was using robocopy and accidentally included the /MIR command which deletes everything on the destination drive which isnt in the source - face palm is findNtfs my best option? Ive had luck with this one before. Cheers!
user62521
  • 121
  • 2
  • 4