{"id":26934162,"url":"https://github.com/jcoupalk/go-pgdump-cli","last_synced_at":"2026-02-24T19:41:22.969Z","repository":{"id":257353730,"uuid":"851419328","full_name":"JCoupalK/go-pgdump-cli","owner":"JCoupalK","description":"A CLI tool for the go-pgdump library","archived":false,"fork":false,"pushed_at":"2025-01-09T01:59:34.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T02:38:35.319Z","etag":null,"topics":["backup-tool","cli","golang","postgresql"],"latest_commit_sha":null,"homepage":"https://jcoupal.com","language":"Go","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/JCoupalK.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}},"created_at":"2024-09-03T04:14:11.000Z","updated_at":"2024-11-14T17:28:01.000Z","dependencies_parsed_at":"2024-09-16T08:11:06.631Z","dependency_job_id":null,"html_url":"https://github.com/JCoupalK/go-pgdump-cli","commit_stats":null,"previous_names":["jcoupalk/go-pgdump-cli"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCoupalK%2Fgo-pgdump-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCoupalK%2Fgo-pgdump-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCoupalK%2Fgo-pgdump-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCoupalK%2Fgo-pgdump-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JCoupalK","download_url":"https://codeload.github.com/JCoupalK/go-pgdump-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246795244,"owners_count":20835159,"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-tool","cli","golang","postgresql"],"created_at":"2025-04-02T10:24:16.629Z","updated_at":"2025-10-25T09:42:56.712Z","avatar_url":"https://github.com/JCoupalK.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-pgdump-cli\r\n\r\nCLI tool using the library\r\n\r\n## Usage of go-pgdump-cli\r\n\r\n- `-u` string, username for PostgreSQL\r\n\r\n- `-p` string, password for PostgreSQL\r\n\r\n- `-h` string, hostname for PostgreSQL\r\n\r\n- `-d` string, database name for PostgreSQL\r\n\r\n- `-P` string, port number for PostgreSQL (default 5432)\r\n\r\n- `-csv` bool, dump to CSV\r\n\r\n- `-o` string, path to output directory\r\n\r\n- `-px` string, prefix of tablen names for dump\r\n\r\n- `-s` string, schema filter for dump\r\n\r\n- `-sx` string, suffix of tablen names for dump\r\n\r\n### Usage for a database dump with default port in directory called \"test\"\r\n\r\n```bash\r\n./go-pgdump-cli -u user -p example -h localhost -d test -o test -sx example -px test -s myschema\r\n```\r\n\r\n### Usage for a CSV dump with custom port in directory called \"test\"\r\n\r\n```bash\r\n./go-pgdump-cli -u user -p example -h localhost -d test -P 5433 -o test -csv\r\n```\r\n\r\n## License\r\n\r\nThis project is licensed under MIT - see the LICENSE file for details.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcoupalk%2Fgo-pgdump-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcoupalk%2Fgo-pgdump-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcoupalk%2Fgo-pgdump-cli/lists"}