Re: Fileserver consolidation




"Axel Schwenke" <usenet_spam@xxxxxx> wrote in message
news:Xns9A958644A9AEDusenetspamgmxde@xxxxxxxxxxxxxxxx
Hi there!

My task is to consolidate three fileservers into one.

Today the structure is like this:

Source Server FS1/2/3:
d:\dept1\Smith
d:\dept1\Miller
d:\dept1\groupfolder-dept1
...
d:\dept2\Taylor
d:\dept2\King
d:\dept2\groupfolder-dept2
...

Destination Server FS-new:
d:\home\%username_a-to-o%
e:\home\%username_p-to-z%
d:\depts\%deptname%

Now I got two partitions on one big server that can be filled with the
files of the users.
I want to fill d: of the new server with files from users from A to O and
drive e: should store the users from P to Z.

I want to use robocopy to copy all files from the servers to the new one.
But it would be hard to copy and edit one line per user. There are abt.
250
users.

Do you know a way to copy only the files from users A-O to the one and P-Z
into the other drives. Of course I need to transfer the NTFS-rights with
the files.

TIA and greetings
Axel

Your use of the "Dept" name is a little unclear but basically
you could use this batch file to copy your user folders to
two different drives:
@echo off
set source=D:\Dept1
cd /d "%source%"
for /d %%a in (*.*) do call :Copy %%a
goto :eof

:Copy
set Dir=%*
if %Dir:~0,1% GTR P (set drive=E:) else (set drive=D:)
echo robocopy "%source%\%Dir%" "%Drive%\Home\%Dir%" *.*

Remove the word "echo" in the last line to activate the batch
file.

It would be a good idea to use the same batch file to create
the user shares on the target server, e.g. like so:
net share "%Dir%"="%Drive%\Home\%Dir%"


.



Relevant Pages

  • Re: Access Denied Error -- Reading Text File in .BAT program
    ... without seeing the whole batch file I am unable to offer any further ... echo Start %date% %TimeMarker%>> c:\test.txt ... on the server console. ... It is strange the file disappears completely after using the NET FILE ...
    (microsoft.public.scripting.wsh)
  • Re: RAID on server
    ... Please confine your questions to one server at a time. ... Raid5 will give you space equal to the number of drives added together - ... controller supports it. ... so just take in what I was told) And I have to get the RAID working. ...
    (microsoft.public.windows.server.sbs)
  • Re: Mapping a network drive
    ... Colm Field wrote: ... was doing a DIR on a server path that required me to log on. ... Or is this a login script for your workstations, as I'd expect (can't see why a server should be mapping drives anyway). ...
    (microsoft.public.win2000.general)
  • Re: Access Denied Error -- Reading Text File in .BAT program
    ... - Add three statements to the batch file, two at the start, one at the ... echo Start %date% %TimeMarker%>> c:\test.txt ... on the server console. ... It is strange the file disappears completely after using the NET FILE ...
    (microsoft.public.scripting.wsh)
  • Re: Moving computer and user accounts over to a new server
    ... If we are all familiar with the idea that you can mirror a pair of drives, ... Now you build a different server as you described, ... Essentially that is the core of a process that I've written a migration ... I would say that 1 in 50 SBS techs at most would find the entire ...
    (microsoft.public.windows.server.sbs)