You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first time incrementalbackup is run there is an exception caused by not reading the json file (which does not exist) in the destination folder. I made the example with Tar. I found the error in the getSetting method of the Tar class
It always ($settings_file) true and at the first time _destination->read goes in exception because the .json file will not be found
<?php/** * Get the backup settings, # of backups and backup unix timestamps. * * @return mixed|object */publicfunctiongetSettings()
{
//$settings_file = $this->_destination->getPath() . DIRECTORY_SEPARATOR . $this->getSettingsFile();$settings_file = $this->_destination->read(DIRECTORY_SEPARATOR . $this->getSettingsFile());
if ($settings_file) {
returnjson_decode($settings_file);
} // first time to backup.else {
return (object)array(
"number" => 0,
"backups" => array()
);
}
}
The text was updated successfully, but these errors were encountered:
The first time incrementalbackup is run there is an exception caused by not reading the json file (which does not exist) in the destination folder. I made the example with Tar. I found the error in the getSetting method of the Tar class
It always ($settings_file) true and at the first time _destination->read goes in exception because the .json file will not be found
The text was updated successfully, but these errors were encountered: