projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ferm: drop FREEBSD_SSH_ACCESS
[mirror/dsa-puppet.git]
/
modules
/
roles
/
files
/
postgresql_server
/
pg-backup-file
diff --git
a/modules/roles/files/postgresql_server/pg-backup-file
b/modules/roles/files/postgresql_server/pg-backup-file
index
ce6d098
..
9a432e5
100755
(executable)
--- a/
modules/roles/files/postgresql_server/pg-backup-file
+++ b/
modules/roles/files/postgresql_server/pg-backup-file
@@
-59,7
+59,7
@@
size="`stat -c '%s' "$file"`"
checksum=""
bn="`basename "$file"`"
targetname="$cluster.$what.$bn"
checksum=""
bn="`basename "$file"`"
targetname="$cluster.$what.$bn"
-logtuple_start="($myhost,$targetname,$size
,$checksum
"
+logtuple_start="($myhost,$targetname,$size"
failures=""
for target in $backuphost; do
failures=""
for target in $backuphost; do
@@
-72,7
+72,7
@@
for target in $backuphost; do
ssh -C "$target" $ssh_options -o BatchMode=yes -o ServerAliveInterval=90 $myhost store-file pg "$targetname" "$size" "$checksum" < "$file"
if [ "$?" != 0 ]; then
ssh -C "$target" $ssh_options -o BatchMode=yes -o ServerAliveInterval=90 $myhost store-file pg "$targetname" "$size" "$checksum" < "$file"
if [ "$?" != 0 ]; then
- failures="$failures $logtuple_start,$target)"
+ failures="$failures $logtuple_start,$
checksum,$
target)"
fi
fi
done
fi
fi
done