src/Collections/App.php
public function backupDatabase(string $path): void
	{
		if (empty($path)) {
			throw new InvalidArgumentException();
		}
		$file = new TempFile(basename($path));
		$this->app->backupDatabase($file);
		$file->move(dirname($path));
	}
public function backupDatabase(string $path): void
	{
		if (empty($path)) {
			throw new InvalidArgumentException();
		}
		$file = new TempFile(basename($path));
		$this->app->backupDatabase($file);
		$file->move(dirname($path));
	}
Zaloha databaze
@param string $path
@throws Exception