{"id":23340168,"url":"https://github.com/sierrasoftworks/minback-postgres","last_synced_at":"2025-04-09T23:41:45.593Z","repository":{"id":25719748,"uuid":"104793830","full_name":"SierraSoftworks/minback-postgres","owner":"SierraSoftworks","description":"A container which provides the ability to backup a PostgreSQL database to Minio on demand","archived":false,"fork":false,"pushed_at":"2025-02-25T23:32:21.000Z","size":128,"stargazers_count":20,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T01:35:21.639Z","etag":null,"topics":["backup","docker","minio","postgresql","s3"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SierraSoftworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-09-25T19:37:09.000Z","updated_at":"2025-02-25T23:32:24.000Z","dependencies_parsed_at":"2023-09-29T00:31:44.522Z","dependency_job_id":"a306eb68-87eb-4ffd-8fb0-7061f42fe0d5","html_url":"https://github.com/SierraSoftworks/minback-postgres","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SierraSoftworks%2Fminback-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SierraSoftworks%2Fminback-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SierraSoftworks%2Fminback-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SierraSoftworks%2Fminback-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SierraSoftworks","download_url":"https://codeload.github.com/SierraSoftworks/minback-postgres/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131468,"owners_count":21052819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["backup","docker","minio","postgresql","s3"],"created_at":"2024-12-21T04:19:50.437Z","updated_at":"2025-04-09T23:41:45.572Z","avatar_url":"https://github.com/SierraSoftworks.png","language":"Dockerfile","readme":"# minback-postgres\n**Minio Backup container for PostgreSQL**\n\nThis container provides a trivially simple means to run `pg_dump` and fire the results off\nto a [Minio][] instance. It is intended to be run in conjunction with a [Kubernetes CronJob][]\nto maintain a frequent backup of your critical data with minimal fuss.\n\n## Features\n* Dumps a single PostgreSQL database to an S3 bucket\n* Lightweight and short lived\n* Simple and readable implementation\n\n## Example\n```sh\ndocker run --rm --env-file backup.env minback/postgres my_db -h pgserver1\n```\n\n#### `backup.env`\n```\nMINIO_SERVER=https://play.minio.io/\nMINIO_ACCESS_KEY=minio\nMINIO_SECRET_KEY=miniosecret\nMINIO_BUCKET=backups\n```\n\n## Usage\n```\nDB_NAME [OPTIONS...]\n\nArguments\n  DB_NAME  - The name of the database you wish to backup\n  OPTIONS  - Any additional options you wish to pass to pg_dump\n```\n\n## Configuration\nThis container is configured using environment variables, enabling it to easily be started\nmanually or automatically and integrate well with Kubernetes' configuration framework.\n\n#### `MINIO_SERVER=https://play.minio.io/`\nThe Minio server you wish to send backups to.\n\n#### `MINIO_ACCESS_KEY=minio`\nThe Access Key used to connect to your Minio server.\n\n#### `MINIO_SECRET_KEY=miniosecret`\nThe Secret Key used to connect to your Minio server.\n\n#### `MINIO_BUCKET=backups`\nThe Minio bucket you wish to store your backup in.\n\n### `DATE_FORMAT=+%Y-%m-%d`\nThe date format you would like to use when naming your backup files. Files are named `$DB-$DATE.archive`.\n\n[Kubernetes CronJob]: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/\n[Minio]: https://minio.io/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsierrasoftworks%2Fminback-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsierrasoftworks%2Fminback-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsierrasoftworks%2Fminback-postgres/lists"}