-
Notifications
You must be signed in to change notification settings - Fork 95
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
Issue with first time use: /mnt/borg-repositor is not a valid repository. Check repo config. #280
Comments
As of now, this command can be used to initialize the repository: # ssh into the container:
# docker exec -it borgmatic bash
# init all repositories
borgmatic init --encryption=repokey-blake2
# or init repository in one folder:
# borg init --encryption repokey-blake2 /mnt/borg-repository
UPD: added borgmatic init |
Will doing this still leave the passphrase to be what is defined in the env variable BORG_PASSPHRASE ? |
I think yes
|
PR #341, when merged, will add this to the README |
This probably happened due to me having zero experience with borg and starting directly on the borgmatic. So I would totally understand if this get disregarded, but I will write it here, so if anyone face this issue in the future, maybe they will find the solution quicker than I did.
The issue was that whenever the cronjob triggered the job failed with that error message. I followed all the steps in the Usage part of the README, but this issue was always appearing. The missed information was that before running the container, the repository directory must be already inited.
I would suggest an addition of this step to the README or even better if the script would init the repository in case it was not inited yet.
Thanks for the awesome tool!
The text was updated successfully, but these errors were encountered: