{"id":21423180,"url":"https://github.com/nelsondev19/postgres-minio-backups","last_synced_at":"2026-04-16T19:35:42.438Z","repository":{"id":263339698,"uuid":"890071628","full_name":"nelsondev19/postgres-minio-backups","owner":"nelsondev19","description":"A Docker to backup your PostgreSQL database to Minio via a cron.","archived":false,"fork":false,"pushed_at":"2024-11-23T10:44:20.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T07:37:26.290Z","etag":null,"topics":["bash-scripting","docker","minio","postgresql","railway-template"],"latest_commit_sha":null,"homepage":"https://railway.app/template/7VQo0T","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nelsondev19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-17T23:31:38.000Z","updated_at":"2025-01-31T06:31:29.000Z","dependencies_parsed_at":"2025-06-07T15:14:26.238Z","dependency_job_id":null,"html_url":"https://github.com/nelsondev19/postgres-minio-backups","commit_stats":null,"previous_names":["nelsondev19/postgres-s3-backups"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/nelsondev19/postgres-minio-backups","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nelsondev19%2Fpostgres-minio-backups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nelsondev19%2Fpostgres-minio-backups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nelsondev19%2Fpostgres-minio-backups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nelsondev19%2Fpostgres-minio-backups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nelsondev19","download_url":"https://codeload.github.com/nelsondev19/postgres-minio-backups/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nelsondev19%2Fpostgres-minio-backups/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31901810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-scripting","docker","minio","postgresql","railway-template"],"created_at":"2024-11-22T21:14:42.490Z","updated_at":"2026-04-16T19:35:42.378Z","avatar_url":"https://github.com/nelsondev19.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Postgres Minio backups\n\nA Docker to backup your PostgreSQL database to Minio via a cron.\n\n## Overview\n\nThe template use Docker and Bash Scripting to dump your PostgreSQL data to a file and then upload the file to Minio.\n\n[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/7VQo0T)\n\n## Configuration\n\n- `MINIO_ENDPOINT` - Minio endpoint. Example: `http://minio:9000`.\n\n- `ACCESS_KEY` - Minio access key.\n\n- `SECRET_KEY` - Minio secret key.\n\n- `MINIO_BUCKET` - Minio bucket. Example `my-bucket`.\n\n- `BACKUP_DATABASE_URL` - The connection string of the database to backup. Example: `\"postgresql://username:password@host:port/database\"`\n\n- `CRON_SCHEDULE` - The cron schedule to run the backup on. Example: `0 5 * * *` the cron runs at 5 AM every day\n\n## Restore data\n\nRestore your data to the target database with pg_restore\n\n```bash\npg_restore -v -d postgres_connection_string filename.bak\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelsondev19%2Fpostgres-minio-backups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnelsondev19%2Fpostgres-minio-backups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelsondev19%2Fpostgres-minio-backups/lists"}