public function compressBackupDatabase(TempFile $archive = null): TempFile
	{
		$this->check();
		if ($archive === null) {
			$archive = new TempFile('databaze.zip');
		}
		File::zip($this->backupDatabase(), (string) $archive);

		return $archive;
	}