S2S-Robert
Verified User
We're going to order a new server because of connectivity problems with the current one, now we will still be using DA so I'd like to transfer all the accounts from the first server to the second. My main question is : how do I do it? I should mention that I'm currently running redhat 7.3 and will be going to redhat 9.
I've been reading up on tarring /home with the -P option and then untarring them on the new server. I don't know however if the chown is correct afterwards if I use the root login. Then I'd need to recreate the accounts on the new server, will I have to do this by hand or can I just tar /usr/local/directadmin ? If I do that, I'll have to recreate every other directory as well (mail, named etc.). I was thinking of manually adding each user and then untarring his home directory. This will ensure everything is properly set up from within DA and I've not forgotten anything.
Or I could just create the backup file from within the control panel and transfer it to the new server. This would be nasty if the number of accounts was enormous, but luckily (?) it's doable.
Then the last part is concerned with the DNS. Should I just change the primary nameservers ip addresses from my registrar and then everything automatically changes as well? (this is ofcourse after I've recreated the accounts on the new server).
I've been reading up on tarring /home with the -P option and then untarring them on the new server. I don't know however if the chown is correct afterwards if I use the root login. Then I'd need to recreate the accounts on the new server, will I have to do this by hand or can I just tar /usr/local/directadmin ? If I do that, I'll have to recreate every other directory as well (mail, named etc.). I was thinking of manually adding each user and then untarring his home directory. This will ensure everything is properly set up from within DA and I've not forgotten anything.
Or I could just create the backup file from within the control panel and transfer it to the new server. This would be nasty if the number of accounts was enormous, but luckily (?) it's doable.
Then the last part is concerned with the DNS. Should I just change the primary nameservers ip addresses from my registrar and then everything automatically changes as well? (this is ofcourse after I've recreated the accounts on the new server).