Open michaelwegemer opened 5 years ago
+1 should be great that the file get purge of removed files
This can be done with a small patch on /usr/share/backup-manager/files.sh
, line 370.
Add both lines starting with sed :
# Then actually remove the files
for archive in `cat $list`
do
info "Removing archive \"\$archive\"."
sed_value=`basename $archive`
sed -e "/$sed_value/d" -i "${directory}/`hostname`-hashes.md5"
rm -f $archive
done
rm -f $list
I use incremental backup on Linux. The backup files delete on schedule but the hashes file grows forever. It had entries dating back to 2017. I manually edited and removed entries to February of 2018. The hashes file should have entries removed for files that are deleted.