Description

This function retrieves the most recent backup's URL.

Examples


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$display_link = $cpanel->api1('Cgi', 'backuplink'); // Call the function.

 

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $display_link = $cpliveapi->api1('Cgi', 'backuplink'); # Call the function.

 

<cpanel Module="Cgi::backuplink()">
cpapi1 --user=username Cgi backuplink

/getbackup/backup-example.com-80214.tar.gz

 

Parameters

This function does not accept parameters.

Returns

This function returns the server's most recent backup's URL.