$ya = new YandexBackup('
[email protected]', 'test');
$ya->setName('My Backup');
$ya->setType(YandexBackup::TAR);
$ya->setCompression(true);
$ya->db('user', 'password', 'db');
$ya->folder('/var/www/public_html/');
$ya->backup();
But when i add this line $ya->setCompression(true)
no backup files in my local server and web server.
Please, is it correct code or what's my fault? let me know