The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    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
     
Loading...

Share This Page