tools.win_pg_dump_controller

Yohn Y. 2022-07-11 Parent:a38a008ce3e8

7:92c88f8fb6c9 Go to Latest

tools.win_pg_dump_controller/win_pg_dump_controller/executor.py

.. import D6

History
     1.1 --- a/win_pg_dump_controller/executor.py	Mon Jun 13 19:14:44 2022 +0300
     1.2 +++ b/win_pg_dump_controller/executor.py	Mon Jul 11 22:36:06 2022 +0300
     1.3 @@ -50,10 +50,12 @@
     1.4  
     1.5      except:
     1.6          stor.remove(backup_item)
     1.7 +        stor.status(False)
     1.8          raise
     1.9  
    1.10      else:
    1.11          stor.add_item(backup_item)
    1.12 +        stor.status(True)
    1.13  
    1.14      cleaned = stor.clean(config.teir1_days, config.tier2_store_days, config.teir2_copies_interval)
    1.15