Hi I want to upgrade to the latest ispconfig 3 server using centos and php 7.2, i will follow this https://www.howtoforge.com/tutorial...l-php-pureftpd-postfix-dovecot-and-ispconfig/ i have a few questions if someone can help me please can this be installed in centos 8 minimal install instead of 7? can we install php 7.3 or 7.4 by this part: yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum-config-manager --enable remi-php72 (do i change this to php73 or php74?) can i copy the entire database for ispconfig and simply upload it to the new server? will all emails, postfix filters, websites, dns etc.. be copied and function well? i imagine i need to sync it once copied? of course i will also copy all files for website etc... the last time i copied all emails from an older server to the new one, i copied folder /var/vmail, however on the new server, all emails came in as NEW UNREAD, is there a way to copy them and whatever is read should be marked as read and whatever is unread should be marked as unread? Thank you in advance and i appreciate all your help Ben
No, you need to take additional care. See https://www.howtoforge.com/community/threads/i-need-to-install-ispconfig-on-centos-8.82929/ Should work. However, if the versions of the used software (like postfix/dovecot/apache/etc..) differ, there can be problems (if you know what you are doing, there should be no show-stopper). Alternatively you could use the migration script: https://www.ispconfig.org/add-ons/ispconfig-migration-tool/ See: https://wiki2.dovecot.org/Migration If dovecot versions agree, copying should be possible if done right (file permissions, etc). Alternatively use dovecots dsync tool: https://wiki2.dovecot.org/Migration/Dsync
thank you for your response. this helps alot i will stay with centos 7 for now. i will migrate mails according to the instructions given i will have to use the migrating tool as the php versions are different. i dont want to take a chance
thank you and sorry for my ignorance. i am currently on centos 7.2 with ispconfig3.1 do you think it safe to simply copy and paste the database of isconfig over to the new server?
Yes. See: https://www.zvonimir-buzanic.from.hr/migration-of-ispconfig-3-to-new-server (It is for Debian, but just ignore the apt things) In the end it comes down to move the data and database - Open /etc/passwords, /etc/groups, /etc/gshadow and /etc/shadow and copy only webXXX lines to new server. - Open /etc/fstab and copy lines with /var/log/ispconfig/…: to new server Save files and database Code: tar -pczf old_backup.tar.gz /var/vmail /var/log /var/www /usr/local/ispconfig/interface/lib /usr/local/ispconfig/server/lib mysqldump -u root -pXXXXXXXX –all-databases –events > old_db.sql Move old_backup.tar.gz and old_db.sql to new server (scp, rsync or such) - Extract backup and install database on new server Code: tar xvfz old_backup.tar.gz mysql -u root -pXXXXXX < /old_db.sql Important: Resync all services Code: cd /tmp wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz tar xvfz ISPConfig-3-stable.tar.gz cd ispconfig3*/install/ php -q update.php Choose 'reconfigure services = yes' (!) Reboot and adjust IP of new server. (do not forget things like letsencrypt certificate if used or other adjusted configs)