1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk Backup /var/lib/psa/dumps full

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by keff, Sep 30, 2009.

  1. keff

    keff Basic Pleskian

    25
    57%
    Joined:
    Dec 3, 2007
    Messages:
    88
    Likes Received:
    0
    Hi all,

    I have strange problem. Today plesk stops responding - quick login and I see that the /var partition is full. There was a process "plesk_agent_manager server" witch has 100% CPU load. After quick search I found that the /var/lib/psa/dumps has 760 GB of memory witch is almost all free space on partition. In /var/lib/psa/dumps plesk store all backups TAR's and other files. But I think it shouldn't. My backups from beginning is set to be strored on FTP server, and they did.

    My question: It is safe to delete all the files on /var/lib/psa/dumps ?
     
  2. Andrey Kucherov

    Andrey Kucherov Guest

    0
     
    Hello,

    Please make sure that you have backups stored on your FTP repository. If they are on place you can remove these backups from /var/lib/psa/dumps.

    You can find more information on the Parallels Plesk Panel variables in the following article:

    http://kb.odin.com/en/952
     
  3. DannyA

    DannyA Guest

    0
     
    so i can delete any file in /var/lib/psa/dumps manualy from command line, and keep the latest ones ?
     
  4. Will K.

    Will K. Guest

    0
     
    Late response, but for history's sake

    Mostly yes,

    Delete enough of the older ones to get your system operational, then transfer of the remaining files to a none server location, and delete away 'til you are in the current week.

    These files can get ridiculously large when you start dealing with site caching.

    You might want to consider this script: http://www.blackpepper.co.uk/black-...disk-space-or...-Managing-Plesk-Backups-.html


    #!/bin/sh
    #
    # Delete backup more than 90 days old.
    #
    backupDir="/var/lib/psa/dumps/tmp"
    #
    daysToKeep=90

    echo "Checking for files older than $daysToKeep days in $backupDir"
    listOfFiles=`find $backupDir -mtime +$daysToKeep`
    if [ ! -z $listOfFiles ]
    then
    echo "Found [$listOfFiles]"
    else
    echo "None found."
    fi
    for toDelete in $listOfFiles
    do
    echo "Deleting $toDelete"
    rm -rf $toDelete
    done
    echo "Done."
     
Loading...