I am trying to backup Magento files and database backup using System-> Tools -> Backups. Database backup is created fine, but when I try to backup the system files using "System Backup" , it throws an error and not creating backup. This is the error I am getting when I click "System Backup" button.
"An error occurred while creating the backup"
In system.log
2014-01-29T11:57:45+00:00 ERR (3): Notice: Undefined index: httponly in /app/code/local/Mage/Core/Model/Session/Abstract/Varien.php on line 94
2014-01-29T11:57:45+00:00 ERR (3): Notice: Undefined index: secure in /app/code/local/Mage/Core/Model/Session/Abstract/Varien.php on line 96
2014-01-29T11:57:45+00:00 ERR (3): Notice: Undefined index: domain in /app/code/local/Mage/Core/Model/Session/Abstract/Varien.php on line 98
2014-01-29T11:57:49+00:00 DEBUG (7): RecursiveDirectoryIterator::__construct(/public_html): failed to open dir: Permission denied
var/log
. This is the general error message for when the backup fails.Mage::log($e->getMessage());