Very simple backup application intended to be run on cron to allow user-controllable remote backups
Project description
bupper
Simple backup application which allows per-directory backup control by simply including a _BACKUP_THIS file.
How it works
Bupper is very simple: it will recurse through a given directory, looking for a special file indicating that it should be backedup (_BACKUP_THIS), and then it will put that directory into a .tar.gz archive, named after the directory and the current time, and scp it to a given location.
This has few moving parts and works well for a simple household-backup solution, where “whitelisting” a few important directories in your home for backup via transfer to a local network host makes the most sense.
Installation
Assuming Python’s pip is installed (for Debian-based systems, this can be installed with sudo apt-get install python-pip), bupper can be installed directly from PyPI:
pip install bupper
Python versions 3.3+ (and 2.6+) are supported and tested against.
Quick start
Think about how you will configure bupper. The main thing you will want to configure is the --remote flag, which should be remote host and path, or some sort of external storage, that would allow an SSH login:
bupper \ --source '/home/'\ --remote 'backupuser@remote.host:/var/backups/bupper/'
Note: that ‘source’ does not actually back EVERYTHING up in that directory. Instead, it will recursively look for directories that contain a certain filename (_BACKUP_THIS).
Setup bupper with your chosen configuration to run on cron at a regular time (such as daily).
(Optional) Add cron jobs that clean up old backups – this is up to you how you want to do this.
Contributing
New features, tests, and bug fixes are welcome!
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
Built Distribution
Hashes for bupper-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ab757112a1c1b0d1c0fda4b916b1d46d2eb9bc60da8c0d43ba4124f3f46d5dc |
|
MD5 | e81ae3d2ebabb2438192557fd7a4e5b6 |
|
BLAKE2b-256 | 003212a5fce31d6112708ca4cfbe3730841c96578fb5cd8a4a8f3d37ca4716c0 |