I recently rebuilt my server onto a VM, using Ubuntu 20.04.3 LTS and the Automated Install - BTW, that is right next to sliced bread, great work guys. Anyway, I had backed up a couple of email boxes to tar.gz files, and now, after rebuilding the domain configuration and such, I'm left with the last bit of restoring these email backup files. What is the best / preferred way to restore these files? I was poking around and figured I could create backups for the emails, rename the files in the /var/backup directory, and then restore from the GUI. Or I could just move the existing /var/vmail/DOMAIN/userfolder to a temporary spot and extract the files and chown to vmail. Either way, I'm wondering if there's database implications doing either way.
No, there shouldn't be any database updates needed. Once the files are restored, the quota usage should eventually be rebuilt and updated in the db, which could potentially land a user over their mail quota, but probably is not anything I'd worry about in your situation.