Skip to content

Piitschy/pgrd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgrd

Installation

CLI

go install github.com/Piitschy/pgrd/cmd/pgrd@latest

Server side component

docker pull piitschy/pgrd:0.3.1

Server

Simply add the server to your Docker stack alongside a Postgres instance - you can specify all important configurations through the environment.

A port must be exposed on 3000.

CLI

The CLI uses the open port to transfer data with HTTP methods.

dump

pgrd --host <host> -p <port> -k <key> dump -o <filename>

local dump

pgrd -u <db-user> --pw <db-password> --db <database> -p <port> ldump -o <filename>

restore

pgrd --host <host> -p <port> -k <key> restore -i <filename>

local restore

pgrd -u <db-user> --pw <db-password> --db <database> -p <port> lrestore -i <filename>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published