General discussion

  • Creator
    Topic
  • #2332227

    Copying shares on the folder

    Locked

    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?

All Comments

  • Author
    Replies
    • #3592414

      Copying shares on the folder

      by alpha-male ·

      In reply to Copying shares on the folder

      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 *.* D:\ >

      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!

    • #3593554

      Copying shares on the folder

      by pmarino ·

      In reply to Copying shares on the folder

      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.

    • #3583922

      Copying shares on the folder

      by achat ·

      In reply to Copying shares on the folder

      This question was closed by the author

Viewing 2 reply threads