You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ "$(stat -c %i dest1/testfile)"!="$(stat -c %i dest2/testfile)" ];then
92
92
log_error "Error: the filesystem containing $GHE_DATA_DIR does not support hard links.\n Backup Utilities use hard links to store backup data efficiently."1>&2
93
93
exit 1
94
94
fi
@@ -108,13 +108,13 @@ cleanup () {
108
108
progress=$(cat ../in-progress)
109
109
snapshot=$(echo "$progress"| cut -d '' -f 1)
110
110
pid=$(echo "$progress"| cut -d '' -f 2)
111
-
if [ "$snapshot"="$GHE_SNAPSHOT_TIMESTAMP" ] && [ "$$"=$pid ];then
111
+
if [ "$snapshot"="$GHE_SNAPSHOT_TIMESTAMP" ] && [ "$$"="$pid" ];then
112
112
unlink ../in-progress
113
113
fi
114
114
fi
115
115
116
116
rm -rf "$failures_file"
117
-
rm -f ${GHE_DATA_DIR}/in-progress-backup
117
+
rm -f "${GHE_DATA_DIR}/in-progress-backup"
118
118
119
119
# Cleanup SSH multiplexing
120
120
ghe-ssh --clean
@@ -150,11 +150,11 @@ if [ -f ../in-progress ]; then
printf"Available space: %d MB. We recommend allocating at least 5x the amount of storage allocated to the primary GitHub appliance for historical snapshots and growth over time.\n""$((available_space /1024**2))"1>&2
162
+
echo"We recommend allocating at least 5x the amount of storage allocated to the primary GitHub appliance for historical snapshots and growth over time."1>&2
0 commit comments