{"id":16058905,"url":"https://github.com/andyatkinson/devdump","last_synced_at":"2026-06-05T01:31:54.959Z","repository":{"id":21200612,"uuid":"24513091","full_name":"andyatkinson/DevDump","owner":"andyatkinson","description":"Ruby gem to help dump and load DB table data with encryption","archived":false,"fork":false,"pushed_at":"2019-05-29T18:12:48.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T08:45:56.060Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/andyatkinson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-26T19:44:57.000Z","updated_at":"2019-05-29T18:12:49.000Z","dependencies_parsed_at":"2022-07-27T02:01:56.004Z","dependency_job_id":null,"html_url":"https://github.com/andyatkinson/DevDump","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2FDevDump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2FDevDump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2FDevDump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2FDevDump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyatkinson","download_url":"https://codeload.github.com/andyatkinson/DevDump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241404210,"owners_count":19957650,"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":[],"created_at":"2024-10-09T03:41:01.895Z","updated_at":"2025-03-01T17:42:50.172Z","avatar_url":"https://github.com/andyatkinson.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevDump\n\nProvides Rake tasks to dump and restore a PostgreSQL database via an encrypted file, for Ruby on Rails applications.\n\nA good use case for this is when an application is new, and it is appropriate to dump an entire database from production, for use locally in development, to keep 1 or more developers on the same page. As an application grows, it may no longer be feasible or secure to dump the entire database.\n\nAnother use case would be if there was a pre-built, pre-sanitized, subset of the production database created, then in that case the entire database may be dumped and loaded directly for local application development purposes.\n\n## Installation\n\n    gem 'dev_dump'\n\nAnd then execute:\n\n    $ bundle\n\nThis depends on `gpg`, `gunzip` and Ruby on Rails. Install `gpg` on OS X with `brew install gpg`.\n\n## Configuration\n\nAdd `config/initializers/dev_dump.rb` overriding any of the values below.\n\n    DevDump.configure do |config|\n      config.backups_path = \"/tmp/some_dir\"\n      config.ssh_user = \"user\"\n      config.ssh_host = \"host.server.com\"\n    end\n\n## Tasks\n\nRun this task from the app root on production. This dumps the database to an encrypted file. You will be prompted for a passphrase used for gpg encryption.\n\n    rake dev_dump:dump\n\nRun this task on the local machine. This was tested in a bash shell.\n\n    rake dev_dump:download_file[/path/to/file/on/prod]\n\nRun this task on the local machine after the file is downloaded, using the same path. You will be prompted for the passphrase you entered above.\n\n    rake dev_dump:load[/path/to/local/file]\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyatkinson%2Fdevdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyatkinson%2Fdevdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyatkinson%2Fdevdump/lists"}