Current time: 01-24-2022, 08:49 AM Hello There, Guest! (LoginRegister)


Post Reply 
URGENT RESTORE
Author Message
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #1
URGENT RESTORE
Hello i have a big problème !! I realy need your help for today. My server crash and I have to format it. I have the backup of 102 domaine data and mysql. There is a lot of file, subdomain, etc.

Now my serveur have a fresh ispCP installation !! How can i restore all the domaine name with password, mysql database alias-domain etc?

It's really urgent during the time that i'm offline i lose client and money Sad
02-05-2009 12:18 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: URGENT RESTORE
Restore the /etc/passwd and /etc/groups
Import the ispCP DB and set the status "toadd"
Then run the request manager
Now there should every domain and mailuser exist again.
Copy the htdocs and maildirs back
Import the Customers DB

Missed i anything or is there a better/faster way ?

Greez BeNe
02-05-2009 12:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #3
RE: URGENT RESTORE
Oh Oh Oh Thanks a lot this answer is realy complete and i realy need it thanks again!!
02-05-2009 12:39 AM
Find all posts by this user Quote this message in a reply
APOCALIPSIS Offline
Junior Member
*

Posts: 12
Joined: Nov 2008
Reputation: 0
Post: #4
RE: URGENT RESTORE
(02-05-2009 12:39 AM)santerref Wrote:  Oh Oh Oh Thanks a lot this answer is realy complete and i realy need it thanks again!!

Next time... install the system in a openvz virtual machine... you can restore all the system in less than 10 minuts...(you can backup the whole system and then with rsync can maintain a mirror of the machine... then you restory the whole system with a simple command).
02-05-2009 04:01 AM
Find all posts by this user Quote this message in a reply
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #5
RE: URGENT RESTORE
Now i have this problem with the FTP :

Quote:Starting ftp server: proftpd - processing configuration directory '/etc/proftpd/ispcp'

And apache makes error 500
The logs of apache tell me that there is a probleme with suexec !
(This post was last modified: 02-06-2009 12:55 AM by santerref.)
02-06-2009 12:38 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: URGENT RESTORE
is there a "ispcp" folder insinde ?
Code:
# /etc/proftpd/ispcp
If not, create on.

Greez BeNe
02-06-2009 01:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #7
RE: URGENT RESTORE
Yes there is...

Quote:drwxr-xr-x 2 root root 4096 2009-02-05 16:02 ispcp
-rw-r--r-- 1 root root 738 2009-02-05 16:02 modules.conf
-rw------- 1 root root 7617 2009-02-05 16:02 proftpd.conf

Ok now FTP works but not apache, there is always 503 errors...
(This post was last modified: 02-06-2009 01:22 AM by santerref.)
02-06-2009 01:17 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: URGENT RESTORE
And are there some configs per domain inside ?
To Debug you ProftpD stop proftp and start it with:
Code:
# proftpd -n -d5
Then we will see more about the error.

Greez BeNe
02-06-2009 01:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #9
RE: URGENT RESTORE
(02-06-2009 12:38 AM)santerref Wrote:  Now i have this problem with the FTP :
Quote:Starting ftp server: proftpd - processing configuration directory '/etc/proftpd/ispcp'
This is not an error. It is normal with new proftpd.conf.
(02-06-2009 12:38 AM)santerref Wrote:  And apache makes error 500
The logs of apache tell me that there is a probleme with suexec !
It seems that owner / group owner of the home folder is not the one expected by suexec. Search the forum, there is somewhere a script to use for fixing this.
02-06-2009 01:24 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)