Let the next backup job overwrite the sqldump
This commit is contained in:
parent
fca2be5c5d
commit
f3932132d3
1 changed files with 0 additions and 1 deletions
|
|
@ -36,7 +36,6 @@ namespace :backup do
|
|||
if file.write File.open("/tmp/backup/" + tar_name)
|
||||
puts("event=backup status=success type=mysql")
|
||||
`rm /tmp/backup/#{tar_name}`
|
||||
`rm -rf /tmp/backup/mysql/`
|
||||
|
||||
files = mysql_container.objects
|
||||
files.sort!.pop(NUMBER_OF_DAYS * 24)
|
||||
|
|
|
|||
Loading…
Reference in a new issue