Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

prevent over account restoration

Discussion in 'General Discussion' started by s_2_s, Feb 12, 2005.

  1. s_2_s

    s_2_s Well-Known Member

    Aug 9, 2004
    Likes Received:
    Trophy Points:
    in whm transfere from server to server it will refuse to copy an account that does exists
    but when you restore from local packages [ *tar.gz ] the restoing script [ /scripts/restorepkg ] will not bother to check if user does exist on your system or not
    so some person may not like that and want it to not overwrite accounts that already restored

    to prevent /scripts/restorepkg from restoring accounts that are already restore before you need to

    - pico /scripts/restorepkg
    - paste this
    under the first line

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice