#1  
Old 14th April 2006, 21:58
retran retran is offline
Junior Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 2 Times in 1 Post
Default Recreating ISPConfig database

Is there in existence a script that would create the ISPConfig database based on information still on a server? For instance gleaning what can be gleaned from the apache conf file, existing files & directories from a previous ISPConfig installation (where the database is no longer available).

Maybe a little backround to my issue, I had a failed ISPConfig upgrade occur some time ago in such a way that my database was gone and through some attempts realized it was gone for good because at the time the ISPConfig upgrade process created the backup database on the Temp device, and that device happend to be full at the time on my server, and the upgrade process continued on anyway even though the backup failed, the next part of the upgrade process being to wipe out the old database in preperation for the new one, to be repopulated with the old data in the revised schema through some script within the upgrade process. I notice this small issue has been resolved through the latest bugfix.

My server has been functioning fine serving web pages, ftp, and email based on how they were last configured before the ISPConfig database was lost. But alas the time has come where I want to create more websites, manage email users and ftp accounts through a nice web-based interface once again.

My thinking is perhaps a script of some sort (if in existence) could create at least a shell of an ISPConfig setup by parsing info from the ISPConfig generated apache conf file, this way the websites are at least recognized and then alterable in the ISPConfig panel (even if they were under some single ISPConfig user). Or maybe its not worth any of the effort in this direction and I should just go about recreating my 100 website accounts manually through looking at the apache.conf file by eye? If anyone has any suggestion or know of previous similar attempts it would be appreciated.

Last edited by retran; 14th April 2006 at 22:00.
Reply With Quote
Sponsored Links
  #2  
Old 15th April 2006, 11:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

I dont think that such a script exists yet.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 15th April 2006, 23:22
retran retran is offline
Junior Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 2 Times in 1 Post
 
Default

Could I be pointed in a direction of where documentation is to properly manipulate the ISPConfig database for the current version... as in using the schema (wich I think I already have)?

I just would need to know how to properly add in website entries, and the ftp usernames to the database to avoid alot of trial & error nonsense. Parsing big ugly apache files and ftp config files I can figure on doing. Just need to know how to apply that info to the database. This is my thinking right now anyway.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access ispconfig site Nu2Linux Installation/Configuration 13 3rd January 2009 15:29
How to build packages that can be installed with the ISPConfig update function. till Tips/Tricks/Mods 3 18th February 2008 13:10
Mail System doesnt work! crichton Installation/Configuration 3 17th September 2007 23:49
Users and websites aren't created Glorfindel Installation/Configuration 9 23rd February 2006 04:20
42goISP vs. ISPConfig nveid General 1 16th January 2006 09:07


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


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