Koozali.org: home of the SME Server

Users missing in server manager after restore (Solved)

Offline hiiq

  • *
  • 7
  • +0/-0
Users missing in server manager after restore (Solved)
« on: February 15, 2008, 05:08:35 PM »
I have done a restore using a backup from V6 to new install  V7.3.
I did a post restore.
I have restored the following

etc/ssh
etc/sudoers
etc/passwd
etc/shadow
etc/group
etc/gshadow
etc/samba/secrets.tdb
etc/samba/smbpasswd
etc/smbpasswd
home/e-smith/files/users
home/e-smith/files/samba/profiles
Post upgrade...Reboot..

I haven't restored /etc/e-smith/templates-custom,  /etc/e-smith/templates-user-custom, or root

as I want the new server as clean as possible. (is this causing my problem)

Now: samba shares, passwords, webmail all work fine for users
But the server managers says their is no users it just shows admin (default user). and no groups.

What have I missed? What does the server panel look to for users and groups information.
Is their another command to run?
« Last Edit: February 16, 2008, 09:24:18 AM by hiiq »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Users missing in server manager after restore
« Reply #1 on: February 15, 2008, 05:58:58 PM »
I think you are missing /home/e-smith/db as this contains the internal configuration database, holding user information as well as configuration information. For the user information you need at least the /home/e-smith/db/accounts
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline hiiq

  • *
  • 7
  • +0/-0
Re: Users missing in server manager after restore
« Reply #2 on: February 16, 2008, 12:44:20 AM »
Thanks, now I have all users and groups appear in the server manager.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Users missing in server manager after restore
« Reply #3 on: February 16, 2008, 08:30:30 AM »
Thanks, now I have all users and groups appear in the server manager.
You're welcome.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Users missing in server manager after restore (Solved)
« Reply #4 on: February 16, 2008, 03:47:35 PM »
You should have restored all of /home/e-smith. And you should also do "signal-event pre-restore" before performing the restore.