do you write all the scripts in php? or could be in perl?
for instance if i have to start from scratch i would make an "export" script and an import script
export would collect all the core data (database dumps and configuration files) from ZPanel and zip it for manual transfer to the other machine. it would not include the email stored in the vmail directory because this is large and should probably be transferred using rsync.
import would probably take the type of OS and version of Zpanel as a parameter in case there are differences. Assuming a clean version of Sentora has already been installed it could unzip the export file and change the relevant values during import.
It could rename the original Sentora folders and databases of the fresh install before replacing thus giving an ability to "undo" the migration.
for instance if i have to start from scratch i would make an "export" script and an import script
export would collect all the core data (database dumps and configuration files) from ZPanel and zip it for manual transfer to the other machine. it would not include the email stored in the vmail directory because this is large and should probably be transferred using rsync.
import would probably take the type of OS and version of Zpanel as a parameter in case there are differences. Assuming a clean version of Sentora has already been installed it could unzip the export file and change the relevant values during import.
It could rename the original Sentora folders and databases of the fresh install before replacing thus giving an ability to "undo" the migration.