Update restore.sh
This commit is contained in:
parent
c05f2d2110
commit
1f5c9738be
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mkdir -p restore
|
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 - restore/
|
cat $dir/backup.tar.gz.enc.* | openssl enc -d --aes256 --in - | tar -xvzpf - -C restore/
|
||||||
|
Loading…
Reference in New Issue
Block a user