From 8ca9ea8d410a9bcf2bcd7417ca7655ba60691fd8 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 25 Mar 2021 09:29:48 -0500 Subject: [PATCH] Update backupify script --- common/bin/backupify | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/bin/backupify b/common/bin/backupify index 2934892..0bc4a07 100755 --- a/common/bin/backupify +++ b/common/bin/backupify @@ -14,6 +14,8 @@ if not test -d $argv[1] end set fn (date +%Y%m%d_%H%M%S)(basename $argv[1]) pushd (dirname $argv[1]) +# TODO: progress bar/status? +echo "Streaming PGP encrypted backup of $argv[1] to host rift via ssh at $dir/$fn$ext..." tar cvf - (basename $argv[1]) 2>/dev/null | zstd --ultra -T2 -22 | gpg --encrypt --recipient daniel@lyte.dev | @@ -21,3 +23,4 @@ tar cvf - (basename $argv[1]) 2>/dev/null | popd # TODO: checksum? echo "Uploaded to host rift via ssh at $dir/$fn$ext" +echo ' Run `unbackupify '$fn$ext'` to restore!'