EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #08717


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] (no subject)


Hi Alex,

You can export users with the following command (where EPRINTS_PATH is likely /opt/eprints3/ or/usr/share/eprints/ and ARCHIVE_NAME is the same as your archive's directory name):

EPRINTS_PATH/bin/export ARCHIVE_NAME user XML > users.xml

You can then reimport with the command:

EPRINTS_PATH/bin/import ARCHIVE_NAME user XML users.xml

The one problem with doing this is that passwords are not exported, so the accounts created by the import will not be able to login, unless you have configured LDAP, Shibboleth or some other form of external authentication.  I have had a brief look and there is not a quick and straightforward to enable password hash exporting.  If you do need this, I can take a closer look at how you might go about doing this.

Regards

David Newman

On 03/09/2021 09:11, Alexander Malik Hidayatullah via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.
hi i'm alex

how to import and export user data eprints.

thanks


--
Alexander Malik Hidayatullah, S.Kom
Pengelola Sistem dan Jaringan
Perpustakaan Pusat UIN Maulana Malik Ibrahim Malang
Jl. Gajayana No. 50 Malang 65144
Mobile: +6285755694466

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

Virus-free. www.avg.com