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!

cPanel Backup on SSH

Discussion in 'Data Protection' started by Cengiz, Nov 28, 2015.

  1. Cengiz

    Cengiz Registered

    Joined:
    Nov 28, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    ANKARA
    cPanel Access Level:
    Root Administrator
    How can I get a cPanel Backup (client username backup) on SSH? Commands?

    Noting: /scripts/pkgacct username
     
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    751
    Likes Received:
    11
    Trophy Points:
    143
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    That will backup the given user to the /home folder as long as you are root.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Cengiz likes this.
  3. Cengiz

    Cengiz Registered

    Joined:
    Nov 28, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    ANKARA
    cPanel Access Level:
    Root Administrator
    For Example;
    [~]# cd /home
    [~]# tar cvzf username.tar.gz username

    Thanks.
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    For the full cPanel account backup you will have to generate account backup with cPanel backup scripts (/scripts/pkgacct username), if you try to create only tar file of user home directory then you can not restore that tar file on other cPanel server and will not get any mysql databases backup of that user in tar file, so it's better to take a full account backup with /scripts/pkgacct command
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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