Commit 2c09f779 authored by mig5's avatar mig5 Committed by mig5

#1042758 - display filesize of backups

parent 83bcf56d
......@@ -87,6 +87,11 @@ function drush_provision_drupal_provision_backup() {
$command = "tar cpf %s .";
}
$result = drush_shell_exec($command, $backup_file);
// Get the size of the backup
$size = filesize($backup_file);
drush_set_option('backup_file_size', $size);
chdir($olddir);
if (drush_get_option('cloaking_off_temp', FALSE)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment