My server currently runs Ubuntu 9.10/ISPConfig 3.0.2 and has a separate volume mounted for /var Is it possible to do the following: - install Ubuntu 10.04 on a new server - follow the directions for installing the latest ISPConfig3 on the new server - mount the old server's /var in place of the new server's /var and have all my old ISPConfig configuration up and running? I realize I'd also be replacing a lot of other stuff, like logs and such. But what concerns me is whether any of the ISPConfig3 configuration is stored elsewhere than within /var (ie. /usr/local/ispconfig/interface/web ). Near as I can figure, all the databases are within /var too.
Configuration files on Linux are normally stored in /etc and ispconfig follows this convention. E.g. all Linux system users and groups are always stored in /etc/passwd, /etc/group and /etc/shadow and the users created by ispconfig are stored there too. So mounting /var on another server without migrating the configuration can not work. What you will have to do is: 1) copy all web* users from /etc/passwd and /etc/shadow lines to the same files on the new server. 2) copy all client* groups from /etc/group to the new server. 3) copy the ispconfig database to the new server. 4) If you use bind and some of the bind files are stored in /etc/, then copy these to the new server too. 5) Copy the apache vhost files and symlinks from /etc/apache2/sites-enabled and /etc/apache2/sites-available/ to the new server.