README.md in pg_export-0.5.1 vs README.md in pg_export-0.6.0
- old
+ new
@@ -1,11 +1,10 @@
# PgExport
[](https://badge.fury.io/rb/pg_export)
[](https://travis-ci.org/maicher/pg_export)
[](https://codeclimate.com/github/maicher/pg_export)
-[](https://codeclimate.com/github/maicher/pg_export/coverage)
CLI for creating and exporting PostgreSQL dumps to FTP.
Can be used for backups or synchronizing databases between production and development environments.
@@ -84,21 +83,16 @@
KEEP_DUMPS=5 # default: 10
__Step 4.__ Print the configuration to verify whether env variables has been loaded.
$ pg_export --configuration
- => database:
- keep_dumps: 5
- dump_password: k40***
- ftp_host: yourftp.example.com
- ftp_user: user
- ftp_password: pass***
+ => {:database=>"undefined", :keep_dumps=>10, :dump_encryption_key=>"k4***", :ftp_host=>"yourftp.example.com",
+ :ftp_user=>"user", :ftp_password=>"pass***", :logger_format=>:plain}
__Step 5.__ Try connecting to FTP to verify the connection.
$ pg_export --ftp
=> Connect to yourftp.example.com
- Close FTP
__Step 6.__ Perform database export.
$ pg_export -d your_database
=> Create Dump Tempfile (1.36MB)