Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6511

Re: תשובה ל: Re: תשובה ל: Re: תשובה ל: Re: Backup and Restor 1.96 to 2.3 does"t show users

$
0
0
by Ken Task.  

Oh ... want it all, huh? ;)  Don't blame you!

Importing does have an option for creating a new password, but guess that's not desired either.

Then DB export is only other way.  From the 1.9 DB in mysql:

select username,firstname,lastname,email,password from `mdl_user` INTO OUTFILE "[/path/]users.txt"

Change [/path/] above to suit situation/system, etc.

One needs to edit 'users.txt' to include the 1st line (fields) for importing. 1st line needs to match the data.  And remove any conflicting users as mentioned before.

** One would also need the salt line from the config.php file of the 1.9 Moodle added to (not replacing) the config.php file of the 2.  Password salts are different between servers.

'spirit of sharing', Ken


Viewing all articles
Browse latest Browse all 6511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>