Update restore.sh

This commit is contained in:
batvin321 2025-01-23 15:22:23 -05:00
parent 36bda133c3
commit 171bb8cc7d

View File

@ -4,4 +4,4 @@ mkdir restore
echo "directory of the encrypted tar files" echo "directory of the encrypted tar files"
read dir read dir
cat $dir/backup.tar.gz.enc.* | openssl enc -d --aes256 --in - | tar -xvzpf - -C restore/ cat $dir/backup.tar.xz.enc.* | openssl enc -d --aes256 --in - | tar -xvjpf - -C restore/