mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-30 16:50:10 -04:00
FIX: delete PostgreSQL dump before gzipping archive (#4323)
This commit is contained in:
parent
f369d492b3
commit
166d753bd3
1 changed files with 2 additions and 1 deletions
|
@ -257,6 +257,8 @@ module BackupRestore
|
|||
end
|
||||
end
|
||||
|
||||
remove_tmp_directory
|
||||
|
||||
log "Gzipping archive, this may take a while..."
|
||||
`gzip -5 #{tar_filename}`
|
||||
end
|
||||
|
@ -284,7 +286,6 @@ module BackupRestore
|
|||
def clean_up
|
||||
log "Cleaning stuff up..."
|
||||
remove_tar_leftovers
|
||||
remove_tmp_directory
|
||||
unpause_sidekiq
|
||||
disable_readonly_mode if Discourse.readonly_mode?
|
||||
mark_backup_as_not_running
|
||||
|
|
Loading…
Add table
Reference in a new issue