Disk corrupted: files corrupted

Discussion in 'General' started by mike_p, Feb 2, 2011.

  1. mike_p

    mike_p Member

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

    mike_p Member

    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.
     

Share This Page