Skip to main content

Restic implementation in Python

Project description

Restic implementation in Python

image image

Installation

From pip

pipx install pyrrhic-restic

Screenshot

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
  • Resumable restore
  • Progress bar

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.6.3.tar.gz (2.5 MB 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.6.3-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrrhic-restic-0.6.3.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pyrrhic-restic-0.6.3.tar.gz
Algorithm Hash digest
SHA256 2312d7e3003b5e8440d16bf0f4f00dd66fdeb18f40228b37da455b17bd2be08c
MD5 5886f194683be1a5b22e8dbf630b8eef
BLAKE2b-256 760b74c06f43bc7267fa800541ab4f3e0b7354cfd6354f9cf25b7f73eab2fa75

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyrrhic_restic-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a466f7ce92a74cd9a0cf358b6b8ace67cb3f5587ac900ed4f3b0e3a0b57b7462
MD5 ce3e19deaf09e2926d1a3d7c7d59995c
BLAKE2b-256 af5c1663f55318e71f2b13e93229d8e92b61206d78f1eb7413ce6aebfb88698d

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