{"id":20905785,"url":"https://github.com/el-zedy/dump-restore","last_synced_at":"2026-02-07T05:01:21.636Z","repository":{"id":195482914,"uuid":"692995724","full_name":"El-Zedy/Dump-Restore","owner":"El-Zedy","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-18T06:24:26.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T21:41:29.921Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/El-Zedy.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}},"created_at":"2023-09-18T06:23:15.000Z","updated_at":"2023-09-18T06:25:23.000Z","dependencies_parsed_at":"2023-09-18T07:44:38.602Z","dependency_job_id":null,"html_url":"https://github.com/El-Zedy/Dump-Restore","commit_stats":null,"previous_names":["el-zedy/test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/El-Zedy/Dump-Restore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/El-Zedy%2FDump-Restore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/El-Zedy%2FDump-Restore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/El-Zedy%2FDump-Restore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/El-Zedy%2FDump-Restore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/El-Zedy","download_url":"https://codeload.github.com/El-Zedy/Dump-Restore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/El-Zedy%2FDump-Restore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29186742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T03:35:06.566Z","status":"ssl_error","status_checked_at":"2026-02-07T03:34:57.604Z","response_time":63,"last_error":"SSL_read: 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":[],"created_at":"2024-11-18T13:27:11.552Z","updated_at":"2026-02-07T05:01:21.619Z","avatar_url":"https://github.com/El-Zedy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dump \u0026 Restore :tractor:\n\n### Dump Command:\n    pg_dump --host portals-db-1-0-pg.cmmuo3lde4yu.us-east-1.rds.amazonaws.com(server) --port 5432 --username \"master\"(user) --schema \"practicinglogs\"(scheme name) -Fc  --blobs --verbose --file \"practicinglogs.dump\"(databasename.dump) \"practicinglogs\"(databasename)\n##\n### Restore Command:\n    pg_restore --host \"portals-db-1-0-pg.cmmuo3lde4yu.us-east-1.rds.amazonaws.com\"(server) -U master(user)  -d \"practicinglogs\"(databasename) --schema \"practicinglogs_demo\"(scheme name)  \"practicinglogs.dump\"(the file created in the step before)\n##\n### Steps:\n1. create databases in target by its name in source\n2. users in source should be created in target\n3. ssh into databasemanager2 ec2 and securitygroup should have your ip (the user should be ubuntu not root)\n4. run the commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fel-zedy%2Fdump-restore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fel-zedy%2Fdump-restore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fel-zedy%2Fdump-restore/lists"}