How to restore cpanel backup with new username?

Everybody knows, how to restore the cpanel backup using scripts command but most of us doesn’t know how to restore the cpanel backup with new username. In older version its not possible but In new version (WHM 11.44.1 (build 11)) its possible. Follow the below steps to do it.

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
  • cPanel
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To: Back Up MySQL Databases From The Command Line

While automated backups are important, sometimes you just want to take a quick and dirty snapshot...

How To Install MariaDB on CentOS 6

MariaDB is a drop-in replacement for MySQL. It is easy to install, offers many speed and...

How to Display (List) All Jobs in Cron / Crontab

View Root’s Cron Jobs crontab -l  View a User’s Cron Jobs crontab -u username -l Example with...

How To: Automate Server Scripts With Cron

Servers can automatically perform tasks that you would otherwise have to perform yourself, such...

How to find sending spam emails and enable mail header in php.ini

- In Linux servers if there are a lot of emails in the queue "over 100" emails. you can check if...