Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: cheapschool on May 28, 2013, 11:18:13 pm
-
I had to re-install zentyal (I have the old server, I can ssh in to get data I need), Everything is working, except I would like to copy whatever samba files that I need so that I do not have to re-join all the computers to the domain and copy all their user profiles. How would I go about doing that?
-
Zentyal 2 or Zentyal 3.0 ?
So far, what you will have to retrieve, assuming this is feasible, is stored in LDAP.
-
Zentyal 3.0
How would I get that information out? Is it possible over SSH?
-
First what I can think of: Join the domain with the new server as a domain controller. Sync all domain data. Then you can close down the original server.
-
Robb, this will work only if the replacement server has different IP and former server still live on LAN isn't it?
-
The old server isn't working properly. (http://forum.zentyal.org/index.php/topic,15418.0.html (http://forum.zentyal.org/index.php/topic,15418.0.html) I have more-ish information now on that) I can ssh in and access files, but none of the zentyal modules are working. I ended up remaking it so that people can work today, but as soon as they turn off their pc/logout, the machine trust gets lost, I have to re-join the domain, and the local user profiles get re-created
And as christian pointed out, new server has the same IP as the old.
-
I had the same problem a while ago. Our server had a hardware fault, and due to lack of equipment and difficulty getting repairs quickly here I had to setup a backup server. At one point I wasn't sure what the problem was, so didn't migrate the Zentyal module data over. That meant recreating a new domain.
I managed to get a semi automated structure set up, rsyncing all the profiles and data, script to add the users, another script to set the acls of ntuser.dat etc.
I actually worked very very well, at least for my userbase. The only thing lost was their passwords and their desktop images.
I started writing it up for work for future reference, but I'm not 100% sure I have all the info correct (it was a slightly stressful time).
If any of this sounds interesting to you, please let me know and I can send you further information.
-
It does sound interesting. I ended up migrating by hand. Not so bad, because I only had aproximately 7 computers that needed to transfer. (Although windows XP is super annoying)