Browse Source

[FIX] name of file

pull/620/head
archetipo 9 years ago
committed by Dave Lasley
parent
commit
7188051143
  1. 2
      auto_backup/model/backup_scheduler.py

2
auto_backup/model/backup_scheduler.py

@ -236,7 +236,7 @@ class db_backup(models.Model):
except: except:
raise raise
# Create name for dumpfile. # Create name for dumpfile.
bkp_file = '%s_%s.dimp.zip' % (
bkp_file = '%s_%s.dump.zip' % (
time.strftime('%d_%m_%Y_%H_%M_%S'), time.strftime('%d_%m_%Y_%H_%M_%S'),
rec.name) rec.name)
file_path = os.path.join(rec.bkp_dir, bkp_file) file_path = os.path.join(rec.bkp_dir, bkp_file)

Loading…
Cancel
Save