Skip to main content

# dump_it

Simple tool for easy database dumping(only postgresql is supported yet).

## How to?

  • Clone this repository

git clone https://github.com/DevAlone/dump_it

  • Go to dump_it dir

cd dump_it

  • Create configs

cp default.conf.py.example default.conf.py cp test.conf.py.example test.conf.py

Default config is config with global settings, each of which can be overridden in config for database. Example of config for database is test.conf.py.example. You can create as many configs as many databases you have

  • Create cron rule

sudo crontab -e

` * * * * * PATH_TO_REPOSITORY/dump.py -c PATH_TO_REPOSITORY > /var/log/dump_it.stdout.log 2> /var/log/dump_it.stderr.log `

And don’t forget to change PATH_TO_REPOSITORY to actual path of where you cloned it. So program will be running every minute, getting configs from repository dir and writing logs to /var/log/dump_it.stdout.log and /var/log/dump_it.stderr.log

Happy dumping!

Metadata

Release files for dump-it 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dump-it 0.1
File Interpreter ABI Platform
dump_it-0.1-py3-none-any.whl Python 3 none any Details

Release files / dump_it-0.1-py3-none-any.whl

Download URL dump_it-0.1-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35c61ac7f06d08dd074aaee9148081e777a17459bc9a1266ee9b07a2b95a7926
BLAKE2b-256 checksum
How to use checksums
16f35707522431237045679bf4d2ef2eb9c0ed887f4af47bd6de8625d55b4319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page