{"id":24185383,"url":"https://github.com/tschf/dmdump","last_synced_at":"2025-08-24T12:47:55.317Z","repository":{"id":146715562,"uuid":"60234526","full_name":"tschf/dmdump","owner":"tschf","description":null,"archived":false,"fork":false,"pushed_at":"2016-08-31T12:20:50.000Z","size":8,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-04T00:24:14.517Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tschf.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":"2016-06-02T05:15:24.000Z","updated_at":"2018-01-21T09:22:34.000Z","dependencies_parsed_at":"2024-06-26T15:18:16.610Z","dependency_job_id":null,"html_url":"https://github.com/tschf/dmdump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tschf/dmdump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fdmdump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fdmdump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fdmdump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fdmdump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tschf","download_url":"https://codeload.github.com/tschf/dmdump/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fdmdump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271867758,"owners_count":24836500,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"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":"2025-01-13T11:19:58.543Z","updated_at":"2025-08-24T12:47:55.304Z","avatar_url":"https://github.com/tschf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Database Dump\n\nThis project is designed to use [SQLcl](http://www.oracle.com/technetwork/developer-tools/sqlcl/downloads/index.html) to dump the database objects for the connected SCHEMA to the filesystem.\n\ndmdump requires the [SQLcl](http://www.oracle.com/technetwork/developer-tools/sqlcl/downloads/index.html) bin directory to be in your `PATH`.\n\n### Prerequisites\n- Download and unzip [SQLcl](http://www.oracle.com/technetwork/developer-tools/sqlcl/downloads/index.html).\n- Add the SQLcl bin directory to your `PATH`.\n\n### Install\n- Clone or download dmdump onto your system.\n\n#### Unix\n- Create a symbolic link to the script `dmdump.sh`:\n```bash\nsudo ln -s /opt/dmdump/dmdump.sh /usr/bin/dmdump\n```\n\n#### Windows\n- Add dmdump to your PATH:\n```bat\nSET PATH=%PATH%;C:\\dmdump\\\n```\n\n### Usage\n- Navigate to the desired output directory.\n- Run dmdump as follows:\n```bash\ndmdump {connect_string}\n```\n\n### Arguments\n|Name  | Description             | Example |\n|---            |---                      | ---     |\n| connect_string | The connect string to connect to a database using `sqlcl` on the command line. \u003cbr\u003e**Note:** A password is *required* at this stage. | - hr/hr@//server:port/service_name  \u003cbr /\u003e- hr/hr@//server:port:sid  \u003cbr /\u003e- hr/hr@XE1 |\n\n### Sample Output\n```\n.\n├── function\n│   └── GET_NAMES.sql\n├── index\n│   ├── COUNTRY_C_ID_PK.sql\n│   ├── DEPT_ID_PK.sql\n│   ├── DEPT_LOCATION_IX.sql\n│   ├── EMP_DEPARTMENT_IX.sql\n│   ├── EMP_EMAIL_UK.sql\n│   ├── EMP_EMP_ID_PK.sql\n│   ├── EMP_JOB_IX.sql\n│   ├── EMP_MANAGER_IX.sql\n│   ├── EMP_NAME_IX.sql\n│   ├── JHIST_DEPARTMENT_IX.sql\n│   ├── JHIST_EMP_ID_ST_DATE_PK.sql\n│   ├── JHIST_EMPLOYEE_IX.sql\n│   ├── JHIST_JOB_IX.sql\n│   ├── JOB_ID_PK.sql\n│   ├── LOC_CITY_IX.sql\n│   ├── LOC_COUNTRY_IX.sql\n│   ├── LOC_ID_PK.sql\n│   ├── LOC_STATE_PROVINCE_IX.sql\n│   └── REG_ID_PK.sql\n├── package\n│   ├── FOO.pkb\n│   └── FOO.pks\n├── procedure\n│   ├── ADD_JOB_HISTORY.sql\n│   ├── NAMED_NOTATION_DEMO.sql\n│   └── SECURE_DML.sql\n├── sequence\n│   ├── DEPARTMENTS_SEQ.sql\n│   ├── EMPLOYEES_SEQ.sql\n│   └── LOCATIONS_SEQ.sql\n├── table\n│   ├── COUNTRIES.sql\n│   ├── DEPARTMENTS.sql\n│   ├── EMPLOYEES.sql\n│   ├── JOB_HISTORY.sql\n│   ├── JOBS.sql\n│   ├── LOCATIONS.sql\n│   └── REGIONS.sql\n├── trigger\n│   ├── SECURE_EMPLOYEES.sql\n│   └── UPDATE_JOB_HISTORY.sql\n├── type\n│   └── CL_VARCHAR2_TABLE.sql\n└── view\n    ├── EMP_DETAILS_VIEW.sql\n    └── V_MY_VIEW.sql\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschf%2Fdmdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftschf%2Fdmdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschf%2Fdmdump/lists"}