-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
multi db in the same container #154
Comments
Could you let me know if you specified the config file in envs ? environment:
## Multi backup config file, configuration file
- BACKUP_CONFIG_FILE=/backup/config.yaml Check this: https://jkaninda.github.io/pg-bkup/how-tos/mutli-backup.html#docker-compose-file |
Thanks for the quick response! Yes I did: env:
- name: BACKUP_CONFIG_FILE
value: "/backup/config.yaml" It does backup the data it just doesn't send it to S3. The logs say it is backuping just fine. |
example of logs:
|
Based on the logs. You're not using s3 as storage, nor multi db backup
Issue: The configuration file path is not being detected when it is enclosed in quotes. Solution: Remove the quotes around the file path to ensure it is correctly recognized.
|
fix: the configuration file path is not being detected when it is enclosed in quotes #155 |
The issue resided on how i was invokingthe backup cli. After reviewing my own cronjob and the configs I was able to make it work. Thanks for your amazing work! |
I'm using your solution to backup multiple databases in the same container, but it wasn't clear for me how i configure the S3 for that. I tried using envs and also configuring in the config.yaml file for each database like so:
aws_s3_endpoint: ***
aws_s3_bucket_name: ***
aws_s3_region: ***
aws_s3_access_key: ***
aws_s3_secret_key: ***
The text was updated successfully, but these errors were encountered: