Skip to main content

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.

Metadata

Release files for bagitup 0.0.4

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

Source distribution (sdist)

Source distribution for bagitup 0.0.4
File Size Uploaded Provenance
bagitup-0.0.4.tar.gz 3.2 kB Without provenance Details

Release files / bagitup-0.0.4.tar.gz

Download URL bagitup-0.0.4.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f98c69ca1db04d9c6fe5a240e78f0dba99abf5f45f3a883bc6c954bacbb68b4a
BLAKE2b-256 checksum
How to use checksums
7ea4f1a5fe828f8bcc0dd5e79bbd3acfaed2670db68c0eb304630ed9fe93f4e6
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for bagitup 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file No provenance

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