markehle
The problem is I don't know how to grab all the account info. I tried just copying /home/e-smith/files/users/* and group, gshadow, passwd, shadow, and smbpasswd.
Because you didn't also copy the accounts & configuration & other required databases from home/e-smith/db/... and you didn't do a dump of the mysql tables (which have basic config for webmail by default, plus anything else you may have added), and you forgot a few other files that are also needed.
After copying all the required files you need to also do
signal-event post-upgrade
reboot
Before you do the backup & restore, the
signal-event pre-backup
command needs to be run on the old server to dump the mysql tables, and you then need to copy that dump file to the new server ie from
/home/e-smith/db/mysql
but that should be included if you copy all of /home/e-smith
as per the list below.
This link will give you clues as to the general process to follow
http://wiki.contribs.org/UpgradeDiskwhich refers to this long thread that has lot's of inteersting tid bits
http://forums.contribs.org/index.php?topic=30745.0and as you cannot seem to find the correct list of files that must be transferred here is the list
/etc/e-smith/templates-custom
/etc/e-smith/templates-user-custom
/etc/group
/etc/gshadow
/etc/passwd
/etc/samba/secrets.tdb
/etc/samba/smbpasswd
/etc/shadow
/etc/smbpasswd
/etc/ssh
/etc/sudoers
/home/e-smith
/root
and add in
/opt
if you have stuff installed there.
Now there is a fairly simple procedure outlined in a Howto, which uses the standard desktop backup & restore functions, but can exclude ibay and user data etc. You can delete any unwanted users or ibays after the restore is complete.
It's easy to do, and is essentially the same as you would do by doing it all manually (and possibly getting it wrong).
See
http://wiki.contribs.org/Backup_server_config