From f04de1f0ae294cc9aa2496f055633670432e8868 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Thu, 17 May 2018 14:08:21 +0200 Subject: nc-update-nextcloud: make sure backup syncs to disk --- bin/ncp-update-nc | 1 + changelog.md | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc index 8b787c35..7a2256a7 100755 --- a/bin/ncp-update-nc +++ b/bin/ncp-update-nc @@ -88,6 +88,7 @@ echo "Back up current instance..." set +eE ncp-backup "$BKPDIR" "$WITH_DATA" "$COMPRESSED" "$LIMIT" # && false # test point RET=$? +sync set -eE BKP_="$( ls -1t "$BKPDIR"/nextcloud-bkp_*.tar.gz 2>/dev/null | head -1 )" diff --git a/changelog.md b/changelog.md index 59108f17..0aaf3252 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,9 @@ -[v0.56.2](https://github.com/nextcloud/nextcloudpi/commit/550f96a) (2018-05-15) nc-restore: refuse to restore from /var/www/nextcloud +[v0.56.3](https://github.com/nextcloud/nextcloudpi/commit/7086145) (2018-05-17) nc-update-nextcloud: make sure backup syncs to disk -[v0.56.1](https://github.com/nextcloud/nextcloudpi/commit/06f1d5c) (2018-05-15) nc-update-nextcloud: rollback in case of power cut +[v0.56.2](https://github.com/nextcloud/nextcloudpi/commit/5ff8675) (2018-05-15) nc-restore: refuse to restore from /var/www/nextcloud + +[v0.56.1 ](https://github.com/nextcloud/nextcloudpi/commit/06f1d5c) (2018-05-15) nc-update-nextcloud: rollback in case of power cut [v0.56.0 ](https://github.com/nextcloud/nextcloudpi/commit/0248ba3) (2018-05-15) added nc-autoupdate-nc @@ -29,7 +31,7 @@ [v0.54.8 ](https://github.com/nextcloud/nextcloudpi/commit/4224e3c) (2018-05-10) nc-backup: better avoid duplicates -[v0.54.7](https://github.com/nextcloud/nextcloudpi/commit/011671a) (2018-05-10) armbian: fix static IP +[v0.54.7 ](https://github.com/nextcloud/nextcloudpi/commit/011671a) (2018-05-10) armbian: fix static IP [v0.54.6 ](https://github.com/nextcloud/nextcloudpi/commit/008f065) (2018-05-10) nc-notify-updates: fix wrong user -- cgit v1.2.3