HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Disk corrupted: files corrupted (http://www.howtoforge.com/forums/showthread.php?t=51234)

mike_p 2nd February 2011 18:26

Disk corrupted: files corrupted
 
I've had a disaster: a disk has failed and my ispconfig installation was corrupted.

I have a recent database backup and have managed to reinstall the ispconfig database. I also have a good backup of my /var/www directory.

What I don't have is the sites-available (:. and sites-enabled) httpd configurations.

Is there a script (or other method) to rebuild all those from the ISpconfig database? [ISPCONFIG 3]

Thanks in anticipation....

mike_p 3rd February 2011 05:31

to partly answer my own question: making changes to the record in the sites section of ispconfig causes the files to be wrtten, so I've manually gone to each site and made a change (eg disabled suexec, saved then renabled and saved).

Interestingly this also causes /etc/passwd group and shadow to be updated so I have not had to restore those from backup.


All times are GMT +2. The time now is 11:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.