[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

Redirecting Network File Paths

Hello,

I am in the process of moving a considerable amount of files from one network to another.  I am using a series of control XML files to define the files that are being migrated from my old network.  My problem is that I will now need to import these files into the software I am using on my new network.  I would like to do this by referencing the control files I have already created, but the network files paths will be incorrect.  Changing these files paths manually or through an automated fashion, will be troublesome as the XML files are spread out of a wide range of directories containing nearly 50,000,000 assets.

So what I would like to do is implement some sort of logic at the system or network level that detects when a certain file path from my old network is called that it redirects the path to a path that works in my new network. So for example:

\\old_network_share\directory_0001

gets redirected to:

\\new_network_share\directory_0001

I thought there was a way to do this on Windows servers through the hosts file, but I can't figure it out.  Can someone please help me?

Thank you!
0
bgsullivan
Asked:
bgsullivan
  • 2
1 Solution
 
freerCommented:
There's a Microsoft File Server Migration Toolkit that is meant to help with this scenario:

http://www.microsoft.com/windowsserver2003/upgrading/nt4/tooldocs/msfsc.mspx

There's also a KB article: http://support.microsoft.com/default.aspx?scid=kb;[LN];829885

Tim

0
 
freerCommented:
You can also try adding a second CNAME for the new server to match the old server. For this to work you must disable strict name checking, see:

http://support.microsoft.com/?kbid=281308

Tim
0
 
milduraitCommented:
When you are talking about host's file, you are talking about resolving domain names.
Setting entries in the hostfile or dns resolve names to ip addresses.
So in theory using dns/hostsfile you could have the server named "old_network_address" resolve to the ip address that is now assigned to the server named "new_network_address".
But it would not be possible, as far as I am aware to resolve a network path name to an ip address because backslashes (\) are not legal characters in host names.
0
 
bgsullivanAuthor Commented:
Sorry for the delay.  I wanted to test this from the office and then forgot about resolving the issue here.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now