Closed (fixed)
Project:
Hostmaster (Aegir)
Version:
6.x-0.4-alpha3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
11 May 2011 at 15:17 UTC
Updated:
30 May 2014 at 10:04 UTC
Jump to comment: Most recent
For those of us that like to manage our backups with Hosting Backup GC module, we need to have all the backups being recorded in the hosting_site_backup table. This isn't happening when doing a site clone/migrate. This can be a problem on large sites as these files can be huge.
There is a simple fix, we can add:
// Also record the backup created.
hosting_site_post_hosting_backup_task($task, $data);
To hosting_clone_post_hosting_clone_task and hosting_clone_post_hosting_migrate_task and then the backup file will get added in the front-end.
Comments
Comment #1
anarcat commentedi agree this is an important issue - i'll take a stab at it.
Comment #2
anarcat commentedpatch committed to 2.x, can you test?
http://drupalcode.org/project/hostmaster.git/commitdiff/5ab95f1202db3058...
Comment #3
steven jones commentedYeah, so actually I've had the following code in production for a little while now (on a 1.x base)
So that the backup additionally gets a useful description. Otherwise it works fine.
Comment #4
anarcat commentedSteven, can you commit this to head?
Comment #5
steven jones commentedAdded the follow up to 7.x-2.x, this is working for me in 6.x-1.x branch too.
Comment #6
steven jones commentedPushed into 6.x-1.x too.