Quote:
|
Originally Posted by eldaria
Is there perhaps a developer here who knows how ISP config behaves when importing an existing database into a clean system?
Does it create all the nessesary directories and entries in files?
|
ISPConfig does not recreate the items when you import a existing database, but you can manipulate the ISPConfig database to let ISPConfig behave like the webs where newly added and it will make the directories and users for you.
1) Install the same ISPConfig version then on your old system.
2) Make a backup of the new database, then replace everything in your new database with the data from your old database exxept of the tables isp_server, doctype and isp_server_ip.
3) Use e.g. phpmyadmin to set the field "status" to the value "n" (n = new) in the tables:
isp_isp_web
isp_isp_user
dns_isp_dns
isp_isp_domain
isp_isp_datenbank
4) Change one value in one website, e.g. the quota value in the ISPConfig interface and ISPConfig will start to write all websites and users to disk again.
The only thing ISPConfig is not able to restore are the passwords for the users as they are not stored in the ISPConfig database, they are only stored in /etc/shadow and if I read the thread correctly you have lost this file?
Recent comments
5 hours 17 min ago
10 hours 9 min ago
19 hours 1 min ago
20 hours 1 min ago
23 hours 48 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 11 hours ago
1 day 20 hours ago
1 day 22 hours ago