Command line option for restorepkg to restore to a specified (different) username
As a Server Administrator, I want a command line option for restorepkg to restore to a specified (different) username, so that I can restore a backup to a new username.
This is a feature request for a command line option for restorepkg to restore to a specified (different) username when doing migrations to a cpanel server.
The copy multiple accounts page in the control panel lets you change the username if there is a a username conflict however if a site is too big or there are problems with copy multiple accounts there is currently no way to resolve username conflicts using pkgacct and restorepkg.
This is a feature that has been migrated over from the cPanel Forums. All previous comments and discussions concerning this feature can be located at:
We will add a new parameter to scripts/restorepkg: --newuser. This accepts a username as an argument, which becomes the username of the account when restoration is complete.
This functionality is in cPanel & WHM 11.42.
We will add a new parameter to scripts/restorepkg: --newuser. This accepts a username as an argument, which becomes the username of the account when restoration is complete.
This functionality is in cPanel & WHM 11.42.
We will add a new parameter to scripts/restorepkg: --newuser. This accepts a username as an argument, which becomes the username of the account when restoration is complete.
This functionality is in cPanel & WHM 11.42.
We will add a new parameter to scripts/restorepkg: --newuser. This accepts a username as an argument, which becomes the username of the account when restoration is complete.
This functionality is in cPanel & WHM 11.42.
Thanks for adding this functionality! Is it possible to add this to the cPanel documentation for /scripts/restorepkg too?
Thanks for adding this functionality! Is it possible to add this to the cPanel documentation for /scripts/restorepkg too?
Replies have been locked on this page!