From f000a65366a076030dc93ab4aebf6a7ac5a319c7 Mon Sep 17 00:00:00 2001 From: snaki Date: Tue, 31 May 2022 11:59:02 +0200 Subject: [PATCH] added sync syscall --- btrbk | 1 + 1 file changed, 1 insertion(+) diff --git a/btrbk b/btrbk index 860ee82..71c281e 100755 --- a/btrbk +++ b/btrbk @@ -17,6 +17,7 @@ function bkRun { continue else btrfs subvolume snapshot -r ${SUBVOLS[$i]} $SNAPDIR$snapName + sync fi if [[ -d "$snapLast" && $1 = "daily" ]]; then btrfs send -p $snapLast $SNAPDIR$snapName | gpg --batch -er $PUBKEY -o - | rclone rcat $RCLONEDIR$month"-incr/"$snapName.pgp