Hey guys.
I’m in the middle of restoring my server.
I had a virtualmin with nginx/php-fpm/mysql and with complex website structure, and then suddenly my OS crashed and I had no backups.
So i do have the filesystem backup - all users, configs, website, emails and data files are intact.
I did a clean install of the OS (both old and new ones were centos 7). Now I’m looking for the best way to restore my old setup. I can copy any folders from the old system.
What I can:
- manually reinstall and reconfigure everything: linux users, emails, nginx/mysql/php-fpm/postfix/bind configs and just reinstall virtualmin to manage it (I think it’ll work?)
- just copy relevant folders including virtualmin folders (not sure this’ll work).
I want to see if there is a better way to restore the old system?
For example: chroot to old filesystem, call virtualmin-backup --all-domains and then restore it.
Any thoughts?