Note that if you are using eBox as your PDC, the method below as
suggested by Radoslav won't preserve computer accounts, nor domain data,
thus you'll need to join all machines to the domain again.

> On 03/16/2010 02:23 PM, O. Sinclair wrote:
>> Hi all,
>>
>> I have 2 servers on different sites running 1.0 of Ebox. I would like
>> to move up to 1.4, if nothing else because I use them as PDCs and
>> Windows7 clients are now coming in.
>>
>> I know there is no official upgrade path so the question is more like:
>> 1. How can I reasonably easy save the user's shared files (both
>> private shares and group shares)?
>> 2. How can i recreate the users and put the user data back without
>> getting some 40 angry users, the assumption being that I do a "total
>> swipe and fresh installation" between??
>
> My guess would be:
>
> 1. write down UIDs of users and GIDs of groups
>
> 2. use tar and gzip to archive all shares (or simply move them to
> somewhere safe) from /home/samba and user directories. It is important
> to preserve attributes and ID-s in archives
>
> 3. Make clean installation
>
> 4. Recreate users and groups with same UIDs and GIDs as they happened
> to be on the old system; create shares
>
> 5. Copy the data back to their new locations (note that you have to
> have users and shares *already* created, so just copy the data from
> *old* directories to *new* directories)
>
> The most important thing here is that your new users and groups have
> to have exactly the same UIDs and GIDs as on the old system. You can
> change everything else, because file sharing doesn't care about that.
> If you preserve correct id-s, there should be no problem accessing
> data just as if it were still on the old system.
>
> You can create users and shares with the old id either by re-creating
> them in order you did with the old ebox, and your new ebox will follow
> numbers. If you can't do that, you can simply create users and groups
> as they are, and then use LDAP tool to manually assign correct UIDs
> and GIDs. After that, do not forget to correct (chown) home
> directories and shares as well.
>
>  Radoslav
>
> _______________________________________________
> ebox-user mailing list
> [email protected]
> http://lists.ebox-platform.com/cgi-bin/mailman/listinfo/ebox-user


-- 

José Juan Montes
Área de Sistemas - Aitire

C./ Príncipe Nº 34, Principal, Oficina 3
36201 Vigo, Pontevedra
Teléfono: +34 986 163 050
www.aitire.es


_______________________________________________
ebox-user mailing list
[email protected]
http://lists.ebox-platform.com/cgi-bin/mailman/listinfo/ebox-user

Reply via email to