Add an additional description to the backups added during clone/migrate.
node_save($clone);
- // record the backup created
+ // Record the backup created during clone.
+ $task->task_args['description'] = t('Pre-clone backup');
hosting_site_post_hosting_backup_task($task, $data);
}
}
hosting_package_sync($packages);
hosting_package_instance_sync($task->ref->nid, $packages);
- // record the backup created
+ // Record the backup created during migrate.
+ $task->task_args['description'] = t('Pre-migration backup');
hosting_site_post_hosting_backup_task($task, $data);
}
}