Announcement Announcement Module
Collapse

myhosting.com Forum Guidelines

Welcome to the myhosting.com Forums! The purpose of this forum is to allow you to discuss topics relating to hosting and topics of interest with other myhosting.com Customers. The primary focus should relate to issues not generally included in our Wiki or Control Panel, or information not provided by our Customer Support Team. Some examples include programming and coding support, web site design ideas and SEO practices.

The forum is not meant as a replacement to our Wiki or Customer Support. We highly recommend searching our Wiki before posting on the forum. Also, if you have a question for our Customer Support team, please contact them as you would normally.

We ask that if you have any complaints or questions relating specifically to your account, that you address them to our Customer Support department. Do not post personal account information such as passwords or other sensitive and private information the forum, as this type of information is best kept secret. Also, please be respectful of other users and refrain from defamatory comments or use of coarse language.

We will visit the forum from time to time, and contribute to various topics. We reserve the right to delete any posts which are deemed offensive or against the spirit of the forum. Any spamming or illegal activity will not be tolerated. We also reserve the right to block any user who violates these guidelines.

To get started, we welcome you to sign up at our User Management site. Any account created there will have access to these forums, our Wiki, our Ideas site and commenting permission on our Status Blog.
See more
See less
mysterious tgz files in dumps folder Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • mysterious tgz files in dumps folder

    Hi all,

    Recently my domain went down and the problem turned out to be that I had exceeded my 40 GB hard disk space. I thought this was strange because my data on this VPS is only about 15 GB ie nowhere near 40 GB. On further investigation I found that my dumps folder is getting filled up with tgz files and I have no idea where these files are coming from. For example on the date August 21 there are about 100 of these tgz files some of which you can see here:

    Attachment

    If I download and unzip these files they seem to be the files from various content management systems which I don't use on this VPS have never heard of and have not asked to go to my dumps folder.

    Attachment

    Any ideas on where these files are coming from or how I can find out?

    Thanks
    Attached Files
    Last edited by juc1; 2012-09-01, 12:32 PM.

  • #2
    Hope this discussion on Parallels forums helps
    Plesk Backup /var/lib/psa/dumps full - Parallels Forums

    Here's another solution:
    Our hosted server recently ran out of disk space – an awkward situation. A little research revealed that /var/lib contained quite a lot of data – about 33GB more than we were expecting, most of it in /var/lib/psa/dumps/tmp.

    Turns out that this is where Plesk puts its temporary files when doing backups, and for some reason they weren’t getting removed, and in our case, they totalled 33GB. So… first of all we removed them, and then set about making sure the situation didn’t happen again.

    Chris Meller notes that sometimes the permissions on the directory get broken (such as when you restore from a backup), so I made sure that it was owner/group psaadmsaadm and then, just to be sure, added a quick nightly cron job for root that runs the following script to remove any temporary files older than 90 days. Job done.

    #!/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."

    Source: How to save 33GB of disk space (or… Managing Plesk Backups) – Agile software development processes, stories and lessons learnt
    Last edited by suwunk; 2012-09-03, 05:17 AM. Reason: Disable smilies

    Comment


    • #3
      Originally posted by suwunk View Post
      Hope this discussion on Parallels forums helps
      Plesk Backup /var/lib/psa/dumps full - Parallels Forums

      Here's another solution:
      I think that these are more about how to monitor disk usage and delete files but mine is a slightly different question = how to tell where these tgz files are coming from. I have now deleted about 20GB worth of tgz files. It seems strange if there is no log etc to say why or how these files are being generated. Anyway I expect to be migrating to a new VPS soon so I am hoping that this problem will be left behind on the old VPS.

      Thanks

      Comment

      Working...
      X