Declan FitzPatrick

Results 4 comments of Declan FitzPatrick

The way it is configured is to follow the [default credential providers chain](https://docs.aws.amazon.com/sdkref/latest/guide/standardized-credentials.html#credentialProviderChain) in [s3_common.py](https://github.com/ysde/grafana-backup-tool/blob/1e14e490268209d4b2e0f9c21bbaff9d9cc764e1/grafana_backup/s3_common.py#L5) as long as the access and secret key are not set.

Sorted in #262. Note that [restoring notification policies are not yet supported](https://github.com/ysde/grafana-backup-tool/issues/227#issuecomment-1635461417) and [disabled](https://github.com/ysde/grafana-backup-tool/blob/1e14e490268209d4b2e0f9c21bbaff9d9cc764e1/grafana_backup/restore.py#L100).

For a quick and nasty fix you can edit the run command with `--break-system-packages`, or I've added venv in #262 ```dockerfile RUN pip3 --no-cache-dir install . --break-system-packages ```

[Restoring is done](https://github.com/ysde/grafana-backup-tool?tab=readme-ov-file#restore) by adding a `RESTORE=true` and `ARCHIVE_FILE=202006280247.tar.gz` block to the config map, or however you are loading the environment variables, the [image checks this for this on start...