Skip to content

Commit 06dade9

Browse files
committed
bug fix : #384
1 parent 57e8a6e commit 06dade9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plogical/backupUtilities.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -478,15 +478,15 @@ def BackupRoot(tempStoragePath, backupName, backupPath, metaPath=None):
478478

479479
## shutil.make_archive. Creating final package.
480480

481+
logging.CyberCPLogFileWriter.statusWriter(status, "Preparing final compressed package..\n")
482+
481483
make_archive(os.path.join(backupPath, backupName), 'gztar', tempStoragePath)
482484
rmtree(tempStoragePath)
483485

484486
###
485487

486488
backupObs = Backups.objects.filter(fileName=backupName)
487489

488-
## adding backup data to database.
489-
490490
filePath = '%s/%s.tar.gz' % (backupPath, backupName)
491491
totalSize = '%sMB' % (str(int(os.path.getsize(filePath) / 1048576)))
492492

0 commit comments

Comments
 (0)