function hosting_site_get_backup in Hostmaster (Aegir) 6
Get a site backup record
2 calls to hosting_site_get_backup()
- drush_hosting_site_pre_hosting_task in modules/
hosting/ site/ hosting_site.drush.inc - Map values of site node into command line arguments
- hosting_task_backup_delete_form in modules/
hosting/ task/ hosting_task.module
File
- modules/
hosting/ site/ hosting_site.backups.inc, line 42 - Site backup functions.
Code
function hosting_site_get_backup($bid) {
return db_fetch_array(db_query("SELECT bid, site, web_server, filename, description, size, timestamp FROM {hosting_site_backups} WHERE bid = %d", $bid));
}