Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken backup files are not shown in HA #5396

Open
RubenKelevra opened this issue Nov 6, 2024 · 4 comments
Open

Broken backup files are not shown in HA #5396

RubenKelevra opened this issue Nov 6, 2024 · 4 comments
Labels

Comments

@RubenKelevra
Copy link

Describe the issue you are experiencing

I've looked into the supervisor logs, which you do rarely as user and was suprised, that there are multiple broken backup files which never showed up in the Home-Assistant user GUI, but which obviously take up space.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

  1. Create regularly backups
  2. Have the process fail I guess?
  3. Never see those files in the HA GUI, expecting they are cleaned up automatically
  4. Look in the Supervisor logs, to see them listed.

Anything in the Supervisor logs that might be useful for us?

2024-11-06 20:45:48.091 INFO (MainThread) [supervisor.backups.manager] Found 9 backup files
2024-11-06 20:45:48.130 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/e30ce288.tar: unexpected end of data
2024-11-06 20:45:48.130 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/da6f35cb.tar: "filename './backup.json' not found"
2024-11-06 20:45:48.153 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/9cace64e.tar: unexpected end of data
2024-11-06 20:45:48.164 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/b15e96c3.tar: unexpected end of data
2024-11-06 20:45:48.170 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/08f8bd3e.tar: unexpected end of data
2024-11-06 20:45:48.185 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/43aa5630.tar: unexpected end of data
2024-11-06 20:45:48.186 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/204310a2.tar: "filename './backup.json' not found"
2024-11-06 20:45:48.186 ERROR (MainThread) [supervisor.backups.backup] Can't read backup tarfile /data/backup/c951535c.tar: "filename './backup.json' not found"

System Health information

System Information

version core-2024.11.0b1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.31-haos-raspi
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.1
Stage running
Available Repositories 1529
Downloaded Repositories 17
Home Assistant Cloud
logged_in true
subscription_expiration January 1, 2018 at 01:00
relayer_connected false
relayer_region null
remote_enabled false
remote_connected false
alexa_enabled false
google_enabled true
cloud_ice_servers_enabled true
remote_server null
certificate_status null
instance_id 1414e46bc0c246a3907f1c868dee7cfe
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 13.2
update_channel beta
supervisor_version supervisor-2024.11.2
agent_version 1.6.0
docker_version 27.2.0
disk_total 57.8 GB
disk_used 54.4 GB
healthy true
supported failed to load: Unsupported
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.4.1), Grocy (0.22.1), Home Assistant Google Drive Backup (0.112.1), Advanced SSH & Web Terminal (19.0.0), Log Viewer (0.17.1), Dnsmasq (1.8.1), phpMyAdmin (0.10.0), ESPHome (2024.10.2), Epic Games Free (debian-2024-10-23), Portainer (2.23.0), Tor (5.0.1), File editor (5.8.0), AppDaemon (0.16.7), Tailscale (0.23.1), openWakeWord (1.10.0), Piper (1.5.2), Whisper (2.2.0), MQTT IO (0.4.0), Postgres 15 (15.5-7), Castsponsorskip (0.8.0), Zigbee2MQTT (1.41.0-1)
Dashboards
dashboards 6
resources 2
views 26
mode storage
Recorder
oldest_recorder_run August 14, 2024 at 19:07
current_recorder_run November 6, 2024 at 15:29
estimated_db_size 8923.44 MiB
database_engine sqlite
database_version 3.45.3

Supervisor diagnostics

Can't paste them, Github complains: "There was an error creating your Issue: body is too long, body is too long (maximum is 65536 characters)."

Additional information

No response

Copy link

github-actions bot commented Dec 6, 2024

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 6, 2024
@RubenKelevra
Copy link
Author

Hasn't been fixed.

@github-actions github-actions bot removed the stale label Dec 6, 2024
@LinuxUnix80
Copy link

i got the same problem!

grafik

grafik

@RubenKelevra
Copy link
Author

@LinuxUnix80 thanks for confirming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants