Why is the Splunk Web service not running after an upgrade to 6.2? Learn more »
I'm trying to export and import users (and preferably roles) from one Splunk instance to another with no luck.
This is the process I'm following. When I'm complete, the user accounts do not exist on the second instance.
<code>Create a directory to export the data to (exported.data) [root@splunk /]# mkdir exported.data [root@splunk /]# /splunk/bin/splunk export userdata /exported.data/ Backing up to dir: /exported.data. Exporting /splunk/etc/apps/search/local/savedsearches.conf. </code>
Copy data to another instance
<code>[root@splunk2 root]# /splunk/bin/splunk import userdata -dir exported.data Restoring user data from dir: exported.data. Importing /splunk/etc/apps/search/local/savedsearches.conf. </code>
no accounts, why??