commit 880013f04fb60c6f317f731b804b8f223faf8864
Author: Sergey Burladyan <eshkinkot@gmail.com>
Date:   Thu May 10 21:06:18 2012 +0300

    walmgr: fix backup from slave
    
    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.

diff --git a/python/walmgr.py b/python/walmgr.py
index 12f58cb..bafcfdd 100755
--- a/python/walmgr.py
+++ b/python/walmgr.py
@@ -859,7 +859,7 @@ class WalMgr(skytools.DBScript):
                 stop_time = time.localtime()
 
                 # Obtain the last restart point information
-                ctl = PgControlData(self.cf.get("slave_bin", ""), dst, False)
+                ctl = PgControlData(self.cf.get("slave_bin", ""), dst, True)
 
                 # TODO: The newly created backup directory probably still contains
                 # backup_label.old and recovery.conf files. Remove these.
