function hosting_site_get_backup in Hosting 6.2
Same name and namespace in other branches
- 5 site/hosting_site.module \hosting_site_get_backup()
- 7.4 site/hosting_site.backups.inc \hosting_site_get_backup()
- 7.3 site/hosting_site.backups.inc \hosting_site_get_backup()
Get a site backup record
2 calls to hosting_site_get_backup()
- drush_hosting_site_pre_hosting_task in site/
hosting_site.drush.inc - Map values of site node into command line arguments
- hosting_task_backup_delete_form in site/
hosting_site.backups.inc - Implements hosting_task_TASK_TYPE_form().
File
- site/
hosting_site.backups.inc, line 41 - 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));
}