I am using postgresql on an embedded device running yocto (customized linux). The package containing postgresql does not provide psql or pg_restore. /usr/bin provides the following tools:

pg_basebackup indicates that I am able to create backups. But how am I supposed to restore a backup within a terminal? With pg_restore or psql this would not be a problem for me.
Please note: I want to use a backup created on my windows/linux computer to create the initial database on the embedded device.
psqlandpg_restoreare client side tools. You don't need them on the server to restore a backup. If you can connect from your desktop to the Postgres server running on your device, you can restore the dump from your Windows/Linux computer.pg_basebackupis mainly used to bootstrap a second node for replication. There is no equivalent "restore tool for that because it simply creates a copy of the data directory. - a_horse_with_no_namepsqlfrom the place where you downloaded the server software? - a_horse_with_no_name