backup-script/restore.sh
2025-01-23 15:22:23 -05:00

8 lines
170 B
Bash

#!/bin/bash
mkdir restore
echo "directory of the encrypted tar files"
read dir
cat $dir/backup.tar.xz.enc.* | openssl enc -d --aes256 --in - | tar -xvjpf - -C restore/