startBackup() public method

public startBackup ( $backup_db = true, $backup_modules = true, $backup_public = true )
 public function postBackup()
 {
     $this->current_time = date("Y-m-d-H-i-s");
     $this->backup_dir = backup_path() . "/backup/";
     $this->backup_file = backup_path() . "/backup_{$this->current_time}.zip";
     $this->restore_file = restore_path() . "/backup_{$this->current_time}.zip";
     $synchronizer = new Synchronize($this);
     $synchronizer->startBackup();
     return Response::download($this->backup_file, "backup_{$this->current_time}.zip");
 }