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 -Questions

Discussion in 'Data Protection' started by LENOVOhost, Nov 8, 2009.

  1. LENOVOhost

    LENOVOhost Member

    Joined:
    Sep 30, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    HI

    The cPanel runs the the backup and stores the backup but if you run a daily backup or weekly backup when you remove the account from the cpanel the cpanel does not remove the backup on the next backup it keeps the backup of the accounts which have been removed by the users does not exist in the server My question is that

    1. How to avoid such backup been stored ?

    2. If the backup is stopped accidentally or killed by the user how to resume the backup from where it stopped ?
     
  2. SunShellNET

    SunShellNET Active Member

    Joined:
    Feb 24, 2009
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    May be you could have rephrased your question very clearly.

    If you remove the cPanel account from the server, cpanel backup won't backup the removed account ( ! )

    Also, cpanel won't remove the backup file from the server , as if it removes the backup then it will be meaningless of "backup"
     
  3. jrianto

    jrianto Active Member

    Joined:
    Jun 9, 2008
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    1. There is a script to do this called cleanbackup from cPlicensing: cPanel Scripts

    2. I don't think you can resume, you need to redo the whole backup.
     
  4. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    How do you redo the whole backup? I just get a error that says backups are up to date.

    I need to re-run the back ups again, rather that wait another day.
     
  5. rachelm

    rachelm Well-Known Member

    Joined:
    Jan 26, 2005
    Messages:
    94
    Likes Received:
    1
    Trophy Points:
    8
    /scripts/cpbackup username

    should work, replace username with the actual username.

    Or you can manually make a backup using /scripts/pkgacct username

    if you want it to go to a specific place then use

    /scripts/pkgacct username /path/to/save/file.tar.gz
     
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The script "cpbackup" will initiate a backup of all accounts according to the cPanel backup configuration settings defined via WHM.
    Example usage:
    Code:
    # /scripts/cpbackup
    # /scripts/cpbackup --force
    The script "pkgacct" may be used to generate a full backup of an account specified by username and the script "restorepkg" may be used to restore from an existing full backup.
     
Loading...

Share This Page