warn users it may take a while to un/zip backup

This commit is contained in:
Régis Hanol 2016-05-23 09:33:29 +02:00
parent ab5337b79c
commit 8c52508007
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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