Overwrite gzip file
This commit is contained in:
parent
5e20cfffcc
commit
076c07ff24
@ -94,7 +94,7 @@ class backup_samba4(backup_generic):
|
|||||||
|
|
||||||
# zip the file
|
# zip the file
|
||||||
stats['status']='Zipping'
|
stats['status']='Zipping'
|
||||||
cmd = 'gzip "%s.tisbackup"' % self.db_name
|
cmd = 'gzip -f "%s.tisbackup"' % self.db_name
|
||||||
self.logger.debug('[%s] Compress backup : %s',self.backup_name,cmd)
|
self.logger.debug('[%s] Compress backup : %s',self.backup_name,cmd)
|
||||||
if not self.dry_run:
|
if not self.dry_run:
|
||||||
(error_code,output) = ssh_exec(cmd,ssh=self.ssh)
|
(error_code,output) = ssh_exec(cmd,ssh=self.ssh)
|
||||||
|
Loading…
Reference in New Issue
Block a user