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