mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
warn users it may take a while to un/zip backup
This commit is contained in:
parent
ab5337b79c
commit
8c52508007
2 changed files with 3 additions and 3 deletions
|
@ -257,12 +257,12 @@ module BackupRestore
|
|||
end
|
||||
end
|
||||
|
||||
log "Gzipping archive..."
|
||||
log "Gzipping archive, this may take a while..."
|
||||
`gzip -5 #{tar_filename}`
|
||||
end
|
||||
|
||||
def after_create_hook
|
||||
log "Executing the after_create_hook for the backup"
|
||||
log "Executing the after_create_hook for the backup..."
|
||||
backup = Backup.create_from_filename("#{File.basename(@archive_basename)}.tar.gz")
|
||||
backup.after_create_hook
|
||||
end
|
||||
|
|
|
@ -161,7 +161,7 @@ module BackupRestore
|
|||
end
|
||||
|
||||
def unzip_archive
|
||||
log "Unzipping archive..."
|
||||
log "Unzipping archive, this may take a while..."
|
||||
FileUtils.cd(@tmp_directory) { `gzip --decompress '#{@archive_filename}'` }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue