My harddrive was corrupted, and stuck in read-only mode, therefore I could not create tar.gz cpanel backup archives.
My host Installed new harddrive, installed New OS (Centos 4.2) and reset everything to a brand new server.
They then mounted my bad drive to /backup so I could pull data off of there.
I have having quite a difficult time trying to restore my server via this method.
My old HOME directory is located in /backup/7/
so I 'cp -R -p /backup/7/homedir /home'
Only problem is that I have numbers for usernames for some reason... So is there a way to mass fix the file permissions of all home users?
Secondly, I got the mysql data moved over from /var/lib/mysql, but this does not include accounts. Is there any possible way to restore the username/passwords as well?
Thirdly, The email data in the /home/homedir/mail is there, but I do not see the email accounts listed in cpanel for the website. I can't figure out where this information is stored.
If there is an easier way to do all of this, someone please advise me.
My host Installed new harddrive, installed New OS (Centos 4.2) and reset everything to a brand new server.
They then mounted my bad drive to /backup so I could pull data off of there.
I have having quite a difficult time trying to restore my server via this method.
My old HOME directory is located in /backup/7/
so I 'cp -R -p /backup/7/homedir /home'
Only problem is that I have numbers for usernames for some reason... So is there a way to mass fix the file permissions of all home users?
Secondly, I got the mysql data moved over from /var/lib/mysql, but this does not include accounts. Is there any possible way to restore the username/passwords as well?
Thirdly, The email data in the /home/homedir/mail is there, but I do not see the email accounts listed in cpanel for the website. I can't figure out where this information is stored.
If there is an easier way to do all of this, someone please advise me.