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!

Backup whole account

Discussion in 'Data Protection' started by dolphinuk, Feb 28, 2009.

  1. dolphinuk

    dolphinuk Member

    Joined:
    Oct 11, 2008
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    51
    I want to do 6 hourly whole backup for one account and then rsync it to another server.

    I need to know the name of the script I need to run to backup the whole account, which I think is in the /scripts/ folder in SSH
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. JPC-Shaun

    JPC-Shaun Well-Known Member

    Joined:
    Oct 29, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    56
    /scripts/pkgacct <Cpanel Account username>

    will generate the full Cpanel backup of the account.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dolphinuk

    dolphinuk Member

    Joined:
    Oct 11, 2008
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    Where will the backup be placed ?
    Thanks :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    The backup will be generated in the /home directory as cpmove-username.tar.gz

    :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. dolphinuk

    dolphinuk Member

    Joined:
    Oct 11, 2008
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    Thanks, is it possible to get it to save to a different location, if so how ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    By default it will save to home directory. Im not sure whether we can define any path:( . You can move it by

    Code:
    mv /home/cpmove-USERNAME.tar.gz destination
    You can restore using the following command

    Code:
    /scripts/restorepkg USERNAME 
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. dolphinuk

    dolphinuk Member

    Joined:
    Oct 11, 2008
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    Thanks :)

    I have put together something that works for me.
    Thanks for all your help :)
     
    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