AFP548 Changing the world one server at a time.

Export and Import User Command Line

Home › Forums › OS X Server and Client Discussion › Backing Up › Export and Import User Command Line

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #366398
    Anonymous
    Guest

    Hi,

    I would like to export a user on my Xserver via command line for a backup to a different server. I know it’s the nidump command but not sure how to use it for a proper export. After the export I want to import that user on a second macosx server with niload or whatever command is needed.

    Please can somebody post some examples for me.

    Thanks heaps,
    Christian

    #366412
    Anonymous
    Guest

    Macshome thanks for the reply but I am not after the passwords – just basic user info. Have you got any examples for a proper export.

    Thanks heaps Christian

    #366413
    Anonymous
    Guest

    OPS sorry forgot to post the OS it’s a MAC OS SERVER 10.4.2.

    #366427
    Anonymous
    Guest

    Where do the users exist? In the LDAP or NIDB?

    How can I find out which one it is. But I am pretty sure I am using NIDB because when I run this commmand ‘nireport . /users name generateduid’ I get all user id’s.

    What are you looking to accomplish.

    Something very basic :

    1. Export the user info ( gid, uid, shell, using shawdow password, name, shortname etc ) in the command line.
    2. importing that exported user file on a second mac osx server.

    Thanks heaps
    Christian

    #366428
    Anonymous
    Guest

    What I should add is that I need the mail server settings and what password incryption has been used exported as well.

    Thanks again.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.