Backup : Add sync writes.
This commit is contained in:
parent
c2961c4fd7
commit
2fd9c70fd6
|
@ -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}."
|
||||||
|
|
Reference in a new issue