Created
August 9, 2021 16:00
-
-
Save artsi0m/a6c80f22d34d21bf6ab3244ff7b98018 to your computer and use it in GitHub Desktop.
Backing up my home partition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e # Errexit | |
set -u # Nounset | |
set -o pipefail | |
dump -0un -f - /home | gzip -9 | age -r \ | |
agekeyusedforfileencryption_https_age-encryption_org_v1 \ | |
> /mnt/backup/home_dump-0.gz.age |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://en.wikipedia.org/wiki/Curve25519
https://cr.yp.to/ecdh.html