معرفی شرکت ها


backwork-backup-postgresql-0.2.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Backwork plug-in for PostgreSQL backups.
ویژگی مقدار
سیستم عامل -
نام فایل backwork-backup-postgresql-0.2.1
نام backwork-backup-postgresql
نسخه کتابخانه 0.2.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Luiz Aoqui
ایمیل نویسنده laoqui@ca.ibm.com
آدرس صفحه اصلی https://github.com/ibm/backwork-backup-postgresql
آدرس اینترنتی https://pypi.org/project/backwork-backup-postgresql/
مجوز Apache 2
# backwork-backup-postgresql [![Build Status](https://travis-ci.org/IBM/backwork-backup-postgresql.svg?branch=master)](https://travis-ci.org/IBM/backwork-backup-postgresql) [![PyPI version](https://badge.fury.io/py/backwork-backup-postgresql.svg)](https://badge.fury.io/py/backwork-backup-postgresql) Add support for PostgreSQL backups on [`backwork`](https://github.ibm.com/apset/backwork). ## Requirements This plug-in is build on top of [`pg_dump`](https://www.postgresql.org/docs/current/static/app-pgdump.html), so you will need to it installed. `pg_dump` is part of the `postgresql` client. ## Installing You can use `pip` to install this plug-in: ```sh $ pip install backwork-backup-postgresql ``` ## Using After installing the plug-in you will be able to use the `backup mysql` command on `backwork`. ```sh backwork backup postgresql -h usage: backwork backup postgresql [-h] [--gzip] [-o OUTPUT] -P PASSWORD Backup a PostgreSQL database. It uses `pg_dump` so it's required to have it installed and added to the system's PATH. You can use any of the arguments supported by `pg_dump`. Use `pg_dump --help` for more information. optional arguments: -h, --help show this help message and exit --gzip compress output file (requires gzip to be installed) -o OUTPUT, --output OUTPUT output file path -P PASSWORD, --password PASSWORD PostgreSQL connection password ``` You can pass any option that you would normally use on `mysqldump`: ```sh $ backwork backup postgresql -P password --host=192.168.99.1 --username=root --port=32769 --dbname=MY_DATABASE ``` As shown in the `--help` message, there are two extra arguments you can use in your backup process `--gzip` and `-o`. `--gzip` will compress the output and requires the `gzip` command to be available in your system. `-o OUTPUT` or `--output OUTPUT` will save the output of `pg_dump` into a file. **Important:** There is a conflict with the `-h` argument since it is reserved for the help/usage message. User `--host` to pass the hostname.


نحوه نصب


نصب پکیج whl backwork-backup-postgresql-0.2.1:

    pip install backwork-backup-postgresql-0.2.1.whl


نصب پکیج tar.gz backwork-backup-postgresql-0.2.1:

    pip install backwork-backup-postgresql-0.2.1.tar.gz