Skip to content

Simple scripts for dumping postgresql database with ordered insert statements

License

Notifications You must be signed in to change notification settings

kabakchey/ordered_pgsql_dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ordered_pgsql_dump

Simple scripts for dumping postgresql database with ordered insert statements

Backup.py

Accepts as first parameter output file name As second parameter file with credentials (see credentials_example.ini)

Default are: database.sql credentials.ini

Restore.py

Accepts as first parameter input file name As second parameter file with credentials (see credentials_example.ini)

Default are: database.sql credentials.ini

NOTICE:

Password can be included into credentials file as "password" parameter. Otherwise following feature is used: http://www.postgresql.org/docs/9.3/static/libpq-pgpass.html ("The password file" feature)

About

Simple scripts for dumping postgresql database with ordered insert statements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages