Cpanel::DeveloperResources/ApiRef.MysqlFE::listdbsbackup

This article documents the usage of the Cpanel::DeveloperResources/ApiRef.MysqlFE::listdbsbackup function in relation to the cPanel interface. This tag can be used inside cPanel pages.

Synopsis

Cpanel::DeveloperResources/ApiRef.MysqlFE::listdbsbackup

Description

This function outputs the names of MySQL database backups.

Variables

Input

None

Output

  • db (string)
    • Full name of the MySQL Database. Format: user_dbname
  • strippeddb (string)
    • Short name of the database. Format: dbname

Examples

<?cp DeveloperResources/ApiRef.MysqlFE::listdbsbackup([tr][td][a href=``/getsqlbackup/%.gz'']%[/a][/td][/tr],strippeddb,db) ?>

This example will output a table of MySQL database backups with links to download them.

Copyright

Copyright 2007 cPanel Inc.

Topic revision: r3 - 03 Sep 2009 - 19:06:38 - Main.JustinSchaefer
 

Copyright © cPanel 2000-2010.