backup – How to copy data from Pixel 2 with a broken screen

I failed to connect to my Pixel 2 with a broken screen with adb from MacOS in the following way:

$ cd Downloads/platform-tools/
$ ./adb kill-server
$ ./adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully
$ ./adb shell input text 5233
adb: no devices/emulators found

As soon as, I connect Pixel 2 to my Macbook the Android File Transfer icon only shows up but I can’t connect.

Is there a way to copy files and settings from my phone to my laptop?

Thank you in advance.