function hosting_site_get_backup in Hosting 5
Same name and namespace in other branches
- 6.2 site/hosting_site.backups.inc \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
1 call 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
File
- site/
hosting_site.module, line 544
Code
function hosting_site_get_backup($bid) {
return db_fetch_array(db_query("SELECT bid, site, web_server, filename, description, timestamp FROM {hosting_site_backups} WHERE bid = %d", $bid));
}