{"id":18623595,"url":"https://github.com/codica2/postgres-dump-restore","last_synced_at":"2026-06-19T23:32:07.264Z","repository":{"id":98303355,"uuid":"383438051","full_name":"codica2/postgres-dump-restore","owner":"codica2","description":"Bash script for PostgreSQL and MongoDB backup/restore database and copy to S3","archived":false,"fork":false,"pushed_at":"2021-07-06T11:43:38.000Z","size":336,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-06T22:04:42.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/codica2.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":"2021-07-06T11:02:49.000Z","updated_at":"2021-07-06T11:45:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5502c3d-ddc3-4a1e-988b-74255f76f9cf","html_url":"https://github.com/codica2/postgres-dump-restore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codica2/postgres-dump-restore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codica2%2Fpostgres-dump-restore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codica2%2Fpostgres-dump-restore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codica2%2Fpostgres-dump-restore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codica2%2Fpostgres-dump-restore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codica2","download_url":"https://codeload.github.com/codica2/postgres-dump-restore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codica2%2Fpostgres-dump-restore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34552295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-07T04:25:15.132Z","updated_at":"2026-06-19T23:32:07.246Z","avatar_url":"https://github.com/codica2.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash script for PostgreSQL backup/restore database \u0026 copy to S3!\n\n![](pgsql-backup.png)\n\n---\n\n **`main.sh`** - script for backup postgresql database. \n \n **Menu script management for backup and restore. In this control menu, there are 4 options for development:**\n* Backup docker local database\n* Backup RDS database\n* Restore docker local database\n* Restore RDS database\n\n **To install, you need to download scripts and run**\n\n **At startup, the required data is requested**\n  * S3_BUCKET, S3_PATH\n  * AWS_ACCESS_KEY_ID\n  * AWS_SECRET_ACCESS_KEY\n  * AWS_REGION\n  * RDS_HOST\n  * RDS_DB \n  \n **They need to copy the backup to s3, if you want to make a backup just locally - you can just press Enter to skip.**\n## License\nDatabase backup/restore is Copyright © 2015-2021 Codica. It is released under the [MIT License](https://opensource.org/licenses/MIT).\n\n## About Codica\n\n[![Codica logo](https://www.codica.com/assets/images/logo/logo.svg)](https://www.codica.com)\n\nWe love open source software! See [our other projects](https://github.com/codica2) or [hire us](https://www.codica.com/) to design, develop, and grow your product.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodica2%2Fpostgres-dump-restore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodica2%2Fpostgres-dump-restore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodica2%2Fpostgres-dump-restore/lists"}