Skip to content

Commit 34cc104

Browse files
working & tested multi storage device target
1 parent 5f49ed3 commit 34cc104

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

bacchus.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ export BCS_COMPRESS="$_arg_compress"
1919
export BCS_DECRYPTDIR="$_arg_decryptdir"
2020
export BCS_VERBOSETAR="$_arg_verbosetar"
2121
export BCS_PASSWORD="$password"
22-
# export BCS_LOWDISKSPACE=5230
23-
export BCS_LOWDISKSPACE=1385
22+
export BCS_LOWDISKSPACE=2
2423

2524
PrintOptions()
2625
{

scripts/bacchus-backup-new-volume.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ BCS_DEST=$(<"$BCS_PATHFILE")
1818
while true; do
1919
availablespace=$(df -kP "$BCS_DEST" | awk '{print $4}' | tail -1)
2020
lowspace="$(( BCS_VOLUMESIZE * BCS_LOWDISKSPACE ))"
21-
printf "availablespace %s\n" "$availablespace"
22-
printf "lowspace %s\n" "$lowspace"
2321
if [ "$availablespace" -lt "$lowspace" ]; then
2422
printf "LOW AVAILABLE SPACE on %s (%s < %s)\n" "$BCS_DEST" "$availablespace" "$lowspace"
2523
printf "Either free-up space or swap out storage device and press enter\n"

source/bacchus.m4

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ export BCS_COMPRESS="$_arg_compress"
1919
export BCS_DECRYPTDIR="$_arg_decryptdir"
2020
export BCS_VERBOSETAR="$_arg_verbosetar"
2121
export BCS_PASSWORD="$password"
22-
# export BCS_LOWDISKSPACE=5230
23-
export BCS_LOWDISKSPACE=1385
22+
export BCS_LOWDISKSPACE=2
2423

2524
PrintOptions()
2625
{

0 commit comments

Comments
 (0)