Backup : Fix size count.
This commit is contained in:
parent
da0f3d43e0
commit
ca8a1e54d2
|
@ -40,7 +40,7 @@ cd -
|
|||
|
||||
# Backup docker.
|
||||
docker=$(archive_fast docker/)
|
||||
bupsize=$(/usr/bin/env du -h ${docker} | awk '{print $1}')
|
||||
bupsize=$(tdu ${docker} | awk '{print $1}')
|
||||
mv ${docker} ${path_docker}/ || report "Backup : Failed to save docker!"
|
||||
|
||||
# Backup some media.
|
||||
|
|
Reference in a new issue