Windows Server 2003
1825737 Members
2460 Online
109687 Solutions
New Discussion

Re: Problem in Robocopy

 
Utpal Prajapati
New Member

Problem in Robocopy

Hi,
First time I am using robocopy cmd for daily backup from my server to backup device. I make one bat file and its working but its copy only data which is in folder,not from the subfolder.
I will explain with example like there is one folder in user with utpal. There are some files and subfolder in that utpal folder. So its copy only that files which are in utpal folder not in subfolder.
The cmd which I am using is given below.

robocopy \\proxy-web\data\users x:\files\users * /COPY:D /B /E /MIR /M /COPY:D /R:0 /W:0

Thanks,
Utpal
2 REPLIES 2
Rune J. Winje
Honored Contributor

Re: Problem in Robocopy

You could try adding /S in addition, but I thought the /E should include both subfolders and empty subfolders...

Also make sure you are using the XP010 version of robocopy.

Also your current copying copies only the files, not the permissions and owner info.
Replace /COPY:D with /COPYALL or the equivalent /COPY:DATSOU if you want permissions and owner information also to be copied.


Cheers,
Rune
Utpal Prajapati
New Member

Re: Problem in Robocopy

Still I facing this problem. I am using 5.1.1.1010 version.

Can you send me the command line with all necessory options?

Thank you,
Utpal