General discussion

Locked

Copying shares on the folder

By Achat ·
I have a nt m/c where each user has been given a folder which has been shared only for his login. I am now running out of space on this disc and would like to move all the folders to another fresh disk.

i notice that when i copy the folders to a new locn the share and permissions vanish. Can any one help out in creating a script or any other way i can recreate this setup on the new disk. with min of effort?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Copying shares on the folder

by Alpha-Male In reply to Copying shares on the fol ...

There are a couple of utilities right in the NT Resource Kit....Robocopy and Scopy. Both will move files and retain security settings.

per Microsoft:

Scopy's limitations make the utility ill-suited for use with NTFS-based files on file serversor other mission-critical systems. Scopy lacks logging features and is occasionally unreliable during copy operations. For example, Scopy sometimes skips files for no apparent reason and without an accompanying error message. You can work around theutility's lack of logging features by piping the command's output to a text file: Simply place an output redirection symbol and filename at the end of the command line, such as:

scopy *.* \ filename.txt>

Alternatively, you can use the resource kit's Robocopy utility for individual copy and move operations or for ongoing directory replication. Like Scopy, Robocopy supports the preservation of NTFS permissions, auditing, and ownership information during copy and move operations (i.e., if you run it with the /sec switch). The utility also offers several other useful features, such as the abilities to mirror entire directory structures, seed directory structures on a target drive without copying files, exclude files that meet certaincriteria, and restart aborted copy operations at the point of failure. You can use the At command (or Task Scheduler, depending on your NT service pack level) to schedule Robocopy to perform particular file-copy or directory-mirroring tasks at various time intervals during the day. Because Robocopy provides superior flexibility and efficiency, you might even consider using Robocopy in lieu of NT's built-in directory-replication service for intraserver replication of the Netlogon folder's contents.

Hope this helps!

Collapse -

Copying shares on the folder

by Achat In reply to Copying shares on the fol ...

Poster rated this answer

Collapse -

Copying shares on the folder

by PMarino In reply to Copying shares on the fol ...

I did somthing similiar not too long ago. I had to move my whole company's shared and home directories aound on a file server.

The easiest way that i found of doing this is using ghost and doing a partition copy to a new machine. If both hard drives are on the same machine you don't even need to make an image to accomplish this, just desinate the hard drive and the size of the partition and your done.

The only problem with this way is ghost will not work if you have a software raid, so you have you break that before doing it, and it can be a pain for some hardware raids too.

Collapse -

Copying shares on the folder

by Achat In reply to Copying shares on the fol ...

Poster rated this answer

Collapse -

Copying shares on the folder

by Achat In reply to Copying shares on the fol ...

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums