Exporting users

Enonic version: 6.8.1
OS: Ubuntu

Hello!

I was wondering if it was possible to export users using the toolbox?

I have tried using enonic/toolbox/toolbox.sh export -a su:password -t system-repo:master:/ -s userExport, but i get an error message saying

Instantiation of [simple type, class com.enonic.xp.impl.server.rest.model.ExportNodesRequestJson] value failed: Not a valid repository path

This seems to happen both for draft and master, i also tried different paths, / /system /system/users but they all give the same error message.

Target and source are reversed in your command
It should be the following:
enonic/toolbox/toolbox.sh export -a su:password -s system-repo:master:/ -t userExport

3 Likes

Thanks for the quick reply! PEBKAC as usual :slight_smile:

1 Like