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 not removed on destination

Discussion in 'Data Protection' started by leonep, Apr 8, 2019.

  1. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    111
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    Hi,
    my CP Backup works fine on local directory and transport to additional destination but it not removes olds backups in the additional destination..
    of course if i do not remove manually it fills fast !
    where can i start to troubleshoot this ?
    thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    506
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @leonep


    Can you tell me as many details about the remote backup configuration as possible? What type of transport, what is the retention set to etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    111
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    trasport type is classic FTP

    Backup Status
    Enable

    Backup Type
    Compressed

    Check the Available Disk Space (5%)

    Maximum Destination Backup Timeout
    50000

    Maximum Backup Restoration Timeout
    21600

    Scheduling and Retention
    Daily Backup
    Monday
    Tuesday
    Wednesday
    Thursday
    Friday
    Saturday
    Retention 1

    Weekly Backup
    Saturday
    Retention 1

    backups

    Strictly enforce retention, regardless of backup success.
    no

    Monthly Backup

    Files
    Back up User Accounts yes
    Back up System Files yes

    Databases
    Per Account Only

    directory
    /home/backup
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    506
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @leonep

    And are the backups completing successfully locally? You can see the backup status on all the logs that are present by running something like the following:

    Code:
    grep "Sent Backup::" /usr/local/cpanel/logs/cpbackup/*
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    111
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    yes i have backups in local and the trasport also work. the problem is that don't remove old backup in additional destination. i have no rotation and the backup destination become full....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    506
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @leonep

    A partial failure though could result in the backups either not being pruned or not being moved period, which is why I asked for the information I did.

    You should also be able to see if there was issues with the pruning operation on the remote destination by checking the backup transport logs which can be found at:

    /usr/local/cpanel/logs/cpbackup_transporter/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    111
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    no partial failure, but the old backups is still in destination... now i wait the destination become full and check log (i manually delete 3 or 4 days ago for get fresh backup)
    thanks

    /usr/local/cpanel/logs/cpbackup/1554508810.log:[2019-04-06 04:42:35 +0200] info [backup] Sent Backup::Success notification.
    /usr/local/cpanel/logs/cpbackup/1554595207.log:[2019-04-07 04:52:48 +0200] info [backup] Sent Backup::Success notification.
    /usr/local/cpanel/logs/cpbackup/1554681609.log:[2019-04-08 04:35:18 +0200] info [backup] Sent Backup::Success notification.
    /usr/local/cpanel/logs/cpbackup/1554768014.log:[2019-04-09 04:44:06 +0200] info [backup] Sent Backup::Success notification.
    /usr/local/cpanel/logs/cpbackup/1554854410.log:[2019-04-10 04:42:48 +0200] info [backup] Sent Backup::Success notification.
    /usr/local/cpanel/logs/cpbackup/1554940813.log:[2019-04-11 04:32:27 +0200] info [backup] Sent Backup::Success notification.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren likes this.
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