Need help-ROBOCOPY to move files/permissions from 1 server to anot
I need to move 2GB of files from 1 file server to another, and maintain all
of the security permissions that have been set on each folder/subfolder. I
know that simply moving or copying to a different NTFS volume will cause a
loss of all permission settings...which I need to avoid.
A bit of research shows me that ROBOCOPY is the tool that I need to use, and
I even found a ROBOCOPY GUI tool that I'd like to learn how to use from
TechNetMag Nov2006 (
http://www.microsoft.com/technet/tec...litySpotlight/
My difficulty is - there are a large number of switches, and frankly - I'm
concerned about choosing too many, or the wrong ones.
Would just these 3 be all that I'd need? /S /E /COPYALL
Or would I also need to add /SEC to this?
Should I use the /CREATE switch? The destination path to the new server is
empty.
I'd expect that this is a trivial matter for some...but I'd really like to
set this up right the first time - to avoid errors - especially to the source
data (which is on backup tape...but I'd still rather not fall back to that).
A helping hand would be much appreciated.
--
pbrill1
Re: Need help-ROBOCOPY to move files/permissions from 1 server to anot
"pbrill1" <pbrill1@discussions.microsoft.com> wrote in message
news:AC783DDF-DB3B-4E34-96C7-483490AB0AF5@microsoft.com...
>I need to move 2GB of files from 1 file server to another, and maintain all
> of the security permissions that have been set on each folder/subfolder.
> I
> know that simply moving or copying to a different NTFS volume will cause a
> loss of all permission settings...which I need to avoid.
>
> A bit of research shows me that ROBOCOPY is the tool that I need to use,
> and
> I even found a ROBOCOPY GUI tool that I'd like to learn how to use from
> TechNetMag Nov2006 (
> http://www.microsoft.com/technet/tec...litySpotlight/
XCopy works too. /O (permission and ownership) or even /X (like /O plus
includes auditing too)
RoboCopy is fine but XCopy is included already on every system.
> My difficulty is - there are a large number of switches, and frankly - I'm
> concerned about choosing too many, or the wrong ones.
Test it. Takes a couple of minutes. Copy (a small but interesting) set of
files to a test directory with different permissions etc.
> Would just these 3 be all that I'd need? /S /E /COPYALL
>
> Or would I also need to add /SEC to this?
>
> Should I use the /CREATE switch? The destination path to the new server
> is
> empty.
>
> I'd expect that this is a trivial matter for some...but I'd really like to
> set this up right the first time - to avoid errors - especially to the
> source
> data (which is on backup tape...but I'd still rather not fall back to
> that).
> A helping hand would be much appreciated.
>
> --
> pbrill1
Re: Need help-ROBOCOPY to move files/permissions from 1 server to anot
The best thing with Robocopy is sync...
I've got a folder with 40 gb of data, and everyday I modify 200 mb - 1 gb.
Everynight runs a process with task manager, and sync dest folder with the
changes. With xcopy you can't do that.
"Herb Martin" <news@learnquick.com> escribió en el mensaje
news:uicXHDCnHHA.3512@TK2MSFTNGP06.phx.gbl...
>
> "pbrill1" <pbrill1@discussions.microsoft.com> wrote in message
> news:AC783DDF-DB3B-4E34-96C7-483490AB0AF5@microsoft.com...
>>I need to move 2GB of files from 1 file server to another, and maintain
>>all
>> of the security permissions that have been set on each folder/subfolder.
>> I
>> know that simply moving or copying to a different NTFS volume will cause
>> a
>> loss of all permission settings...which I need to avoid.
>>
>> A bit of research shows me that ROBOCOPY is the tool that I need to use,
>> and
>> I even found a ROBOCOPY GUI tool that I'd like to learn how to use from
>> TechNetMag Nov2006 (
>> http://www.microsoft.com/technet/tec...litySpotlight/
>
> XCopy works too. /O (permission and ownership) or even /X (like /O plus
> includes auditing too)
>
> RoboCopy is fine but XCopy is included already on every system.
>
>> My difficulty is - there are a large number of switches, and frankly -
>> I'm
>> concerned about choosing too many, or the wrong ones.
>
> Test it. Takes a couple of minutes. Copy (a small but interesting) set
> of
> files to a test directory with different permissions etc.
>
>> Would just these 3 be all that I'd need? /S /E /COPYALL
>>
>> Or would I also need to add /SEC to this?
>>
>> Should I use the /CREATE switch? The destination path to the new server
>> is
>> empty.
>>
>> I'd expect that this is a trivial matter for some...but I'd really like
>> to
>> set this up right the first time - to avoid errors - especially to the
>> source
>> data (which is on backup tape...but I'd still rather not fall back to
>> that).
>> A helping hand would be much appreciated.
>>
>> --
>> pbrill1
>
>
Re: Need help-ROBOCOPY to move files/permissions from 1 server to anot
"Jordi Maycas" <jmaycasNOSPAM@hotmail.com> wrote in message
news:elZGPSEnHHA.3888@TK2MSFTNGP03.phx.gbl...
> The best thing with Robocopy is sync...
>
> I've got a folder with 40 gb of data, and everyday I modify 200 mb - 1 gb.
> Everynight runs a process with task manager, and sync dest folder with the
> changes. With xcopy you can't do that.
Why not? You need restartable for errors on your network?
Xcopy has /D for updating only files that have changed.
Same answer though: Just try the RoboCopy on a test set of files.
Another good trick for programs like RoboCopy with extensive command
line switches and help, run this:
RoboCopy >RoboCopy.txt
Now you have all of the help in a text file and you can add any "good"
example commands you test to that file for later use.
--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)
> "Herb Martin" <news@learnquick.com> escribió en el mensaje
> news:uicXHDCnHHA.3512@TK2MSFTNGP06.phx.gbl...
>>
>> "pbrill1" <pbrill1@discussions.microsoft.com> wrote in message
>> news:AC783DDF-DB3B-4E34-96C7-483490AB0AF5@microsoft.com...
>>>I need to move 2GB of files from 1 file server to another, and maintain
>>>all
>>> of the security permissions that have been set on each folder/subfolder.
>>> I
>>> know that simply moving or copying to a different NTFS volume will cause
>>> a
>>> loss of all permission settings...which I need to avoid.
>>>
>>> A bit of research shows me that ROBOCOPY is the tool that I need to use,
>>> and
>>> I even found a ROBOCOPY GUI tool that I'd like to learn how to use from
>>> TechNetMag Nov2006 (
>>> http://www.microsoft.com/technet/tec...litySpotlight/
>>
>> XCopy works too. /O (permission and ownership) or even /X (like /O plus
>> includes auditing too)
>>
>> RoboCopy is fine but XCopy is included already on every system.
>>
>>> My difficulty is - there are a large number of switches, and frankly -
>>> I'm
>>> concerned about choosing too many, or the wrong ones.
>>
>> Test it. Takes a couple of minutes. Copy (a small but interesting) set
>> of
>> files to a test directory with different permissions etc.
>>
>>> Would just these 3 be all that I'd need? /S /E /COPYALL
>>>
>>> Or would I also need to add /SEC to this?
>>>
>>> Should I use the /CREATE switch? The destination path to the new server
>>> is
>>> empty.
>>>
>>> I'd expect that this is a trivial matter for some...but I'd really like
>>> to
>>> set this up right the first time - to avoid errors - especially to the
>>> source
>>> data (which is on backup tape...but I'd still rather not fall back to
>>> that).
>>> A helping hand would be much appreciated.
>>>
>>> --
>>> pbrill1
>>
>>
>
>
RE: Need help-ROBOCOPY to move files/permissions from 1 server to anot
Have you considered DFSR with 2003 R2
http://www.microsoft.com/windowsserv...topdeploy.mspx
"pbrill1" wrote:
> I need to move 2GB of files from 1 file server to another, and maintain all
> of the security permissions that have been set on each folder/subfolder. I
> know that simply moving or copying to a different NTFS volume will cause a
> loss of all permission settings...which I need to avoid.
>
> A bit of research shows me that ROBOCOPY is the tool that I need to use, and
> I even found a ROBOCOPY GUI tool that I'd like to learn how to use from
> TechNetMag Nov2006 (
> http://www.microsoft.com/technet/tec...litySpotlight/
>
> My difficulty is - there are a large number of switches, and frankly - I'm
> concerned about choosing too many, or the wrong ones.
>
> Would just these 3 be all that I'd need? /S /E /COPYALL
>
> Or would I also need to add /SEC to this?
>
> Should I use the /CREATE switch? The destination path to the new server is
> empty.
>
> I'd expect that this is a trivial matter for some...but I'd really like to
> set this up right the first time - to avoid errors - especially to the source
> data (which is on backup tape...but I'd still rather not fall back to that).
> A helping hand would be much appreciated.
>
> --
> pbrill1
Re: Need help-ROBOCOPY to move files/permissions from 1 server to
I took your advice and tested/used ROBOCOPY with the settings that I'd
mentioned I'd use. I might look at XCOPY for other tasks in the future, but
I liked the features provided by ROBOCOPY.
Thanks for all the advice; it helped make my first use of this tool run more
effectively.
--
pbrill1
"Herb Martin" wrote:
>
> "Jordi Maycas" <jmaycasNOSPAM@hotmail.com> wrote in message
> news:elZGPSEnHHA.3888@TK2MSFTNGP03.phx.gbl...
> > The best thing with Robocopy is sync...
> >
> > I've got a folder with 40 gb of data, and everyday I modify 200 mb - 1 gb.
> > Everynight runs a process with task manager, and sync dest folder with the
> > changes. With xcopy you can't do that.
>
> Why not? You need restartable for errors on your network?
>
> Xcopy has /D for updating only files that have changed.
>
> Same answer though: Just try the RoboCopy on a test set of files.
>
> Another good trick for programs like RoboCopy with extensive command
> line switches and help, run this:
>
> RoboCopy >RoboCopy.txt
>
> Now you have all of the help in a text file and you can add any "good"
> example commands you test to that file for later use.
>
>
> --
> Herb Martin, MCSE, MVP
> http://www.LearnQuick.Com
> (phone on web site)
>
> > "Herb Martin" <news@learnquick.com> escribió en el mensaje
> > news:uicXHDCnHHA.3512@TK2MSFTNGP06.phx.gbl...
> >>
> >> "pbrill1" <pbrill1@discussions.microsoft.com> wrote in message
> >> news:AC783DDF-DB3B-4E34-96C7-483490AB0AF5@microsoft.com...
> >>>I need to move 2GB of files from 1 file server to another, and maintain
> >>>all
> >>> of the security permissions that have been set on each folder/subfolder.
> >>> I
> >>> know that simply moving or copying to a different NTFS volume will cause
> >>> a
> >>> loss of all permission settings...which I need to avoid.
> >>>
> >>> A bit of research shows me that ROBOCOPY is the tool that I need to use,
> >>> and
> >>> I even found a ROBOCOPY GUI tool that I'd like to learn how to use from
> >>> TechNetMag Nov2006 (
> >>> http://www.microsoft.com/technet/tec...litySpotlight/
> >>
> >> XCopy works too. /O (permission and ownership) or even /X (like /O plus
> >> includes auditing too)
> >>
> >> RoboCopy is fine but XCopy is included already on every system.
> >>
> >>> My difficulty is - there are a large number of switches, and frankly -
> >>> I'm
> >>> concerned about choosing too many, or the wrong ones.
> >>
> >> Test it. Takes a couple of minutes. Copy (a small but interesting) set
> >> of
> >> files to a test directory with different permissions etc.
> >>
> >>> Would just these 3 be all that I'd need? /S /E /COPYALL
> >>>
> >>> Or would I also need to add /SEC to this?
> >>>
> >>> Should I use the /CREATE switch? The destination path to the new server
> >>> is
> >>> empty.
> >>>
> >>> I'd expect that this is a trivial matter for some...but I'd really like
> >>> to
> >>> set this up right the first time - to avoid errors - especially to the
> >>> source
> >>> data (which is on backup tape...but I'd still rather not fall back to
> >>> that).
> >>> A helping hand would be much appreciated.
> >>>
> >>> --
> >>> pbrill1
> >>
> >>
> >
> >
>
>
>
Re: Need help-ROBOCOPY to move files/permissions from 1 server to
"pbrill1" <pbrill1@discussions.microsoft.com> wrote in message
news:B90D1C79-47B7-4E1B-9F6B-D4515286FF3C@microsoft.com...
>I took your advice and tested/used ROBOCOPY with the settings that I'd
> mentioned I'd use. I might look at XCOPY for other tasks in the future,
> but
> I liked the features provided by ROBOCOPY.
>
> Thanks for all the advice; it helped make my first use of this tool run
> more
> effectively.
There is nothing wrong with RoboCopy other than not being included with
every computer automatically.
Same goes for Perl which I use daily but have to distribute to all of my
machines.
--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)