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

Initialize on each iteration? #78

Open
rgaudin opened this issue May 29, 2023 · 0 comments
Open

Initialize on each iteration? #78

rgaudin opened this issue May 29, 2023 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@rgaudin
Copy link
Member

rgaudin commented May 29, 2023

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.

@rgaudin rgaudin added enhancement New feature or request question Further information is requested labels May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant