[backport] Partition replica versions should not set if actual backup operation fai...

...ls. Otherwise backup data becomes lost.