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?
Hi,
It really depends on how complex your setup was. That is, if you did a LOT of changes, it may not be easy to simply restore stuff. But if you did minimal changes, or you know exactly what changes you made, it may be possible to do an install of Virtualmin, go through post-install changes to the setup, then as long as they match the original configuration, conduct a "restore" via Virtualmin GUI or CLI.
If you need further assistance, feel free to drop me a line.
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist