ispCP - Board - Support
URGENT : panic kernel hdd broke.I have backups of the BD - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: URGENT : panic kernel hdd broke.I have backups of the BD (/thread-11144.html)



URGENT : panic kernel hdd broke.I have backups of the BD - sfera - 07-08-2010 07:28 PM

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.


RE: URGENT : panic kernel hdd broke.I have backups of the BD - joximu - 07-08-2010 08:41 PM

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


RE: URGENT : panic kernel hdd broke.I have backups of the BD - sfera - 07-08-2010 09:14 PM

I need save the bind tables?

Thx for advaced


RE: URGENT : panic kernel hdd broke.I have backups of the BD - joximu - 07-09-2010 01:11 AM

ah - bind. Sure.

/etc/bind9/*
and /var/cache/bind9/*

(or similar...)

/J