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.

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:
    12
    Likes Received:
    0
    Trophy Points:
    1
    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:
    447
    Likes Received:
    4
    Trophy Points:
    18
    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.
     
  3. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Just wondering if it will also include mysql database backup?
     
  4. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    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:
    38
    Thanks for your clarification!!
     
Loading...

Share This Page