Skip to main content

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

Metadata

Release files for pyrrhic-restic 0.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrrhic-restic 0.6.3
File Size Uploaded
pyrrhic-restic-0.6.3.tar.gz 2.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrrhic-restic 0.6.3
File Interpreter ABI Platform
pyrrhic_restic-0.6.3-py3-none-any.whl Python 3 none any Details

Total release size: 2.5 MB

Release files / pyrrhic-restic-0.6.3.tar.gz

Download URL pyrrhic-restic-0.6.3.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
2312d7e3003b5e8440d16bf0f4f00dd66fdeb18f40228b37da455b17bd2be08c
BLAKE2b-256 checksum
How to use checksums
760b74c06f43bc7267fa800541ab4f3e0b7354cfd6354f9cf25b7f73eab2fa75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / pyrrhic_restic-0.6.3-py3-none-any.whl

Download URL pyrrhic_restic-0.6.3-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a466f7ce92a74cd9a0cf358b6b8ace67cb3f5587ac900ed4f3b0e3a0b57b7462
BLAKE2b-256 checksum
How to use checksums
af5c1663f55318e71f2b13e93229d8e92b61206d78f1eb7413ce6aebfb88698d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.5.1

2 release files

0.4.2

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.0.5

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page