Restic implementation in Python
Project description
Restic implementation in Python
Installation
From pip
pipx install pyrrhic-restic
Pre-Alpha Relase
All commands are compatible with restic implementation:
pyrrhic --repo restic_test_repositories/restic_test_repository cat masterkey
{'encrypt': 'Te0IPiu0wvEtr2+J59McgTrjCp/ynVxC/mmM9mX/t+E=',
'mac': {'k': 'aSbwRFL8rIOOxL4W+mAW1w==', 'r': 'hQYBDSD/JwpU8XMDIJmAAg=='}}
pyrrhic -r restic_test_repositories/restic_test_repository -p <(echo password) ls latest
/usr
/usr/share
/usr/share/cracklib
/usr/share/cracklib/cracklib-small
/usr/share/cracklib/cracklib.magic
/usr/share/cracklib/pw_dict.hwm
/usr/share/cracklib/pw_dict.pwd
/usr/share/cracklib/pw_dict.pwi
Additional features missing in golang restic implementation
- pretty-print all objects
pyrrhic cat pack SNAPSHOT_ID --headerprints parsed header
Why is it called pyrrhic
Needed a name starting with py containing r and ending with ic:
grep ^py.*r.*ic$ /usr/share/dict/cracklib-small
Limitations
- Supports repository format version 2 only (current restic version).
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
pyrrhic-restic-0.3.0.tar.gz
(845.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrrhic-restic-0.3.0.tar.gz.
File metadata
- Download URL: pyrrhic-restic-0.3.0.tar.gz
- Upload date:
- Size: 845.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c363852caf09c5fc863d2e26f7f54bcd5c5c6fb34a33ebe6060ca621b6481f50
|
|
| MD5 |
1d22fc9a2f957f638c76db654adf94b1
|
|
| BLAKE2b-256 |
8a611719ea69448861364708d8e6b2437f309f966994e858c2d07175bf2d6c38
|
File details
Details for the file pyrrhic_restic-0.3.0-py3-none-any.whl.
File metadata
- Download URL: pyrrhic_restic-0.3.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ced4e79b6d9bcc909fb9aeafced221e8054ffc1017dfb0c5d82f8a3bf7b40471
|
|
| MD5 |
2e979957e9a47cc162263aaa8c926c31
|
|
| BLAKE2b-256 |
54b646669f1add79c14642ca6469c568862a0428715cd5c3eb546fc5ae049b3a
|