ispCP - Board - Support
URGENT RESTORE - 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 RESTORE (/thread-5620.html)



URGENT RESTORE - santerref - 02-05-2009 12:18 AM

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


RE: URGENT RESTORE - BeNe - 02-05-2009 12:38 AM

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


RE: URGENT RESTORE - santerref - 02-05-2009 12:39 AM

Oh Oh Oh Thanks a lot this answer is realy complete and i realy need it thanks again!!


RE: URGENT RESTORE - APOCALIPSIS - 02-05-2009 04:01 AM

(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).


RE: URGENT RESTORE - santerref - 02-06-2009 12:38 AM

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 !


RE: URGENT RESTORE - BeNe - 02-06-2009 01:14 AM

is there a "ispcp" folder insinde ?
Code:
# /etc/proftpd/ispcp
If not, create on.

Greez BeNe


RE: URGENT RESTORE - santerref - 02-06-2009 01:17 AM

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...


RE: URGENT RESTORE - BeNe - 02-06-2009 01:23 AM

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


RE: URGENT RESTORE - sci2tech - 02-06-2009 01:24 AM

(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.