WordPress.org

Forums

UpdraftPlus Backup and Restoration
[resolved] existing backups > what I set it to retain (10 posts)

  1. spinshock
    Member
    Posted 11 months ago #

    Hi,

    I set the number of backups to retain to be 3, but every week when I check there are more than 3 backups. I have to manually delete the backups otherwise my hosting diskspace runs out quite quickly. What am I setting in correctly?

    thx.

    https://wordpress.org/plugins/updraftplus/

  2. David Anderson
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    Old backups are deleted when a fresh backup successfully completes.

    So, if your old backups aren't being deleted, then fresh backups are not successfully completing.

    Post a log file of a backup, and I can take a look at it. (Use pastebin.com, as it'll be too long for the forum).

    Best wishes,
    David

  3. spinshock
    Member
    Posted 11 months ago #

    Hi David,

    Thanks for reply, please take a look.

    http://pastebin.com/rZcj0Ej0

    This is from 'Download most recently modified log file'

    My latest check today after deleting past backup files. I have 10 backups but only set it to 3.

    Thanks.

  4. David Anderson
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    Thanks. It's an ugly combination of a large backup, over-loaded cheap web hosting, and Google throwing a network error meaning that an upload had to re-start.

    Thankfully, though, it's something that I can see a simple solution to that I think should work. I've made a little tweak to UpdraftPlus to handle this better, and it will be in the next version which is about to be released. So, please upgrade when you see it, and try a fresh backup.

    Best wishes,
    David

  5. spinshock
    Member
    Posted 10 months ago #

    Hi David, thanks for looking into this. I've updated to the latest version (1.9.19) but still running into the same trouble. Still too many backups retained..I've turned off google drive backup to see if it helps.

  6. David Anderson
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    Please can you post the new log file, from the problematic backup?

    David

  7. spinshock
    Member
    Posted 10 months ago #

    Hi David, this is the latest log file, thanks.

    http://pastebin.com/iZuqBsJY

  8. David Anderson
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    That log seems to show a backup still in progress - i.e. not completed, but ongoing. The pruning of old backups doesn't happen until a backup completes. You need to give it more time.

    David

  9. spinshock
    Member
    Posted 10 months ago #

    gotcha, however, at the time there were 13 backups and I had only set the backups to 3. There seems to be a cascading effect

  10. David Anderson
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    It's not cascading. The prune never happens until a backup completes (because you don't want to prune good backups in favour of incomplete ones - safety first). So, that means none of the last 10 backups has completed.

    Anyway - it's 9 hours since you sent the log now, so if you send the new log, that should help...

    David

Reply

You must log in to post.

About this Plugin

  • UpdraftPlus Backup and Restoration
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.