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.

Cpanel User backup

Discussion in 'General Discussion' started by gurublr, Jun 29, 2010.

  1. gurublr

    gurublr Registered

    Joined:
    Jun 29, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangalore
    Hi,

    How to back-up entire WHM user accounts ?
    including database, emails etc..
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Use the cpbackup system

    cpbackup will back up all of your accounts' data either daily, weekly or monthly. The documentation for cpbackup is available here:

    Backup

    To make a one-type backup of a single account, you can use /scripts/pkgacct. Its syntax is the following:

    Code:
    # /scripts/pkgacct $cpanelaccountname
    where $cpanelaccountname is replaced with the actual name of a cPanel account to be backed up. /scripts/pkgacct will create a tarball (.tar.gz file) that can be copied to any location you choose, even to a different server.

    /scripts/pkgacct creates the same type of backup file that the backup system in the WebHost Manager creates.
     
Loading...

Share This Page