[Samba] sernet <-> self compiled migration

d tbsky tbskyd at gmail.com
Mon Nov 9 09:16:33 UTC 2015


hi:
   I am using RHEL7.

   when I upgrade samba AD from 4.1 to 4.2, I migrate from self compiled to
sernet package, so I move files manually from /usr/local/samba/var to
/var/lib/samba and /var/cache/samba.

   now I want to upgrade to 4.3, this time I need to migrate from sernet
package to self compiled (unlucky me). and I found this time move files
back to /usr/local/samba/var is harder, since I need to know which file
belongs to which directory.  I know some content of the directories can be
auto-recreated, so I don' t need to preserve them. but I want to make sure:

/usr/local/samba/var/cache -> will it auto recreate and I can skip files in
it?
/usr/local/samba/var/lock -> will it auto recreate and I can skip files in
it?
/usr/local/samba/var/locks -> I think this is critical and I need to move
files belongs here correctly?
/usr/local/samba/var/run -> I am not sure about this directory. should I
move any files back to it?

thanks a lot!!

Regards,
tbskyd


More information about the samba mailing list