How to migrate Queries from one redash server to another



I have created a new machine(server), with same old hosts.
Now I need to pull out all sql queries and paste them on newer machine.
its a huge data so I can’t even think of doing it manually.

Could anyone here has something which could direct me towards my goal.