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 hashes)

Uploaded Source

Built Distribution

pyrrhic_restic-0.6.3-py3-none-any.whl (15.5 kB view hashes)

Uploaded Python 3

Supported by

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