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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page