Backup..
This commit is contained in:
parent
831e008e11
commit
0109e1fa3c
6
ppss
6
ppss
@ -1270,11 +1270,11 @@ upload_item () {
|
||||
DIR_ESCAPED="$ITEM_ESCAPED"
|
||||
exec_cmd "mkdir -p $DIR_ESCAPED"
|
||||
|
||||
scp -q $SSH_OPTS $SSH_KEY "$OUTPUT_ITEM"/* $USER@$SSH_SERVER:"$DIR_ESCAPED" 2>/dev/null
|
||||
scp -q $SSH_OPTS $SSH_KEY "$OUTPUT_ITEM"/* $USER@$SSH_SERVER:"$DIR_ESCAPED"
|
||||
ERROR="$?"
|
||||
if [ ! "$ERROR" == "0" ]
|
||||
then
|
||||
log ERROR "Uploading of $OUTPUT_ITEM_ESCAPED via SCP failed."
|
||||
log ERROR "Uploading of $OUTPUT_ITEM via SCP failed."
|
||||
else
|
||||
log DEBUG "Upload of item $OUTPUT_ITEM success"
|
||||
rm -rf ./"$OUTPUT_ITEM"
|
||||
@ -1684,7 +1684,7 @@ commando () {
|
||||
# If part of a cluster, remove the downloaded item after
|
||||
# it has been processed and uploaded as not to fill up disk space.
|
||||
#
|
||||
if [ "$TRANSFER_TO_SLAVE" == "1" ] && [ "1" == "2" ]
|
||||
if [ "$TRANSFER_TO_SLAVE" == "1" ]
|
||||
then
|
||||
if [ -e "$ITEM" ]
|
||||
then
|
||||
|
@ -5,6 +5,7 @@ VERSION="2.57b1"
|
||||
TMP_DIR="ppss"
|
||||
PPSS=./ppss
|
||||
PPSS_DIR=ppss_dir
|
||||
export PPSSDEBUG=1
|
||||
|
||||
cleanup () {
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
\'file-!@#$%^&*()_ +=-0987654321~\'
|
||||
\'file-/\<>?:;'{}[]\'
|
||||
file-/\/\:\/!@#$%^&*()_+=-0987654321~
|
||||
file-42>424>424<2424>424?24<24>24
|
||||
file-/\<>?:;'{}[]
|
||||
http://www.google.nl
|
||||
ftp://storage.nl
|
||||
|
Loading…
Reference in New Issue
Block a user