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 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:
    745
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    That will backup the given user to the /home folder as long as you are root.
     
    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,145
    Likes Received:
    34
    Trophy Points:
    48
    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
     
Loading...

Share This Page