Email/FTP accounts under a vm not listed after 'backup restore'

I recently restored virtual servers from a backup due to HDD failure.

After the backup, the email/ftp accounts are not listed under 'Edit Users' even though all the user folders do exist under 'homes' in that particular server.

Whereas email/ftp users are listed for other users on this machine, except for this one which is the main name server

Status: 
Active

Comments

bislinks's picture
Submitted by bislinks on Fri, 01/24/2014 - 12:42 Pro Licensee

When I click on Edit Virtual Server, this is what I see:

My question here is why 2.05 GB is not shown/included in the total disk space used?

May be that'll serve as a clue of some sorts....

Home disk space used (including sub-servers) 21.83 MB (2.05 GB by server administrator, 0 bytes by mail / FTP users) Space used by databases 7.34 MB (7.34 MB in this server, 0 bytes in sub-servers) Total disk space used 29.17 MB

That's odd - do the users exist in the /etc/passwd file ?

Do you happen to have the output that's generated whenever restoring that particular backup file? I'm curious if there's any clues in the output as to why the users weren't created.

bislinks's picture
Submitted by bislinks on Fri, 01/24/2014 - 13:24 Pro Licensee

I didn't save it externally. If Virtualmin saves the output, then it is in the machine! I just don't know where Virtualmin saves them if it does...

You may be able to see it at Webmin -> Webmin Actions Log, if you did the restore from the GUI.

bislinks's picture
Submitted by bislinks on Fri, 01/24/2014 - 13:49 Pro Licensee

I found one titled 'restored 119 virtual servers,' is the one which I believe contains log for bislinks.com too.

But it is not loading in the browser: may be because it is too big....the browser is hanging up....

bislinks's picture
Submitted by bislinks on Fri, 01/24/2014 - 14:09 Pro Licensee

Aha, I found it. It was not among the 119!

The log shows that only the main user (bislinks) was restored to /etc/passwd.

I tested the same backup file on another Machine with VMIN GPL in which all email/FTP accounts (along with the main user bislinks) were restored and which do get listed out when I click 'Edit Users'

The only way I can see for this to happen is if during the original restore, the option to re-create mail users was disabled?

bislinks's picture
Submitted by bislinks on Fri, 01/24/2014 - 15:27 Pro Licensee

I don't remember if I disabled that option during restore.

Is there anyway I can just restore the emails alone?

Yes, when restoring you can change "Features to restore" to "Only those selected below", and check on "Mail/FTP users and mail aliases".

This will restore only mail accounts though, not email files