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

Backup keeps failing with error #615

Closed
adamhl8 opened this issue Dec 18, 2024 · 3 comments
Closed

Backup keeps failing with error #615

adamhl8 opened this issue Dec 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@adamhl8
Copy link

adamhl8 commented Dec 18, 2024

Not sure if this is an issue with backrest or restic itself. Or it might not be an issue at all and there's something wrong with my setup. But my backup keeps failing with the following error:

[restic] {"message_type":"status","seconds_elapsed":88,"seconds_remaining":5409,"percent_done":0.0160063[tasklog] 10:10:24.283Z error backup for plan "b2" task failed {"error": "failed to backup: command \"/root/backrest/data/restic backup --json /nas/storage -o sftp.args=-oBatchMode=yes --exclude-caches ...\" failed: exit code -1: backup failed\nprocessing command output: no summary event found", "duration": 3366.759678671}

It also seems mostly random. It doesn't seem to be happening at any particular time or with any particular file.

Platform Info

  • OS and Architecture: Ubuntu 24.04 (arm64)
  • Backrest Version: 1.6.2
@adamhl8 adamhl8 added the bug Something isn't working label Dec 18, 2024
@adamhl8
Copy link
Author

adamhl8 commented Dec 18, 2024

Yep it was me :)

I run Backrest in a Proxmox LXC and I only gave it 1GB of RAM. The container was running out of RAM and killing the process.

@adamhl8 adamhl8 closed this as completed Dec 18, 2024
@garethgeorge
Copy link
Owner

Oh funny -- just to check, was backrest the big ram user? I've been pretty careful re: allocations so anything huge is a bug worth reporting! Some spikes in memory usage when restic itself is running a backup are more expected too, but I'd somewhat have expected a backup to complete successfully with 1GB total ram even for a sizable dataset.

@adamhl8
Copy link
Author

adamhl8 commented Dec 18, 2024

Yeah, Backrest is the only thing I have running in that container. When Backrest is idle, the container sits at about ~275MB utilization. Even after starting a backup, memory usage doesn't really budge. However, as soon as it hits new data that it actually needs to backup, memory usage increases by about ~900MB.

image

The total size of my dataset is about ~1.1TB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants