Introduction
You can restore an account as a different user if you change the username when you move an account between servers.
Procedure
This example changes the account name from olduser to newuser:
1. Back up the old user on the old server:
/scripts/pkgacct olduser
2. Copy the backup file from the old server to the new server.
3. Restore the backup file as the new user:
/scripts/restorepkg --newuser newuser /home/cpmove-olduser.tar.gz
4. Update any account user references in the new account from olduser to newuser. This will need to be done for site database settings and any full paths to files and directories in the home directory for the account.
Comments
0 comments
Article is closed for comments.