Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Tort on February 13, 2002, 04:59:51 PM
-
Hi,
I have a fresh install of e-smith 4.1.2 with the available upgrades. I would like to copy all our user data (messages, settings and home directories) from the backup to the new disk. I have gotten this far:
# Version: 0.1 BushSoft
cp -rp /mnt/backup/restore/home/e-smith/files/users /home/e-smith/files
cp -prf /mnt/backup/restore/etc/passwd /etc
cp -prf /mnt/backup/restore/etc/passwd- /etc
cp -prf /mnt/backup/restore/etc/smbpasswd /etc
cp -prf /mnt/backup/restore/etc/samba /etc
cp -prf /mnt/backup/restore/etc/group /etc
cp -prf /mnt/backup/restore/etc/group- /etc
cp -prf /mnt/backup/restore/etc/ppp/chap-secrets /etc/ppp
cp -prf /mnt/backup/restore/etc/secrets.tdb /etc
cp -prf /mnt/backup/restore/home/e-smith/accounts /home/e-smith
cp -prf /mnt/backup/restore/var/qmail/users/assign /var/qmail/users
cp -prf /mnt/backup/restore/var/qmail/alias /var/qmail
/sbin/e-smith/signal-event post-upgrade
... and now I get all the users in the manager's user account view, but I still cannot log in via Samba or use Webmail with the copied accounts.
What am I missing, can somebody provide a list of files/folders to copy and/or which steps to take to do this elegantly?
TIA
Tor
-
Tort wrote:
> What am I missing, can somebody provide a list of
> files/folders to copy and/or which steps to take to do this
> elegantly?
See the backup/restore section of the manual. Backup one server, restore to the other.
Or am I missing something?
Charlie
-
Hi,
I know how to restore the whole server, of course.
But I am having problems with a few configuration issues within the server/gateway so I would like to do a fresh install of e-smith 'as-is' and then restore my users data onto this install.
In this case I don't want to restore the server mods and configuration, only users and their data.
Any clue how to achieve this?
regards
Tor
-
Hey Tor,
Just curious how you made out with your restore of users and user specific data? Do you have procedures you could share or are you using a hybrid of someone elses contrib (ie backup2ws)?
Regards,
Drew