Current time: 04-21-2024, 12:42 AM Hello There, Guest! (LoginRegister)


Post Reply 
URGENT : panic kernel hdd broke.I have backups of the BD
Author Message
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #1
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
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
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
Visit this user's website Find all posts by this user Quote this message in a reply
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #3
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
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: URGENT : panic kernel hdd broke.I have backups of the BD
ah - bind. Sure.

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

(or similar...)

/J
07-09-2010 01:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)