Public bug reported:

--verify succeeds only on the most recent version of the full backup.
The md5sum check fails because the filenames in the older .check files
are not updated properly when the full backup versions are renamed.

--verify also fails when older full backups are purged and all
subsequent backups are renamed. The associated .check files also don't
updated accordingly.

For example:
This is a check file when I had 8 full backups and purged full backup
1-7, which renamed full backup 8 to 1:

8f1cd08f7474507751b24d78368f9b32 ./all.801.skipped.gz
5a9c87c7ebba4801c0252b2634d1b33a ./all.801.obsolete.gz
209847ac7775ed5ee54ae714954f2729 ./all.801.list.gz
b1403dd30da8afb4871690aca2c7327e ./all.801.tar.lz
37c91e1872728d15d774fe5778f252a2 ./all.801.new.gz
4b4870721fb61a51a22708520f9a72ba ./all.801.error.gz
88a854a773fe98088ac20fc46058df0d all.1.list.gz

As you can see, 801 did not get renamed to 101.


According to an open bug report upstream, there is a workaround:

"The filenames in the .check file are prepended by ./ while the sed
command in backup2l looks for a leading space. Changed the sed command
in backup2l to 'sed "s/ \.\/$VOLNAME.$SRC/ \.\/$VOLNAME.$DST/"' to fix
the problem."

https://sourceforge.net/tracker/?func=detail&atid=424167&aid=2508322&group_id=39012

However this workaround is not easy to apply because it isn't in a
traditional patch form. There is no indication of a line number of where
this change should be applied.

** Affects: backup2l (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/934203

Title:
  --verify fails on renamed backups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backup2l/+bug/934203/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to