Solved

Folder Structure hidden after Robocopy

Posted on 2014-11-04
8
168 Views
Last Modified: 2014-11-21
Morning all,
  Little strange one here. I am using Robocopy to move files between a Server Hosted in a Data center to local server and then into Azure (don't ask..... due to routing i cant go direct).

DC Server > Office Server > Azure Server

On running the following command robocopy \\10.10.10.1\d$ C:\ClientData /e /ZB /R:2 /W:2 /SEC All the data is copied to the local drive but the folder is not Visable, however if i browse to c:\clientdata the folder will open.

if i then run the next copy job (from the AzureServer) robocopy \\10.10.1.1\C$\ClientData E:\ClientData /e /ZB /R:2 /W:2 /SEC

The drive space is used and again if i type the folder address in it shows up BUT it is not visable using the Computer and browsing to the E drive. I have checked the defaults for the View and hidden files & Folders in case that's the issue.

I may have missed a Robocopy Switch or the original 2011 SBS server may have a GPO hiding something....

Any ideas will be much appreciated,
0
Comment
Question by:ncomper
8 Comments
 
LVL 5

Assisted Solution

by:Abdul Khadja Alaoudine
Abdul Khadja Alaoudine earned 167 total points
ID: 40421278
Sometimes Robocopy may not like using path \\10.10.10.1\d$. Try sharing the source folder, then mount that as network drive, for eg. G:. Then run robocopy "G:\<folder name>" "C:\ClientData" /E /MIR /R:2 /W:2 /COPYALL /NP /LOG+:<Log file name.log>
0
 
LVL 9

Assisted Solution

by:dlb6597
dlb6597 earned 166 total points
ID: 40421480
what do you see if you open a command prompt and do a directory of these locations?

dir c:\clientdata /ah
or
dir c:\clientdata /as
0
 
LVL 5

Author Comment

by:ncomper
ID: 40421992
when doing an /AH


11/02/2014  04:15 PM    <DIR>          .
11/02/2014  04:15 PM    <DIR>          ..
06/25/2014  11:42 AM    <DIR>          $RECYCLE.BIN
11/01/2014  04:20 AM    <DIR>          System Volume Information
               0 File(s)              0 bytes
               4 Dir(s)  36,813,324,288 bytes free

when completing  /as

11/02/2014  04:15 PM    <DIR>          .
11/02/2014  04:15 PM    <DIR>          ..
06/25/2014  11:42 AM    <DIR>          $RECYCLE.BIN
11/01/2014  04:20 AM    <DIR>          System Volume Information
               0 File(s)              0 bytes
               4 Dir(s)  36,813,324,288 bytes free
0
 
LVL 5

Author Comment

by:ncomper
ID: 40421995
i will also try the alternate Robocopy switches this evening.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 9

Expert Comment

by:dlb6597
ID: 40422026
the only thing I can thing  of is that you have access based enumeration enabled? I'm not aware of any robocopy switches that will produce these symptoms.
0
 
LVL 5

Author Comment

by:ncomper
ID: 40423713
i can now see that the folders is checked to be hidden:

Hidden Box Ticked
whats the best way to unhide this?
0
 
LVL 24

Accepted Solution

by:
lionelmm earned 167 total points
ID: 40423722
attrib c:\foldername -h
if you want to do sun directories and files too then try this
attrib -h c:\foldername /s /d
0
 
LVL 5

Author Closing Comment

by:ncomper
ID: 40457146
The file was copied as a system folder..... as per the above showing these in the View resolved the issue
0

Featured Post

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now