Update restore.sh
This commit is contained in:
parent
346872b8d3
commit
4af3c88046
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "directory of the slpit tar file"
|
||||
mkdir -p restore
|
||||
echo "directory of the encrypted tar files"
|
||||
read dir
|
||||
|
||||
cat $dir/backup.tar.gz.enc.* | openssl enc -d --aes256 --in - | tar -xvzpf -
|
||||
cat $dir/backup.tar.gz.enc.* | openssl enc -d --aes256 --in - | tar -xvzpf - restore/
|
||||
|
Loading…
Reference in New Issue
Block a user