Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2007
    Posts
    114

    Default /scripts/restorepkg ?

    I created a hosting account in WHM before running /scripts/restorepkg accountname

    I get the following message:
    Sorry, the user username already exists on this system. If you really want to do this run /scripts/restorepkg --force username
    Is it okay to do a force restore like this? My host is recommending that I terminate the account in WHM first and then run the restore script. Which is better?

  2. #2
    Member AnilR's Avatar
    Join Date
    Nov 2007
    Location
    India
    Posts
    28

    Default

    Yes meevan ..please try to forcefully restore of the account with


    /scripts/restorepkg --force username

    And also it should work if you try to terminate an account and then restore it using restorepkg script but make sure to take backup first

    /scripts/pkgacct username
    Regards,
    Aneel

  3. #3
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,093
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Probably slightly smarter to terminate the account before running the restore.

  4. #4
    Member
    Join Date
    May 2007
    Posts
    114

    Default

    Thanks, anil

    brianoz, I decided that discretion is the better part of valour and terminated the account before running the script, as suggested by my host. All is well now.

  5. #5
    Member
    Join Date
    Oct 2004
    Posts
    93

    Default

    What if the username that already exists belongs to another account?

    How do you restore this new backup to create a new account with new username?

Similar Threads & Tags
Similar threads

  1. /scripts/restorepkg question - can 2 or more restorepkg run at the same time?
    By sharmaine001 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-05-2010, 11:54 AM
  2. Bug(s) in /scripts/restorepkg
    By marty_parish in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-12-2008, 10:13 PM
  3. /scripts/restorepkg behaviour in cpanel11
    By Support-SG in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 11-29-2007, 10:36 AM
  4. /scripts/restorepkg errors
    By ANewDay in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-19-2007, 02:47 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube