summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/hosting/clone/hosting_clone.drush.inc3
-rw-r--r--modules/hosting/migrate/hosting_migrate.drush.inc3
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/hosting/clone/hosting_clone.drush.inc b/modules/hosting/clone/hosting_clone.drush.inc
index 3274f55..7679975 100644
--- a/modules/hosting/clone/hosting_clone.drush.inc
+++ b/modules/hosting/clone/hosting_clone.drush.inc
@@ -61,6 +61,9 @@ function hosting_clone_post_hosting_clone_task($task, $data) {
}
node_save($clone);
+
+ // record the backup created
+ hosting_site_post_hosting_backup_task($task, $data);
}
}
diff --git a/modules/hosting/migrate/hosting_migrate.drush.inc b/modules/hosting/migrate/hosting_migrate.drush.inc
index 05aff29..b2a0858 100644
--- a/modules/hosting/migrate/hosting_migrate.drush.inc
+++ b/modules/hosting/migrate/hosting_migrate.drush.inc
@@ -84,5 +84,8 @@ function hosting_migrate_post_hosting_migrate_task($task, $data) {
$packages = $context['packages'];
hosting_package_sync($packages);
hosting_package_instance_sync($task->ref->nid, $packages);
+
+ // record the backup created
+ hosting_site_post_hosting_backup_task($task, $data);
}
}