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!

Initiate backup for a user via command

Discussion in 'Data Protection' started by rotame, Nov 27, 2008.

  1. rotame

    rotame Member

    Joined:
    Sep 20, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Athens,Greece
    cPanel Access Level:
    Root Administrator
    Hi,

    How can initiate a full backup for 1 account via COMMAND as root without need account data and store that to specific directory ( /backup/fullbackup/ )into server ? :confused:

    cpanel version latest stable version
    os centos latest version
     
    #1 rotame, Nov 27, 2008
    Last edited: Nov 27, 2008
  2. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    458
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    /scripts/pkgacct username ; mv cpmove-username.tar.gz /path/to/folder

    where username is the cPanel username of the account whose backup you want to generate. This will generate the backup of the account in the /home partition and move it to the folder you specify.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    Just wondering if it will also include mysql database backup?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    66
    Hello,

    Yes it will include entire account backup including the mysql database and emails.
     
  5. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    Thanks for your clarification!!
     
    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