Skip to main content

bagitup is a Pythob based module that enables you to automatically backup your files and databases to Git

Project description

BagitUp

BagitUp is a Pythob based module that enables you to automatically backup your files and databases to Git

Install

pip install bagitpp

.env file example:

# .env  
git_url="https://username:password@git_repo_url"  
mysql_host="hostname"  
mysql_username="user"  
mysql_pass="pass"  
mysql_dbname="Database Name"  

STEPS

  1. create a new ".env" file inside folder you want to backup (or update existing)
  2. run the command "python -m bagitup -d /folder/to/backup/"
  3. set CRON to automate the process

Basic usage

set environment variables in .env file

python -m bagitup -d /folder/to/backup/

License

MIT licensed. See the LICENSE file for more details.

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

bagitup-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file bagitup-0.0.4.tar.gz.

File metadata

  • Download URL: bagitup-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.3

File hashes

Hashes for bagitup-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f98c69ca1db04d9c6fe5a240e78f0dba99abf5f45f3a883bc6c954bacbb68b4a
MD5 31b1b43c4791a330613649d81c82ed6d
BLAKE2b-256 7ea4f1a5fe828f8bcc0dd5e79bbd3acfaed2670db68c0eb304630ed9fe93f4e6

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