{"repo":"sdelements/flan","free":true,"listed":false,"github":"https://github.com/sdelements/flan","clone":"git clone https://github.com/sdelements/flan.git","description":"A tasty tool that lets you save, load and share postgres snapshots with ease","language":"TypeScript","stars":182,"topics":["postgresql","postgres","cli","command-line","git","sql"],"license":"MIT","category":"databases-storage","readme_excerpt":"A tasty tool that lets you save, load and share postgres snapshots with ease. Usage How it works Under the hood flan is a convenient wrapper for pgdump and pgrestore . It uses parallel jobs by default to ensure dumping/restoring your database is quick. Sharing database dumps is achieved by leveraging git . Essentially you push a tag to a repository of your choosing (defined in flan.config.js ) and others can then pull it with flan fetch . We chose to use git because it fits well with our internal tooling and process but we understand it may not be the best solution for you. Pull requests are welcome if you're interested in using S3/Azure/etc as a store 🙂 :warning: WARNING : Please don't use flan in situations where you can't afford data loss. Commands - [ flan autocomplete [SHELL] ](#flan-autocomplete-shell) - flan available - flan delete DELETEFILE - flan fetch FILE - [ flan help [COMMAND] ](#flan-help-command) - flan init - flan list - flan load INPUT - flan publish FILE - flan save OUTPUT - flan unpublish FILE flan autocomplete [SHELL] display autocomplete installation instructions See code: @oclif/plugin-autocomplete flan available lists available dumps See code: src/commands/available.ts flan delete DELETEFILE delete a local database dump See code: src/commands/delete.ts flan fetch FILE fetch specified dump file from a remote repository See code: src/commands/fetch.ts flan help [COMMAND] display help for flan See code: @oclif/plugin-help flan init Initializes flan for t","default_branch":null,"files":null,"tree":[],"storefront":"/r/sdelements","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sdelements/flan/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}