Backup : Add sync writes.

This commit is contained in:
Dmitry Voronin 2024-01-03 18:43:18 +03:00
parent c2961c4fd7
commit 2fd9c70fd6

View file

@ -47,6 +47,9 @@ cd ${path_docker}
archive_prune Docker 7 archive_prune Docker 7
cd - cd -
# Sync writes.
sync
# Notify completion & size. # Notify completion & size.
bupsize=$(/usr/bin/du -h ${path_docker}/${dow}_*.tgz | awk '{print $1}') bupsize=$(/usr/bin/du -h ${path_docker}/${dow}_*.tgz | awk '{print $1}')
notify_silent "Backup : Complete ${bupsize}." notify_silent "Backup : Complete ${bupsize}."