duplicity-backup.sh
duplicity-backup.sh copied to clipboard
Possible misbehaviour of du in get_source_file_size() when using include/exclude globbing filelists
It doesn't seem that the function get_source_file_size()
handles the case when include/exclude globbing filelists are used.
This should be fixed in a future version.
If I may add a request to this one, it would be great if the -l
option could show the size of the backed up files so that one can grep+awk
and check whether there is something that needs shrinking.
Some more info on this issue: the problem is basically that when using include/exclude-filelists with duplicity, there isn't yet an easy way to translate that into something that du
can understand. Thus the script fallback to just applying du
to the ROOT
variable.
Help and patches are welcomed ;)
I guess the patch could also involve #113 as there must be a new way to provide the--exclude/include-filelist
options somehow and from there process the +/-
-es.