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
- create a new ".env" file inside folder you want to backup (or update existing)
- run the command "python -m bagitup -d /folder/to/backup/"
- 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
Release history Release notifications | RSS feed
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 hashes)