Skip to content

Retry scheduled backups that fail before starting (network/auth unavailable) #91

Open

Description

@futo-claudio

A scheduled backup that fails before restic even starts (no network, so the backend can't be reached for auth tokens) is marked failed and never retried until the next scheduled run.

Reported by a team member running the k8s deployment: a short network outage at the 07:00 schedule meant DNS lookups for meta.futo.cloud failed (getaddrinfo EAI_AGAIN), log submission timed out, and the run finished 8 seconds later with status: 'failed'. The backup itself was never attempted.

07:00:00 DEBUG [Yucca/TelemetryService] Running backup { repositoryId: '…' }
07:00:05 ERROR [Yucca/YuccaBackend] Failed to submit log
07:00:05 ERROR [Yucca/YuccaBackend] [TypeError: fetch failed] { [cause]: Error: getaddrinfo EAI_AGAIN meta.futo.cloud }
07:00:08 ERROR [Yucca/YuccaBackend] [DOMException [TimeoutError]: The operation was aborted due to timeout]
07:00:08 DEBUG [Yucca/TelemetryService] Finished running schedule … scheduleStatus: [ { status: 'failed' } ]

Expected: transient network/auth failures before the backup starts should be retried with backoff (e.g. a few attempts over the next ~30-60 minutes) instead of skipping the day's backup.

Activity

  1. added
    severity: highFix this/next release: core flow broken or badly misleading, no workaround
    type: reliabilityRobustness: retries, failure handling, state
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    severity: highFix this/next release: core flow broken or badly misleading, no workaroundtype: reliabilityRobustness: retries, failure handling, state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions