Skip to content

Job History and container logs indicate backup failure but looks like success in archive #160

@ryang3d

Description

@ryang3d

I have been unable to get a (200-300GB) backup to complete successfully, at least according to the Job History tab and container logs. But when I look at the output from the backup job, it looks like it actually backed everything up.

Aside from the screenshot below and docker container logs (pasted below), I can't quite figure out why it is reporting the job as failed (or if there was an actual failure to be concerned about).

Also, maybe a separate bug, but when I set BORGITORY_DEBUG=true, Borgitory refuses to load, so I can't really use that for debugging....

Job History Screenshot:
Image

Docker Container Logs:

2025-10-26 18:00:04,266 - borgitory.services.jobs.job_manager - INFO - Saving task backup to database - Status: failed, Return Code: 1, Output Lines: 1929416

2025-10-26 18:00:06,595 - borgitory.services.jobs.job_manager - ERROR - Critical task backup failed, stopping job

2025-10-26 18:00:06,595 - borgitory.services.jobs.job_manager - INFO - Saving all tasks to database after critical failure - Job: 8fbf1002-b00b-49bb-a6f8-18c97d3df6fe

2025-10-26 18:00:12,107 - borgitory.services.jobs.job_manager - INFO - Successfully saved all tasks to database after critical failure

2025-10-26 18:00:12,123 - borgitory.services.jobs.job_database_manager - INFO - Updated database job 8fbf1002-b00b-49bb-a6f8-18c97d3df6fe status to failed

2025-10-26 18:01:28,172 - borgitory.services.jobs.job_render_service - INFO - Using database data for completed/failed job 8fbf1002-b00b-49bb-a6f8-18c97d3df6fe

2025-10-26 18:01:32,039 - borgitory.services.jobs.job_render_service - INFO - Using database data for completed/failed job 8fbf1002-b00b-49bb-a6f8-18c97d3df6fe

2025-10-26 18:57:16,676 - borgitory.services.jobs.job_render_service - INFO - Using database data for completed/failed job 8fbf1002-b00b-49bb-a6f8-18c97d3df6fe

2025-10-26 20:26:14,715 - borgitory.services.jobs.job_render_service - INFO - Using database data for completed/failed job 8fbf1002-b00b-49bb-a6f8-18c97d3df6fe

End of Backup Job output:

------------------------------------------------------------------------------
Repository: /mnt/repos/Backups2
Archive name: backup-20251026-175152
Archive fingerprint: d28cab5d4075bed42dee995cf1349cb720c2c5e3c144dce3977cb21b168ce326
Time (start): Sun, 2025-10-26 17:51:52
Time (end):   Mon, 2025-10-27 00:59:09
Duration: 7 hours 7 minutes 17.18 seconds
Number of files: 964568
Utilization of max. archive size: 0%
------------------------------------------------------------------------------
                       Original size      Compressed size    Deduplicated size
This archive:              214.90 GB            102.88 GB             92.43 GB
All archives:              214.90 GB            102.88 GB             92.43 GB
                       Unique chunks         Total chunks
Chunk index:                  619576              1015199
------------------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions