TurnKey Linux Virtual Appliance Library

Backup larger than expected - Wordpress and TKLBAM

We have been running Turnkey Wordpress for around 1 year and I'm looking to setup TKLBAM for backups and to migrate to a different server.  We have only posted around 20 posts and a few photos of associates, but when I run a similated backup it is saying 1.5 GB before compression.  How can I find why it is so big and what I could do to shrink it?

I've played around with several other backup plugins for Wordpress and my fear is that they are left behind being backed up.

I have also been doing plugin and Wordpress upgrades as well as enabling automatic updates to the Linux system. Are these contributing to the backup size?

I did a search on the /var/www folder and only 15 files are over 1 MB and none that are more than 3 MB.

Jeremy's picture

I suspect that your /etc is chockas

I discovered a huge backup myself on an appliance some time ago. After some investigation I discovered that it was a combination of Webmin keeping it's logs in /etc (which is a bit naughty I think) and the inclusion of etckeeper (which tracks changes in /etc, storing them with git). My solution was to redirect Webmin logs to /var/log (where logs should go IMO) and purge the etckeeper git repo.

Assuming that at least some of your problem comes from a similar issue, have a read of this post. A handy command for locating where all the space is being chewed up is ncdu (needs to be installed first: apt-get update && apt-get install ncdu).

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)