Emergency restore from inaccessible server

Our hosting server and backup server have been rendered inaccessible by Contabo and they are being very slow at fixing it, however I can access them in a rescue image so I have set up VMs at another provider and am trying to restore from there. I’ve now found my account backups are broken but I can mount the server disc images. What is the best way to recreate accounts? I’m thinking manually create the accounts on the new server and rsync the old account data into them?

I can now see that I can pretty much recreate the accounts from /usr/local/hestia/data/users, is there a command line script that does that all ready to save reinventing the wheel?

Maybe I can help you

Thank you, but as I said, my backups are broken, but I have all the data on virtual machine disks.

Just wanted to update this, and I’ll mark this solved. I got the server back on Friday when Contabo got back to me - and it turned out that the reboot had renamed the network interfaces, which I hadn’t noticed when I first checked. Very annoying.

Anyway - I did confirm my theory, and while I’m not going to recommend this at all, creating the users with v-add-user then retrieving /usr/local/hestia/data/users from the VM, which I had mounted on the downed server in rescue mode, rsyncing that to the same location on the new server and running v-restore-users does indeed recreate the account data without the actual site and DNS files. I was in the process of restoring the database by copying it onto the new server when Contabo support replied, so didn’t have to go that far, but it would have been possible.