backpack-backup-0.0.3.post1
توضیحات
A tool to sign, encrypt and, backup a file or directory using GPG.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | backpack-backup-0.0.3.post1 |
| نام | backpack-backup |
| نسخه کتابخانه | 0.0.3.post1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | unkwn1 |
| ایمیل نویسنده | unkwn1@tutanota.com |
| آدرس صفحه اصلی | http://gitlab.com/unkwn1/backpack-backup |
| آدرس اینترنتی | https://pypi.org/project/backpack-backup/ |
| مجوز | GPLv3 |
# Backpack.py - Encrypted Backups Made Easy.

> A easy way to backup local data in realtively secure manner
Backpack is a python3 program that backsup local files / directories in a single GPG encrypted file. If the source data is a directory it will be zipped and then encrypted. The encryption is based on a reciepient email address associated with a public key.
[TOC]
## Usage Examples
**My use**: after backing up my laptop to my desktop storage drives I'll run backpack. This compresses the directory whilst adding an extra layer of security. This is not production ready.
### Console script
```python
$ backpack -p ~/Documents/test -d /Volumes/EXT -e jessefogarty@tuta.io
# Output
$ before-backup.zip: encryption ok
$ SUCCESS! Backup File: /Volumes/EXT/before-backup.zip.gpg
```
### Imported backup python function
```python
from backpack.backpack import backup
backup(p, d, e)
```
## Installation Methods
> **Note**: It's important you have they GPG key you want to encrypt your data for already installed to `~/.gnupg`. Later versions will offer to generate if not found.
### Pipx (recommended)
```sh
pipx install backpack-backup
```
### Pip
```sh
pip install Backpack-Backup
```
### Source
```sh
git clone https://gitlab.com/unkwn1/backpack-backup.git
cd backpack-backup
python3 -m pip install -e .
```
### Requirements
* Python 3
* GnuPG
* GPG key created without a passphrase[^nopw]. [(How To)](https://docs.github.com/en/github/authenticating-to-github/generating-a-new-gpg-key)
## Version
* 0.0.3
## TODO
- [ ] Accept passwords to unlock keyring.
- [ ] Generate / Export keys.
- [ ] Create a TUI.
[^nopw]: will be fixed in next release for CLI.
نیازمندی
| مقدار | نام |
|---|---|
| ==0.4.8 | python-gnupg |
| ==1.1.0 | termcolor |
نحوه نصب
نصب پکیج whl backpack-backup-0.0.3.post1:
pip install backpack-backup-0.0.3.post1.whl
نصب پکیج tar.gz backpack-backup-0.0.3.post1:
pip install backpack-backup-0.0.3.post1.tar.gz