Riva CRM Integration - Documentation and Knowledge Base

How to Move Home Directories

Article ID: 142
Last updated: 13 Oct, 2010

Before using EMU to "move" user home directories, please do a FLAG command on the users` directory structure to remove any HIDDEN or READ ONLY, DELETE INHIBIT rights for files and directories.  The commands should be something like:

Flag *.* -sy -h -ri -di -ro /s /c /fo
Flag *.* -sy -h -ri -di  /s /c /do

There are actually two ways to use EMU to "move" user home directories.

Option ONE

  1. Highlight the users whose home directories you want to move.
  2. Right-click and select the Modify Account(s) Option.
  3. Select the Home Directory Tab.
  4. Select the Copy Home Directory Option.
  5. Check off the Copy Home Directory option and Select Destination will appear.
  6. Browse through the volume to locate the parent home directory.
  7. (Optional) Select "Create a Batch File to Delete Home Directories." This creates a batch file that you can run after confirming that the data was properly copied to the new location. Although this adds an extra step to the process, it ensures that you control when you want to delete the original user home directories.
  8. Select Modify
  9. After you have confirmed that the files have been properly copied and the NDS Pointer to the Home Directory has been properly updated, double-click on the batch file. This will delete the users home directories. You will need a copy of DELTREE for this to work.

Please note that any files that are flagged as hidden or system files, open files or other "locked" files such as temporary files that are in the user home directories will not be copied to the new home directory destination.

Option TWO

This is probably the quicker method. If the home directory destination parent is the same for all of your users (or a large number), or if the home directory locations are the same for all users in a particular context, you can use the following steps:

  1. Use NCOPY, COPY or a tape backup/restore process to copy the data to the appropriate destination.
  2. Highlight the appropriate users in EMU.
  3. Select Right-click and select the Modify Account(s) Option.
  4. Select the Home Directory Tab.
  5. Select the Modify Home Dir. - Adv. option.
  6. Check off the Reassign NDS Home Directory Pointers and identify the New Parent Directory.
  7. Select Modify to continue.

After the modification is finished, you might want to change the default Trustee Assignments to the home directories. This is done by selecting the students a second time and selecting the Modify Home Dir option. This will allow you to re-assign Trustee Assignments to the new user home directories, set Home Directory Size Limits and set Volume Size Limits on the volume containing the user Home Directory.

Article ID: 142
Last updated: 13 Oct, 2010
Revision: 1
Views: 5763