public function restoreBackup($timestamp = NULL)
{
$file = NULL;
if ($timestamp !== NULL) {
if ($this->getFile($timestamp)) {
$file = $this->getFile($timestamp);
}
} else {
$file = $this->getFile($this->getLatestBackup()['unformatted']);
}
return copy($file, $this->env);
}