Hi! I wish to move my Samba 4 server to a new box. Since the old one is pata and the new one is sata, I cannot simply swap disks. What is the best way to transfer my server without loosing configuration files? Thanks -jimc
On Fri, Jan 17, 2014 at 2:19 PM, jimc <jesmeyano at gmail.com> wrote:> Hi! > > I wish to move my Samba 4 server to a new box. Since the old one is pata and > the new one is sata, I cannot simply swap disks. >while you can't simply swap disks, you can simply image the old disk onto the new one. you might have to rebuild the initrd using a rescue disk, depending on what your distro defaults are
Dne 17.1.2014 21:19, jimc napsal(a):> Hi! > > I wish to move my Samba 4 server to a new box. Since the old one is > pata and the new one is sata, I cannot simply swap disks. > > What is the best way to transfer my server without loosing > configuration files? > > Thanks > > -jimc >Hi! I have used this procedure to migrate from x86 to x64 (works great). Good luck... http://wiki.samba.org/index.php/Backup_and_Recover Orinh
Hello, Am 17.01.2014 21:19, schrieb jimc:> I wish to move my Samba 4 server to a new box. Since the old one is pata > and the new one is sata, I cannot simply swap disks. > > What is the best way to transfer my server without loosing configuration > files?What kind of Samba 4 installation do you have? An AD or an NT4-style Domain? And is your server a member or a DC/PDC? But if you configure the hostname and IP on the new machine the same than on the old one, you simply have to move /usr/local/samba/ (or the other places, where you have configured Samba to be located in) to the new machine. I the architecture x86/x64/... does not change, this should work. Otherwise I guess you have to recompile and install the binaries/libraries/... over your existing installation. The database files are, as far as I know, platform indepentend. Regards, Marc