Active Topics          Search          Help
            Register          Login
EMU ~ Installing, Managing, Supporting
 Omni Web Forum : EMU ~ eDirectory Bulk User Management : EMU ~ Installing, Managing, Supporting
Subject Topic: TIP: Bulk Delete or Recreate Home Dirs. Post ReplyPost New Topic
Author
Message
Gordon Welling
Admin Group
Admin Group

Manager Technnical Support Services

Joined: 11-December-2003
Location: Canada
Posts: 608
Posted: 06-September-2006 at 4:24pm

Question:  Is it possible to do a modify on home directories in such a way that you can delete and/or recreate them. 

There appears to be an option to select all the student ids in a container > Modify Home Directory > Delete (which would delete the contents & dir) and > then Recreate the path again (empty home dir).   We'd want to do this in a bulk modify, approximately 25,000 home dirs in a container called STUDENTS on each TREE (since we have approx 43 trees here at this time) or at least 2500 per students container.

Answer:  Yes.  But there is are specific steps you need to go through:
  1. Before you export/delete the home directories, you will want to make sure that you run the following command for all of the student home directories:  Flag *.* -sy -h -ri -di n /s /c   This will flag any of the files in the student directories so they are available to be copied (remove system, hidden, rename or delete inhibit (for Mac files) flags and leaves them flagged as normal files.

  2. Highlight the users for whom you want to export the users home directories.

  3. Export the home directories with the other appropriate information.  This provides the full path.

  4. Select to create a batch file to delete the files after you have confirmed that the move worked properly.

  5. When you import the students into the new location, select the "Copy Directory Contents into Home Directory - Copy Contents directly into the User Home Directory" and identify the correct field in your data file.  When it creates the user, it will copy the data from the original server to the new home directory.  Remember that this can take quite a bit of time and depends on the bandwidth that is available.  You will probably want to run this on multiple workstations at a time if you doing lots of users.


Edited by Aldo Zanoni on 16-November-2007 at 2:54pm
Back to Top
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.0781 seconds.