question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backups Not Purging

See original GitHub issue

I’m having a problem where my backups don’t seem to be purging. I have a bunch of backups that are well past it’s end date. I have even tried using the services tab to auto_backup.purge, but it doesn’t seem to do anything. I don’t get any logs when I run it with debug logs.

When it does run I get this as well as a completed snapshot:

2020-01-02 21:00:00 DEBUG (MainThread) [custom_components.auto_backup] Creating snapshot AutoBackup: Thu, 9:00 PM (02/01/2020) Version: 0.103.5
2020-01-02 21:00:00 DEBUG (MainThread) [custom_components.auto_backup] New snapshot; command: /snapshots/new/partial, keep_days: 2.0, data: {'name': 'AutoBackup: Thu, 9:00 PM (02/01/2020) Version: 0.103.5', 'password': 'redacted', 'addons': ['core_mariadb', 'core_mosquitto', 'a0d7b954_influxdb', 'a0d7b954_grafana'], 'folders': ['homeassistant', 'share', 'ssl', 'addons/local']}
2020-01-02 21:05:01 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /snapshots/new/partial request
2020-01-02 21:05:01 ERROR (MainThread) [custom_components.auto_backup] Error on Hass.io API: : 

Other than that I don’t get any errors whatsoever. It’s properly creating my backups though. I followed your generational backup suggestion, but here are my automatons:

https://hastebin.com/veyerohema.sql

and of course this is what I have in my config file:

auto_backup:
  auto_purge: true

If you need more information I’d be willing to send it your way, but don’t know what to send.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
deluxestylecommented, Jan 5, 2020

@jcwillox great. Thank you. The backup runs without a error. It shows as well that it is monitored. I guess it’s working now. Thanks for all the hard work

0reactions
kflindermancommented, Jan 8, 2020

Seems to be working now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incremental backup not purging when disk space is low
I have an incremental backup I want to purge when there is less than 150 GB of space, ... It will not purge...
Read more >
Windows Server Backup Not Deleting Old Backups - Fixed
Solution 1: Delete old backups manually using wbadmin command. If WSB fails to delete the old backups automatically, you may use wbadmin to...
Read more >
Genie Backup Manager Does Not Purge the Backups
Causes 1 and 2: Manually delete the backups before changing the setting. Cause 3: Purging is not supported when the backup needed to...
Read more >
Fix: Mac Time Machine Not Deleting Old Backups
If your old backups are extremely stubborn, you can manually delete them. Launch Terminal and run the sudo tmutil delete command. Launch Finder, ......
Read more >
How does the Purge option work when archiving backups?
Purge (or "Delete older backup data to free space" in the new UI) is applied to the archive set at the time the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found