{"id":23147227,"url":"https://github.com/guiqft/directus-backup-operation","last_synced_at":"2025-07-14T06:02:13.334Z","repository":{"id":123312511,"uuid":"536780315","full_name":"Guiqft/directus-backup-operation","owner":"Guiqft","description":"Custom operation to backup the PG database and upload the .dump to Directus.","archived":false,"fork":false,"pushed_at":"2023-01-06T23:09:54.000Z","size":501,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T10:23:27.861Z","etag":null,"topics":["backup","directus","directus-extension","directus-extension-operation","hacktoberfest","postgresql"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Guiqft.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":"2022-09-14T22:32:37.000Z","updated_at":"2024-03-29T20:45:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"af688fb5-2758-4fe2-84d1-d3f6a347b60e","html_url":"https://github.com/Guiqft/directus-backup-operation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Guiqft/directus-backup-operation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiqft%2Fdirectus-backup-operation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiqft%2Fdirectus-backup-operation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiqft%2Fdirectus-backup-operation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiqft%2Fdirectus-backup-operation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guiqft","download_url":"https://codeload.github.com/Guiqft/directus-backup-operation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guiqft%2Fdirectus-backup-operation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265248371,"owners_count":23734223,"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","directus","directus-extension","directus-extension-operation","hacktoberfest","postgresql"],"created_at":"2024-12-17T16:51:49.161Z","updated_at":"2025-07-14T06:02:13.311Z","avatar_url":"https://github.com/Guiqft.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Directus Backup Operation\n\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://i.ibb.co/3dLBPqd/image-removebg-preview-4.png\" alt=\"35190391-removebg-preview\" border=\"0\" height=\"180\" width=\"180\"/\u003e\n  \u003cp align=\"center\"\u003e\n    Custom Directus operation to backup Postgres database using \u003ccode\u003epg_dump\u003c/code\u003e and upload the \u003ccode\u003e.dump\u003c/code\u003e file into Directus storage.\n    \u003cbr /\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## Prerequisites\n\nMake sure you have installed the following prerequisites on your Directus machine. \n\n- PostgreSQL Client - [Install PSQL](https://packages.ubuntu.com/bionic/any/postgresql-client). Needs to be installed so Node can spawn `pg_dump` process. If running in Docker, you can check this [example repo](https://github.com/Guiqft/directus-psql-docker-example).\n\n## Usage\n\nClone this project inside your `/extensions/operations` folder, then:\n\n```bash\ncd directus-backup-operation/\n```\n\n```bash\nyarn \u0026\u0026 yarn build\n```\n\n\nAfter activate the extension, you can create a new Directus flow and choose how to trigger the database backup 🚀\n\n## Configuration\n\nYou can choose which folder to upload the database `.dump` file, just type the folder name on operation register. Make sure to type a valid folder name on your Directus storage.\n\n\u003e For now, this extension supports only `local` as Directus storage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiqft%2Fdirectus-backup-operation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguiqft%2Fdirectus-backup-operation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguiqft%2Fdirectus-backup-operation/lists"}