Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    4

    Default /scripts/restorepkg behaviour in cpanel11

    Hi All!

    I've found that /scripts/restorepkg now works a little bit different like it worked in cpanel10. When we restore a full backup/cpmove file for an existing account it tells that this account already exists and stops restoration process, even when is being run with --force keyword. Is it possible to restore the backup for an existing account without its termination, like it was in cpanel10?

    Thanks
    --
    Serg

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Support-SG View Post
    Hi All!

    I've found that /scripts/restorepkg now works a little bit different like it worked in cpanel10. When we restore a full backup/cpmove file for an existing account it tells that this account already exists and stops restoration process, even when is being run with --force keyword. Is it possible to restore the backup for an existing account without its termination, like it was in cpanel10?

    Thanks
    --
    Serg
    I know the developers are looking into fixing the --force keyword so it works as intended in cPanel 11. As for the remainder of your inquiry, I'll leave that for others to discuss.

  3. #3
    Registered User
    Join Date
    Mar 2005
    Posts
    4

    Default

    David,

    thanks for this update. Any idea when they will fix this problem?

    Thanks
    --
    Serg

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Support-SG View Post
    David,

    thanks for this update. Any idea when they will fix this problem?

    Thanks
    --
    Serg
    Unfortunately, I don't have an ETA on when this will be fixed.

  5. #5
    Member
    Join Date
    Dec 2004
    Posts
    43

    Default

    Has this been fixed yet? We just moved to cpanel 11 from 10 and now are nightly backup and restore ops across servers are broken. We used to restore our backup right over an existing account on the backup server.

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by TheKog View Post
    Has this been fixed yet? We just moved to cpanel 11 from 10 and now are nightly backup and restore ops across servers are broken. We used to restore our backup right over an existing account on the backup server.
    I know there were several improvements to /scripts/restorepkg in September. If you are still experiencing these issues on the latest builds, please submit a support ticket.

  7. #7
    Member
    Join Date
    Dec 2004
    Posts
    43

    Default

    I have submitted a ticket but can't see it's status -- we are with serverbeach and don't have a login here. I looked at the script for restorepkg and it's pretty obvious that other than a request for the user to issue a --force parm if the account exists, it is never passed on to the quickrestore code in whostmgr itself -- the parm is nothing more than window dressing.

  8. #8
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by TheKog View Post
    I have submitted a ticket but can't see it's status -- we are with serverbeach and don't have a login here. I looked at the script for restorepkg and it's pretty obvious that other than a request for the user to issue a --force parm if the account exists, it is never passed on to the quickrestore code in whostmgr itself -- the parm is nothing more than window dressing.
    SB tickets are a separate system. cPanels is here. https://tickets.cpanel.net/review/login.cgi
    You should come in there from your WHM though the first time.

  9. #9
    Member
    Join Date
    Dec 2004
    Posts
    43

    Default

    Sigh....

    I did submit a ticket here at CP - #220123 - I used the form and submitted all our license info etc. HOWEVER I CANNOT LOGIN HERE AT CP TO SEE THE STATUS PER MY PREVIOUS POST. IT SEEMS I NEED SOME OTHER LOGIN ACCOUNT WITH CP TO DO THIS (SEPARATE FROM THE FORUMS LOGIN).

    Seeing that the script is nothing but window dressing is distressing -- this forced update from 10.8 has caused more breakage and non-productive use of our time over things that worked fine back in 10.8 that we were happy with. However we were informed our license was expired so we had to update to cpanel 11. Gee thanks for the compatibility with the existing scripts and interfaces. Now we are blowing lots of time fixing things that weren't even broken. Real progress....

  10. #10
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Well the docs for the API are here, not sure if this is helpful or not.
    http://www.cpanel.net/plugins/xmlapi/

    I do know your forums pass are not what you need to login to the ticket system though. When you submitted the ticket it should have emailed you with a link to check status. Anyway, I'm sure one of the guys will be by to help get you in there soon enough. Good luck.

  11. #11
    Member
    Join Date
    Dec 2004
    Posts
    43

    Default

    Yep we did finally get an email with a password to check status. THanks for the pointer I'll have a look at the API.

  12. #12
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by TheKog View Post
    Sigh....

    I did submit a ticket here at CP - #220123 - I used the form and submitted all our license info etc. HOWEVER I CANNOT LOGIN HERE AT CP TO SEE THE STATUS PER MY PREVIOUS POST. IT SEEMS I NEED SOME OTHER LOGIN ACCOUNT WITH CP TO DO THIS (SEPARATE FROM THE FORUMS LOGIN).

    Seeing that the script is nothing but window dressing is distressing -- this forced update from 10.8 has caused more breakage and non-productive use of our time over things that worked fine back in 10.8 that we were happy with. However we were informed our license was expired so we had to update to cpanel 11. Gee thanks for the compatibility with the existing scripts and interfaces. Now we are blowing lots of time fixing things that weren't even broken. Real progress....
    Note that while you are welcome to script the use of cPanel/WHM scripts, if you are not using our APIs or other recommended means by which to do this, things may break during upgrades if such scripts are used long-term. Hence, the recommendation to use APIs and hooks whenever possible.

    In the case that the functionality that you need is not supported, I would recommend submitting a feature request to http://bugzilla.cpanel.net to make us aware of the desire for a particular functionality.

    Hooks are used when you want to edit the source code of cPanel/WHM's scripts. Using hooks will ensure that any customizations you perform will not get lost during upgrades. These will not edit the source of the scripts but will help you customize the performance of cPanel/WHM. Note that for every post- hook, there is an accompanying pre- hook.

    Documentation for hooks can be found at: http://www.cpanel.net/support/docs/hooks.htm

  13. #13
    Member
    Join Date
    Dec 2004
    Posts
    43

    Default

    Thanks you but these hooks do not help for what we are discussing here.

    Once again we were thrilled with cpanel 10.8 -- it did everything we wanted including being able to overwrite an account on a cop, transfer, or restorepkg operation. Even cpanel developers must realize the --force behavior was necessary by many users because cpanel added it -- it just doesn't work. All we are asking is that it be fixed, like Serg who started this thread.

  14. #14
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by TheKog View Post
    Thanks you but these hooks do not help for what we are discussing here.

    Once again we were thrilled with cpanel 10.8 -- it did everything we wanted including being able to overwrite an account on a cop, transfer, or restorepkg operation. Even cpanel developers must realize the --force behavior was necessary by many users because cpanel added it -- it just doesn't work. All we are asking is that it be fixed, like Serg who started this thread.
    I'd recommend submitting a support ticket regarding this issue directly to us so our support staff can work on you to resolve this issue.

  15. #15
    Member
    Join Date
    Dec 2004
    Posts
    43

    Default

    Thanks David -- look above in the thread and you will see that we have.

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, 10:54 AM
  2. /scripts/restorepkg ?
    By meeven in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-11-2008, 06:47 PM
  3. Bug(s) in /scripts/restorepkg
    By marty_parish in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-12-2008, 09:13 PM
  4. /scripts/restorepkg errors
    By ANewDay in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-19-2007, 01:47 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube