aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEiner von Vielen <tomwie@users.sourceforge.net>2018-01-03 15:59:43 +0100
committerEiner von Vielen <tomwie@users.sourceforge.net>2018-01-03 15:59:43 +0100
commitc0f7b8879da9bc89a8453798fc78e9ed0626a27c (patch)
tree9e74618c192b5a3aa979271860a5c23c7455e641
parent3a347d7a56afbd071b3b4586c99b6338201e8e70 (diff)
downloadvolse-hubzilla-c0f7b8879da9bc89a8453798fc78e9ed0626a27c.tar.gz
volse-hubzilla-c0f7b8879da9bc89a8453798fc78e9ed0626a27c.tar.bz2
volse-hubzilla-c0f7b8879da9bc89a8453798fc78e9ed0626a27c.zip
removed backup to internal disk if no USB is mounted
-rwxr-xr-x.homeinstall/hubzilla-setup.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/.homeinstall/hubzilla-setup.sh b/.homeinstall/hubzilla-setup.sh
index 614938e1d..7322f85ea 100755
--- a/.homeinstall/hubzilla-setup.sh
+++ b/.homeinstall/hubzilla-setup.sh
@@ -710,12 +710,11 @@ echo " fi" >> /var/www/$hubzilladaily
echo "fi" >> /var/www/$hubzilladaily
echo "if [ \$device_mounted == 0 ]" >> /var/www/$hubzilladaily
echo "then" >> /var/www/$hubzilladaily
-echo " echo \"device could not be mounted $backup_device_name. Using internal disk for backup...\"" >> /var/www/$hubzilladaily
-echo " rsnapshot -c $snapshotconfig alpha" >> /var/www/$hubzilladaily
+echo " echo \"device could not be mounted $backup_device_name. No backup written.\"" >> /var/www/$hubzilladaily
echo "fi" >> /var/www/$hubzilladaily
echo "#" >> /var/www/$hubzilladaily
echo "echo \"\$(date) - db size...\"" >> /var/www/$hubzilladaily
-echo "du -h /var/cache/rsnapshot/ | grep mysql/hubzilla" >> /var/www/$hubzilladaily
+echo "#du -h /var/cache/rsnapshot/ | grep mysql/hubzilla" >> /var/www/$hubzilladaily
echo "#" >> /var/www/$hubzilladaily
echo "# update" >> /var/www/$hubzilladaily
echo "echo \"\$(date) - updating dehydrated...\"" >> /var/www/$hubzilladaily