Current version improperly remove needed WAL files when creating backup from slave.
The minimum WAL file is file with REDO record, not with latest checkpoint itself.
stop_time = time.localtime()
# Obtain the last restart point information
- ctl = PgControlData(self.cf.getfile("slave_bin", ""), dst, False)
+ ctl = PgControlData(self.cf.getfile("slave_bin", ""), dst, True)
# TODO: The newly created backup directory probably still contains
# backup_label.old and recovery.conf files. Remove these.