Skip to content
Snippets Groups Projects
Commit 3522a0d8 authored by root's avatar root
Browse files

Add timeout to restore file

parent 38aa64cd
Branches
No related tags found
No related merge requests found
...@@ -37,7 +37,11 @@ export PASSPHRASE="$encpass" ...@@ -37,7 +37,11 @@ export PASSPHRASE="$encpass"
export FTP_PASSWORD="$ftppass" export FTP_PASSWORD="$ftppass"
set -x set -x
/usr/bin/duplicity --verbosity $verbosity $delay --file-to-restore "$restore_path" $remote "$destination_path" /usr/bin/duplicity --verbosity $verbosity \
--timeout $timeout \
$delay \
--file-to-restore "$restore_path" \
$remote "$destination_path"
set +x set +x
unset PASSPHRASE unset PASSPHRASE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment