diff --git a/duplicity-backup.sh b/duplicity-backup.sh index fbc3060..1d8a09b 100755 --- a/duplicity-backup.sh +++ b/duplicity-backup.sh @@ -469,6 +469,8 @@ get_source_file_size() { echo "-----------[ Source Disk Use Information ]-----------" >> "${LOGFILE}" + # FIXME: doesn't work properly with include/exclude-filelists (issue #101) + # Patches to support spaces in paths- # Remove space as a field separator temporarily OLDIFS=$IFS @@ -487,6 +489,9 @@ get_source_file_size() ;; esac + # always exclude /proc + DUEXCLIST="/proc\n" + for exclude in "${EXCLIST[@]}"; do DUEXCLIST="${DUEXCLIST}${exclude}\n" done