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.

Backups not being deleted out of default backup directory

Discussion in 'Data Protection' started by RITCharlie, Jun 6, 2014.

  1. RITCharlie

    RITCharlie Registered

    Joined:
    Jun 6, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hello,

    In our WHM we have our backup set to push to an FTP destination, and we unchecked the option to retain in the default backup directory. Everything was running fine until last Friday, now the backups are not being deleted from the backup directory. We have to manually go in with SSH and remove the files. If we forget to remove the backup our disk space could cap out during the backup process. We are running WHM 11.42.1 (Build 17)

    Any ideas what could be causing this, or is this a known issue? We noticed the issue starting around 5/30/14.

    Thanks in advance for any help!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please review the backup logs in:

    /usr/local/cpanel/logs/cpbackup/

    Open the most recent log file, and look for any error messages towards the end when the local backup archives are to be pruned.

    Thank you.
     
  3. RITCharlie

    RITCharlie Registered

    Joined:
    Jun 6, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hello,

    I checked those logs and I didn't see any error messages in any of them. The only error messages I saw were regarding the FTP of system files. Are there any other places we could look for possible errors or other suggestions.

    Thanks for your help!
     
  4. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Please also check the /usr/local/cpanel/logs/cpbackup_transporter.log file for errors. The only reason that files would not be removed is if they failed to transfer. You should also check the remote FTP destination to see if the files are there.
     
  5. RITCharlie

    RITCharlie Registered

    Joined:
    Jun 6, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hello,

    The files have no issue moving to our FTP destination, and in fact we get a confirmation email that the backup completed. The only issue we've noticed so far is that they are not removed from the VPS.

    I checked the log and found the following errors from 5/30/2014, which is actually the date when we first noticed the issue happening. I am not sure if the two are related or not, or if these are even the correct errors to be looking for. They mention pruning which is what cPanelMichael said to look for in the cpbackup logs.

    Error Messages:
    Code:
    [2014-05-30 05:31:37 -0700] warn [cpbackup_transporter] Error pruning /2014-05-26 from [FTP]:  Unknown Error at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 26
    Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0x123a8b80), 'Error pruning /2014-05-26 from [FTP]:  Unknown Error') called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 379
    	Cpanel::Backup::Queue::transport_backup::attempt_to_prune_destination(Cpanel::Backup::Queue::transport_backup=HASH(0x1237ede8), Cpanel::Transport::Files::FTP=HASH(0x12d7fc60), 1, Cpanel::LoggerAdapter=HASH(0x123a8b80)) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 150
    Please let me know if I should be looking for any other type of error messages. We haven't made any changes to the configuration, it just stopped removing them.

    Thanks for the help!
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  7. RITCharlie

    RITCharlie Registered

    Joined:
    Jun 6, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    A ticket was created yesterday with an ID of 5071443.

    Thanks for the help!
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, our support team suggested checking to see if the issue persists in cPanel version 11.44 due to some changes to the backup system in that version. It's currently scheduled for publication to the release tier next week, but that's only tentative and can change based on internal cases.

    Thank you.
     
Loading...

Share This Page