Move user files from Samba server to new samba server
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Move user files from Samba server to new samba server
I have an old PII box that is about run it's limit, that is I can't put any more drives into it and I've run out of space. So I have a newer box that I will have a 30gb hard drive to install Fedora onto and samba too. I will put in a 250gb hard drive for user files. Now my question how to move the current files from the old server to the new? (copy and paste?) Since I will be updgrading from FC6 to 7 will my existing smb.conf file work?
Thanks in advance for your help, I'm a simple home user not well versed on this subject.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
I'm not familiar with Samba in FC6 or FC7, but I believe generically speaking there is a smbpasswd file which has the user accounts and password (encrypted, of course) in that file. If you get FC7 set up on your new box, then you should be able to copy your smb.conf and your smbpasswd file over. I know that this is not the case with Ubuntu.
I copied over my user profiles and various shared directories to my new server. I then copied over my smb.conf file over to the new server. I tired to use the smbpasswd file but that did not work. I had to recreate all my users names, passwords and groups on the new server. All seemed to be going well until I found out that in order to allow my users to access their saved documents I had to give them admin rights to the local PC. the windows admin group is configured to the root on the server, they are one in the same. Need to figure out how to change this, but still give users the access they need to saved documents folders.
I could not get swat to work on the new server, finally gave up. Have a thread in this group but all suggestions were for not.
For remaining problems or questions,
SWAT to work
Users access to their documents without admin rights
How to use CUPS to share a printer slaved off of a users PC.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.