I ran a new container with these variables: RESTIC_REPOSITORY, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, RESTIC_PASSWORD and no cmd set.
This means that (from what I understood), it will just run supervisord and eventually launch the backups.
The first time it tried to do the backup, it failed because restic couldn't find a valid repository.
I had to create another container with the same variables but with the cmd restic init (if I remember correctly).
So, first question: is this normal expected behaviour?
Second question: maybe we can make it into a feature to init the repo if there isn't one (before cron backup)?
I ran a new container with these variables:
RESTIC_REPOSITORY,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,RESTIC_PASSWORDand no cmd set.This means that (from what I understood), it will just run
supervisordand eventually launch the backups.The first time it tried to do the backup, it failed because restic couldn't find a valid repository.
I had to create another container with the same variables but with the cmd
restic init(if I remember correctly).So, first question: is this normal expected behaviour?
Second question: maybe we can make it into a feature to init the repo if there isn't one (before cron backup)?