Koozali.org: home of the SME Server

Lost permissions with backup2ws 911

ajferguson

Lost permissions with backup2ws 911
« on: June 26, 2005, 04:38:58 PM »
I am running Ver. 6.0.01 with a few contribs installed (fetch, anti-virus, anti-spam). I want to transfer 30 user accounts and their mail to new server hardware. I used Daryl May's bu2ws (smeserver-backup2ws-0.0.1-22dmay.noarch.rpm) to make a 911 backup onto a USB drive on a W2003 server (7 x 1.5G rar splits with 0 compression; about 10G of data in total). I take this USB drive home and restore the data onto a fresh install of 6.0.01 with bu2ws added only. The restore log indicates everything extracts ok, or at least there is an ok after every line, but the last line says out of the blue 'Total errors: 29,312' with no futher explanation (why?).

After post upgrade & reboot, the accounts and data is all on the new server, but ownership for the mail files has reverted to owner: root, group: admin, rather than the actual users. Also, the accounts no longer link to their data (data usage for all accounts is 0), and I can't access user mail with thunderbird or login to webmail (except for admin). Basically, the transferred users cannot login to the new server.

Very frustrating! I hope someone can help.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Lost permissions with backup2ws 911
« Reply #1 on: June 26, 2005, 08:26:38 PM »
I don't know how the backup2ws package works, but if you searched the forum you, should have found that what you are experiencing with the mail dirs is the common behaviour for a restore.  It has been reported as a bug, but no one that has enough knowledge to know what to look for, has found enough time to delve into what is going on and why it is happenning.

You just need to cd to:
cd /home/e-smith/files/users/
then for each user
chown -R user.user user
that would be for user john
chown -R john.john john

Then you should be able to get to your mail and your files as well.

JB
......

ajferguson

Lost permissions
« Reply #2 on: June 27, 2005, 03:51:57 AM »
Thanks for the help


Andy