Skip to main content

Restic implementation in Python

Project description

Restic implementation in Python

image image

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 --header prints 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


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.2.0.tar.gz (844.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrrhic_restic-0.2.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file pyrrhic-restic-0.2.0.tar.gz.

File metadata

  • Download URL: pyrrhic-restic-0.2.0.tar.gz
  • Upload date:
  • Size: 844.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for pyrrhic-restic-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ead8c4e62b946ae867a66bcf7d61f6f915c2274e7163c01b9b88dd9babeabc78
MD5 2befe42b63573f6c246c458e785fb5f4
BLAKE2b-256 27f2f8843552bf16b869862bdabe0821550c2cddf12f987d8f7d1a52fde185a6

See more details on using hashes here.

File details

Details for the file pyrrhic_restic-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyrrhic_restic-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for pyrrhic_restic-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5c1863a4d55444778e08e6e82890b380879754f3e67695a797a34dfc6823e2c
MD5 d125c113127ed41b6c4de1e2980a6d9e
BLAKE2b-256 6c01912601ab8c73e56ea7c704abae84502ce88b1f982e5202a5a1e8ec683148

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page