Transfer files between 2 tier network

Currently, our network has 2 tiers: stage and prod. Servers on each environment can't directly connect to the other. They are on different segment. Though servers on both tiers have access to a common share. Developer do not have rdp access to servers on Prod. For now, in order for files to move from one tier to another, administrators who have access to both environment need to manually move the file to the share then they have to log into the destination folder to copy the file over. Is there any way we can make the developer to be able to copy files directly from stage to prod without going through adminstrators? I am thinking about creating a simple script so that files will be copied to the shared from stage then from the shared it will be copied to destination server on prod. However, when I tried that on stage server, robocopy can't connect to prod server.
dongocdungAsked:
Who is Participating?
 
frankhelkCommented:
Just assign a drive letter to it, then it will be accessible to all scheduled scripts.

See the help for the

NET USE ...
command. You might wantto write some script to for file sync scheduled with AT or SCHTASKS.
0
 
becraigCommented:
If this is a long term requirement you might want to look into DFS
http://technet.microsoft.com/en-us/library/cc732863%28v=ws.10%29.aspx

If you are not inclined to take a long term approach you can create a folder in your staging area where you admins will drop files and have a script run in staging that checks for new files and replicate out to your destination where your devs can access it.

Do you have any potential issues such as PII scrubbing etc before moving data from Production environments to giving Devs access ?
0
 
frankhelkCommented:
Hmmm - how about assigning a persistent network drive on the servers, pointing to the share ... that would make the share accessible fulltime on both servers, accessible to whatever script you like to fire on it.
0
 
dongocdungAuthor Commented:
frankhelk....how do you run script from a share?
0
 
David Johnson, CD, MVPOwnerCommented:
create a file watcher script and have it always running via task scheduler
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.