Author Topic: Moving NON home directory data from one server to another (Traditional to NSS too!)  (Read 219 times)

Norm O'Neal

  • Administrator
  • Sr. Member
  • *****
  • Posts: 285
    • View Profile
    • Email
 

Well, here's the scoop. Take Novell Storage Manager 2.5 and create an Action Object that performs the copy process for you!!! This is SaWeeeet!

Create the LDIF File

From the Console One Directory drop to a windows command line

ldapadd -x -h 10.1.1.20 -D cn=admin,o=central -W -f

Exampe copy_Data_Dir.LDIF

version: 1

dn: cn=Copy_Program_Dir,ou=nsm_actionobjects,ou=storagemgr,o=central

changetype: add

objectclass: cccFSFactoryAction

cccFSFactoryActionPath1: cn=ESTEACH1_VOL1,ou=eastside,o=central#4#PROGRAM

cccFSFactoryActionOption: 1

cccFSFactoryActionPath2: cn=ccsoes1_eastside,ou=datacenter,o=central#4#PROGRAM

cccFSFactoryActionOperation: COPYDIR

cccFSFactoryActionTrigger: READY

 

Notes: Here is what each line does:

dn=eDir object name

ActionPath1 = Source

ActionOption ParentPath1 - If Directory is NOT there then create the missing Directory

ActionPath2 = Destination

Operation - Copy Data

Trigger - LETS GO!

 

Once the copy process is over, delete the eDirctory Object, change your

paths and import it again! Nice huh!

Thanks to Condrey Backline Support!
 

__________________________________
Norm O'Neal
Novell Users Group of Indiana (NUGI)
norm.oneal@nugi.org
317.919.5765
"Geek by nature, Novell Linux by Choice."