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.

Files for bagitup, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size bagitup-0.0.4.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page