Skip to main content

Command line package to get dump databases

Project description

Command line package to get dumps of databases

Install

pip install dumpyme

Usage

1 - Create dumpyfile

dumpy init
Creating dumpyfile...
dumpyfile in your home directory as ~/.dumpyfile.ini

Initial dumpyfile:

initdumpyfile

initdumpyfile

help:

inithelp

inithelp

2 - Add some project in dumpyfile

dumpy add
Project name: my_project
Host of project: 187.111.44.100
User of host: root
Name of database: my_project_db
Database Type (e.g: mongodb, postgresql...): mongodb

Adding in dumpyfile:
        Project: my_project
        Host: 187.111.44.100
        Database: my_project_db
        Database Type: mongodb

help:

addhelp

addhelp

3 - List projects in dumpyfile

dumpy projects
Projects:
========================================
-------> my_project
                host: 187.111.44.100
                db_name: my_project_db
                db mongodb
                user: root
-------> my_project2
                host: 192.191.190.89
                db_name: my_project2_db
                db: mongodb
                user: my_root
-------> project2
                host: 182.182.82.82
                db_name: project2_production
                db: mongodb
                user: riit
========================================

or list name of projects:

dumpy projects --name
Projects:
========================================
        my_project
        my_project2
        project2
========================================

help:

listhelp

listhelp

4 - Get dump of project

dumpy me my_project

help:

dumpymehelp

dumpymehelp

5 - Delete projects in dumpyfile

dumpy delete my_project
Project removed sucessfully
deleteproject

deleteproject

Databases supported

  • MongoDB

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dumpyme-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file dumpyme-0.1.0.tar.gz.

File metadata

  • Download URL: dumpyme-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dumpyme-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b1cf810c06a7634f2b34cf71643dc0eb79e32439d7585396c73aea0dd39269b4
MD5 736458bdc73605866d847025a97c968d
BLAKE2b-256 1bb3657cd5d485487f0a032f9f03bc163c312e8f658d61728fb91f16571ac8d1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page