fix register_existingbackups

fix tmp gzip for pgsqldump
This commit is contained in:
htouvet
2018-02-09 09:55:33 +01:00
parent c29ad67075
commit b082796a87
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -810,7 +810,7 @@ class backup_generic:
def register_existingbackups(self):
"""scan existing backups and insert stats in database"""
registered = [b['backup_location'] for b in self.dbstat.query('select distinct backup_location from stats where backup_name=?',self.backup_name)]
registered = [b['backup_location'] for b in self.dbstat.query('select distinct backup_location from stats where backup_name=?',[self.backup_name])]
raise Exception('Abstract method')
def export_latestbackup(self,destdir):