Skip to content

Initialize on each iteration? #78

@rgaudin

Description

@rgaudin

While we mostly use it as single-backup, the image supports being run for a long time as it records cron jobs.
Long-running containers would initialize the borg repo (using the bitwarden credentials) upon start and just run borgmatic on every job started by cron.

Should borgbase configuration have changed since the start of the container, the borgmatic tasks would keep failing.

This happened with wp1 project where the container ran for 7 weeks but borgbase's target server changed in between. It resulted in container that keeps on launching the same task which always fails because the remote end changed.

Remote: ssh: Could not resolve hostname [box-eu16.borgbase.com](http://box-eu16.borgbase.com/): Name or service not known

As this is a first and it is now recorded in the ticket, let's wait and see if that is a frequent enough issue for us to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions