Browsing articles tagged with "robocopy - 3/4 - Admins Goodies"
Aug 21, 2011
tom

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 course this is theory. But at least it should reach ~100Mbyte/s. The problem here is, that one copy process only reaches ~20Mbyte/s. I’m aware of these factors but they don’t make any […]

Continue Reading »
Aug 21, 2011
tom

Server 2008 robocopy access denied to user folders + /B error I don’t understand

This is a two-parter. A) Trying to do this in server 2008, with command being run by domain admin: Robocopy serverc$users D:backupfolder /MIR I get “Access Denied” on all files in the user folders. This works on any server but 2008 though, so it must be the new security structure. B) After reading, I attempted the /B for “backup mode” switch on robocopy. This says the following error: ERROR : You do not have the […]

Continue Reading »
Aug 20, 2011
tom

Get robocopy to copy completely silently

Is it possible to run robocopy in some sort of “completely silent” mode? Any command-line utility can be made completely silent by redirecting stdout and stderr to the special file ‘nul’. This is Windows’ equivalent to /dev/null on *nix systems. command >nul (stdout is not echoed)command 2>nul (stderr is not echoed)command >nul 2>&1 (neither stdout nor stderr is echoed) The latter is the one you want to make it completely silent. Check more discussion of […]

Continue Reading »
Aug 20, 2011
tom

Copying large amount of data between volumes on Windows 2008, fast method?

I need to copy data from/to very large volumes (2TB) on a Windows 2008 Server. Are there any tools I should consider using that maximizes throughput (hopefully with a resume-function)? I’ve always used copy/paste, wich have worked fine when I don’t need resume – but this copy operation probably needs some pausing at intervals. I personally really like robocopy. In Server 2008 they added multi-threaded copy to it. http://blogs.msdn.com/granth/archive/2009/12/07/multi-threaded-robocopy-for-faster-copies.aspx Ross Check more discussion of this […]

Continue Reading »
Aug 20, 2011
tom

RoboCopy errors on Windows Server 2008

I am getting bizarre error with RoboCopy in Server 2008. It will randomly hang with “The specified network name is no longer available.” error. Once that happens, it will continue to fail on the retries. But of course the remote server IS still available on the network and can be reached with other tools. I think it must be somehow permission related but I can’t figure out what is wrong. Any ideas would be much […]

Continue Reading »
Aug 18, 2011
tom

How to get robocopy running in powershell?

I’m trying to use robocopy inside powershell to mirror some directories on my home machines. Here’s my script: param ($configFile)$config = Import-Csv $configFile $what = “/COPYALL /B /SEC/ /MIR” $options = “/R:0 /W:0 /NFL /NDL” $logDir = “C:Backup”foreach ($line in $config) { $source = $($line.SourceFolder) $dest = $($line.DestFolder) $logfile = $logDIr $logfile += Split-Path $dest -Leaf $logfile += “.log” robocopy “$source $dest $what $options /LOG:MyLogfile.txt” } The script takes in a csv file with a […]

Continue Reading »
Aug 18, 2011
tom

Alternative to robocopy /MIR

We run a number of web apps that store a lot of local data in small xml files. One part of our backup / recovery strategy is to produce a local mirror of the file system via a VPN to the hosting centre. The VPN connection is only via a 12Mbps ADSL and whilst there are a lot of files and directories, the actual number of files that changes is quite small. Although the bandwidth […]

Continue Reading »
Aug 17, 2011
tom

is ROBOCOPY a good form of backup as a tool?

seeing how it does not do a write verify unless scripted (or is it needed?) is it a decent option to dump a few folders to another server? i am just worried about whether the data, after being copied, might be corrupted but you would not be aware of it being buggy? i have used it in the past without issue but am seeking feedback in case i missed something obvious. Robocopy is an excellent […]

Continue Reading »
Aug 17, 2011
tom

RoboCopy fails with “the specified network name is no longer available”

We have a scheduled task that runs robocopy periodically to mirror a rather large folder structure from one server to another (thousands of folders, 100,000+ files, 50+ GB in size). There is a share on the receiving server where the mirror gets stored. We’re running the task from the origin server connecting out to the share on the receiving end. Both servers run Windows Server 2003 and are connected to the same network switch (100Mbps). […]

Continue Reading »
Aug 16, 2011
tom

Hudson copying files with Robocopy

I have hudson setup on a CI server, I’m using robocopy to copy files across to a webserver. I’m having some problems with exit codes. Robocopy reports so many different exit codes for success and failure, hudson doesn’t understand them and reports anything other than 0 as a failure. I though I’d managed to get around this by calling robocopy to do the same job twice. So the first time it does the task and […]

Continue Reading »
Pages:«1234»