Fixed "random" file corruption in multivol restore
authorDaniel Garcia Moreno <danigm@wadobo.com>
Mon, 30 Jun 2014 07:31:03 +0000 (09:31 +0200)
committerDaniel Garcia Moreno <danigm@wadobo.com>
Mon, 30 Jun 2014 07:31:03 +0000 (09:31 +0200)
commit9f9ae8742b20f769e2326d70b61111b2674503bb
tree5e1f2cb052aa3460aac0b14656f0ed232c1b9b0e
parentc9d47a031502a27a01a59e3d9a6ce0941e92a3c4
Fixed "random" file corruption in multivol restore

Files splitted between two volumes were not valid in the restored backup.
The first part was okay but the second part was garbage. The problem was
that we don't set correctly the volume number so the second part always was
from the first tar file.

We were checking member variable, but this variable changes before, so I've
added a new bool variable "ismember" that don't change with member.
deltatar/deltatar.py