Syntax :
Use the below syntax to restore the cpanel backup with new username. Instead of newusername you need to give your newusername whatever you want.
# /scripts/restorepkg --newuser newusername /path/to/backup/file
Additional Steps:
- Take backup of corresponding account
- Terminate the account
- Restore the account with new username