public function set_path($path) { $this->custom_path = $path; // Re-calculate the backup path $this->calculate_path(); }