Is possible to backup all /var/lib/grafana directory and move it?

Hello,

I tried to backup whole /var/lib/grafana directory and move it to another server. But it doesn’t work. Is there way how to run backup on directory layer?

Thx for your answer in advance!