sfera
Junior Member
Posts: 129
Joined: Oct 2008
Reputation: 0
|
URGENT : panic kernel hdd broke.I have backups of the BD
Hi to all I need help.
my debian dont start for problems with hdd. y try fsck and other but dont work.
I have a backups of all the webs (+150 websites) and backups of all datebases.
I have access in mode rescue to my server and i can mount the sda1.
What files i need to copy after the format for restart later the isp-cp with all datas?
Thx in advanced.
|
|
07-08-2010 07:28 PM |
|
joximu
helper
Posts: 7,024
Joined: Jan 2007
Reputation: 92
|
RE: URGENT : panic kernel hdd broke.I have backups of the BD
if you install exactly the same OS then this may work:
copy: /etc/ispcp, /var/www, /var/mail, /var/lib/mysql (or dump the DB and insert the dump manually), then some other files in /etc:
init.d/ispcp*, postfix/*, poroftpd/*, apache2/*, cron.d/*, crontab.d/*, passwd, group, shadow, gshadow - maybe more???
then:
/usr/sbin/maillogconvert.pl, /var/log/somefiles if you want... - but create the folders!
if you use another hostname not that you need to make the changes...
But maybe it's better to install the newest OS release, install the newest ispcp and then try to import the data (db ispcp, set status of the fields to "toadd") - and later move the data (webs, mails, DBs) and check if the uids are the same!
/J
|
|
07-08-2010 08:41 PM |
|
sfera
Junior Member
Posts: 129
Joined: Oct 2008
Reputation: 0
|
RE: URGENT : panic kernel hdd broke.I have backups of the BD
I need save the bind tables?
Thx for advaced
|
|
07-08-2010 09:14 PM |
|