Newbie here but already falling in love with HestiaCP. Wow u guys so amazing to create this forklift of VestaCP. I’d really appreciate it.
I want to ask a question, how can we migrate HestiaCP and all of it’s users, website, also settings to a new fresh server (in case I want to move the server to other country)?
I’ve done 2 migrations with Hestia and I must say, it works really well.
Just run the backup user & import it on the new server.
Only things you gotta remember is any custom things you’ve added, and stuff like templates.
But that isn’t the big deal, Most important part is all the domains + everything that’s connected to it
you can either install a minimal system comparable to your old installation, put hestia on top and then use e.g. rsync to mirror the old things over the new one. you usually want to leave out the harddisk/network config etc.
there are quite some tutorials on how to something like that and it might need some manual fix up afterwards, especially because a new server usually comes with a different IP etc.
the second way, which others already recommended would be to use the backup function in Hestia to take full backups of each user individually (automatically done every night), copy these into the backup-dir of your fresh hestia install and user the command-line restore function to unpack/recreate your users. this will include all files, databases, mails and even certificates, passwords and configs etc.
I have done both and it works, which one to choose usually depends on the amount of individual user packages or if you have done more advanced customizations outside the scope of hestia and that might then not be covered by the regular backup.