{"id":16499461,"url":"https://github.com/tpapp/borgmatic-config-hardcopy","last_synced_at":"2025-06-29T00:38:24.402Z","repository":{"id":43340292,"uuid":"467024155","full_name":"tpapp/borgmatic-config-hardcopy","owner":"tpapp","description":"Print borgmatic configuration and ssh key as a hardcopy (also as QR code)","archived":false,"fork":false,"pushed_at":"2022-12-17T12:32:59.000Z","size":4,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T16:20:09.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-07T09:21:18.000Z","updated_at":"2023-10-31T04:48:57.000Z","dependencies_parsed_at":"2023-01-29T17:15:34.152Z","dependency_job_id":null,"html_url":"https://github.com/tpapp/borgmatic-config-hardcopy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2Fborgmatic-config-hardcopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2Fborgmatic-config-hardcopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2Fborgmatic-config-hardcopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2Fborgmatic-config-hardcopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpapp","download_url":"https://codeload.github.com/tpapp/borgmatic-config-hardcopy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241405079,"owners_count":19957764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T14:53:00.331Z","updated_at":"2025-03-01T18:21:10.099Z","avatar_url":"https://github.com/tpapp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# borgmatic-config-hardcopy\n\nPrint borgmatic configuration and ssh key as a hardcopy (also as QR code), on two pages.\n\n## Disclaimer\n\nI wrote this script for my personal use, to facilitate printing last-ditch physical backup of borg repository information. As stated in the license, there is absolutely no warranty of any kind, use at your own risk. **Always look at the output and test recovery from the QR code**.\n\n## How it works\n\n1. Removes comments from your Borgmatic `config.yaml` (to minify).\n2. Copies your SSH private key.\n3. Compresses the above as a `tar.gz` archive, printed as a QR code.\n4. Formats everything as a two-sided LaTeX document, with minimal recovery instructions.\n\n## Installation\n\nJust clone the repository, and install\n\n1. `bash` and `tar`.\n2. a working `pdflatex`, with packages `geometry`, `underscore`, `verbatim`, `graphicx`, `datetime2` available\n3. `qrencode`\n4. [`yq`](https://mikefarah.github.io/yq/) for stripping comments from YAML\n\nOn a relatively recent Ubuntu/Debian (2021 and later) the following should be sufficient (assuming you have `bash` and `tar`):\n\n```\napt-get install texlive-latex-base texlive-latex-recommended texlive-latex-extra qrencode\nsnap install yq\n```\n\n## Recovery\n\nYou can retype the printed information, or scan the QR code (as binary).\n\n## Similar software\n\nThis particular project is very *specific* (backup borgmatic recovery information) and *lightweight*. More generic alternatives include\n\n1. [paperbackup](https://github.com/intra2net/paperbackup)\n2. [paperkey](https://www.jabberwocky.com/software/paperkey/)\n3. [qr-backup](https://github.com/za3k/qr-backup)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpapp%2Fborgmatic-config-hardcopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpapp%2Fborgmatic-config-hardcopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpapp%2Fborgmatic-config-hardcopy/lists"}