Best way to move accounts - no control panel
I'm moving some sites from a server with no control panel (redhat 7.2), to a cpanel (redhat 8.0) server and was wondering if this is the way to go:tar -zcvf site.tgz directory
where site is the site you are zipping up and the directory is where the files are you want to move. Then FTP the tar file to a different server and untar
tar -zxvf site.tgz
I would only tar the www (web) directory on the old server, and then untar it in the public_html folder on the new server.
- change ownership of the files:
cd /home/newsite/public_html
chown -R newsite.newsite
As for mysql databases, I'll be doing a phpmyadmin dump, then uploading it via phpmyadmin on the other side (to a new database).
And finally, recreate any email accounts.
Anything I'm not thinking about here?