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.

how to create multiple backups in WHM /command line

Discussion in 'General Discussion' started by techni, Sep 22, 2012.

  1. techni

    techni Member

    Joined:
    Jun 22, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I need to transfer all the accounts from one server to another
    Instead of "Copy multiple accounts/packages from another server" this option in WHM

    How can i take the backup of all the accounts through command line and restore the same on another server
     
  2. pwhjenny

    pwhjenny Well-Known Member

    Joined:
    Aug 31, 2012
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Usually, you need to use /scripts/pkgacct user command to take backup of individual accounts. But if you want to take backup of all accounts. You will need to design simple script.. You may refer following one that i sometime use.

    First make sure you setup keys between two servers so you wont be asked to enter password each time.

    Here is the script.

    Here 743 is ssh port number of remote server.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page